temporalio / temporalio/temporal
Support waiting for Admitted stage on UpdateWorkflowExecution
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Describe the solution you'd like
When setting UpdateWorkflowExecutionRequest.wait_policy.lifecycle_stage to UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED, the server errors with "Admitted is not implemented". We should support returning once the update is "admitted" (i.e. will not be lost but may not have reached worker yet)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing UpdateWorkflowExecutionRequest.wait_policy.lifecycle_stage through the server's update workflow handling and the existing lifecycle-stage behavior. Confirm how the admitted state is represented and add coverage showing the request returns after admission, before worker delivery, while preserving existing behavior for other stages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100