HangfireIO / HangfireIO/Hangfire

Requeue of failed jobs

Open
#278 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

I have a recurring job scheduled every half hour. When it fails I have found that I can go to the "Failed Jobs" and requeue the job, and if it succeeds it cleans up the "Failed Job". This is a nice feature, but I wish it would do the following for recurring jobs:
- When I have multiple failures for the same recurring job ID, and I requeue one of the failures and it succeeds, clean up all other failures
- When I have a recurring job fail and then a later scheduled run executes and succeeds, clean up the failures

When a recurring job fails and then later succeeds should it clean up any prior failures?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the recurring-job failure and requeue flows behind the “Failed Jobs” view. Done means deciding and implementing whether a successful requeue or later scheduled run removes all prior failures for the same recurring job, with coverage for both scenarios.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.