Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] WorkflowExecutionAlreadyStartedError should contain runId if provided by server #1838

@mjameswh

Description

@mjameswh

Describe the bug

In most cases, on WorkflowExecutionAlreadyStartedError, the server provides the runId of the already running workflow execution. However, the TS SDK does not currently include that runId in the thrown WorkflowExecutionAlreadyStartedError. It should be.

Misc

The runId is stored as part of the protobuf-encoded error details, which the TS SDK already knows how to decode. Extracting this extra detail should therefore be reasonably easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions