temporalio / temporalio/features
[Feature Request] Call ResetStickyTaskQueue on worker shutdown
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 32
- Forks
- 28
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
When a worker shuts down, it should send a ResetStickyTaskQueue request to server so it can reset it and allow server to put the
next workflow task on the "normal" task queue.
Bonus points if this can also be done on forceful shutdown (SIGKILL, SIGTERM)
Contributor guide
No contributing guide indexed for this repository
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 locating the worker shutdown path and the client/server handling for ResetStickyTaskQueue. Trace how normal shutdown is signaled, then check whether the requested behavior can also be exercised for SIGTERM or other forceful shutdown cases. Done means the server receives the reset request during supported shutdown paths and the next workflow task can use the normal task queue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100