Skip to content

Add first_execution_run_id to StartWorkflowExecutionResponse#812

Open
Quinn-With-Two-Ns wants to merge 1 commit into
temporalio:mainfrom
Quinn-With-Two-Ns:issue-8537
Open

Add first_execution_run_id to StartWorkflowExecutionResponse#812
Quinn-With-Two-Ns wants to merge 1 commit into
temporalio:mainfrom
Quinn-With-Two-Ns:issue-8537

Conversation

@Quinn-With-Two-Ns

Copy link
Copy Markdown
Contributor

What changed?
Add FirstExecutionRunID to start response

Why?

closes temporalio/temporal#8537

Today, when SDK gets StartWorkflowExecutionResponse with started as false or WorkflowExecutionAlreadyStartedFailure, it doesn't include the first execution run ID that we can bind successive calls to. It only provides the run ID. If you start a workflow today successfully, SDK uses the run ID as the first execution run ID on successive calls like cancel and signal and such. But if you start a workflow today w/ conflict policy of use existing and it doesn't start, that run ID is not acceptable for first execution run ID.

Server PR
temporalio/temporal#10873

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested review from a team June 29, 2026 04:20
@tconley1428

Copy link
Copy Markdown
Contributor

Interesting first example of the WIT failing CI due to a change. You should regenerate it and we can decide if we want to omit it or not.

@bergundy bergundy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add this to cancel, query and signal RPCs too but this is a good step in the right direction.

@bergundy

Copy link
Copy Markdown
Member

And we need a way to pass in the first execution run ID for more interactions. Not blocking this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add first execution run ID for already-started start workflow results

3 participants