Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion temporalio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5412,7 +5412,7 @@ async def start_workflow_update(
client=self._client,
id=req.request.meta.update_id,
workflow_id=input.id,
workflow_run_id=input.run_id,
workflow_run_id=resp.update_ref.workflow_execution.run_id,
result_type=input.ret_type,
)
if resp.HasField("outcome"):
Expand Down
2 changes: 2 additions & 0 deletions tests/worker/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -4590,6 +4590,8 @@ async def test_workflow_update_separate_handle(
wait_for_stage=WorkflowUpdateStage.ACCEPTED,
)

assert update_handle_1.workflow_run_id == handle.first_execution_run_id

# Create another handle and have them both wait for update complete
update_handle_2 = client.get_workflow_handle(
handle.id, run_id=handle.result_run_id
Expand Down
Loading