HangfireIO / HangfireIO/Hangfire
Add `JobContinuationOptions.OnlyOnFailedState`
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
Please add `JobContinuationOptions.OnlyOnFailedState`.
I want to be able to perform some action when parent job failed (after n retries).
```
BackgroundJob.ContinueJobWith(string parentId, Action action, JobContinuationOptions.OnlyOnFailedState)
```
Could be also named `ContinueFailedJobWith`
Contributor guide
Research direction
Start by locating JobContinuationOptions and the ContinueJobWith entry point named in the issue, then inspect how continuation states and retries are handled. Confirm the intended behavior for a parent that ultimately fails, including the proposed API name, and add coverage showing that the continuation runs only after final failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100