temporalio / temporalio/features

RestartWorkflow on workflow task failure

Open
#417 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
32
Forks
28
Avg merge
1d 9h
Merged PRs (30d)
7

Description

Is your feature request related to a problem? Please describe.
I have a few workflows where we make a lot of small changes, causing the workflows to encounter non-deterministic panics. These workflows are usually finite-state machines, so it is usually ok to restart (ideally with the signal replay).

Describe the solution you'd like
Want to have a new PanicPolicy option called RestartWorkflow, if this option is selected, the workflow will be restarted from the beginning when a non-deterministic error happens (ideally with signal replay).

Describe alternatives you've considered
Tried to make versioning work, but there are so many small changes, that it would be impossible to maintain the codebase with a lot of versions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating PanicPolicy handling and the workflow-task failure path in the Temporal compatibility tests; define restart behavior, including signal replay, and add coverage for the new policy.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.