temporalio / temporalio/temporal
More batch reset types
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
Currently only batch reset to first workflow task is useful. In many cases, reset to last workflow task will just complete or fail the workflow. If the activity task fail and we wanted to reset, we should reset to last workflow task -1.
Describe the solution you'd like
Provide more reset types, maybe an offset based on the workflow first/last workflow task. Or by time
Describe alternatives you've considered
NA. No easy workaround
Additional context
NA
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
The issue names no files, tests, or entry points. Start by locating the existing batch reset-to-first-workflow-task behavior and its tests. Clarify whether supported resets should use offsets from the first or last workflow task, time-based positions, or both; done requires agreed semantics and coverage for failed activity-task cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100