[maybe] Return workflowStatus in the context so that RPC can avoid using write API
Open
- Dominant language
- Go
- Stars
- 661
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
This will make it easier for implementing RPC, to avoid having to catch the "WorkflowNotExsits" error and call another RPC.
However, when status is running, this cannot guarantee it is still running when the worker is executing the RPC......So may not worth doing this.
Contributor guide
Research direction
Start by tracing the RPC entry point and how workflow status is currently obtained, including the WorkflowNotExsits path and the write API. Determine whether returning workflowStatus in the context can avoid that extra RPC without creating a stale-status assumption. Done means the approach and its behavior for running and missing workflows are clearly defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100