danielgerlag / danielgerlag/workflow-core
How to achieve exponential backoff retry policy
- Dominant language
- C#
- Stars
- 5.9k
- Forks
- 1.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 5
Description
Hi,
I would like to achieve such scenario, that when I have workflow step that failed during the execution, it will get retried with exponential backoff policy?
I would like to apply it for each step in each workflow that I have in my system.
I was thinking about using OnStepError event and changing the SleepUntil property on active ExecutionPointer based on the retries counter.
Is there a better way to achieve such scenario?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the OnStepError event, the active ExecutionPointer and its SleepUntil property, along with how the retries counter is tracked. Determine whether the existing workflow-core APIs support applying an exponential backoff to every step in every workflow. Done should be a documented, agreed approach, since the issue currently asks for guidance rather than naming a specific code change or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100