Skip to content

[BUG] Missing nil check for opts in js/compiler/pool/executeWithRuntime #7248

@wooffie

Description

@wooffie

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

Missed nil check for setting opts.ExecutionId -

runtime.SetContextValue("executionId", opts.ExecutionId)

Before always checked opts, so I think it can be nil

Expected Behavior

Checking for nil

Steps To Reproduce

Create run without opts

Relevant log output

Environment

Current dev branch

Anything else?

If opts cannot be nil remove another checks...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AbandonedThis issue is no longer important to the requestor and no one else has shown an interest in it.Status: StaleThis issue/PR has been inactive for a while and may be closed soon if no further activity occType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions