HangfireIO / HangfireIO/Hangfire

Hangfire doesn't log job errors if retry filter is not applied

Open
#480 0 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

Looking at the code I see that errors are logged by AutomaticRetryAttribute. I don't see any connection between logging errors and retry policy, e.g. if my retry policy is don't-retry should I live without logging?

Contributor guide

Open the contributing guide

Research direction

Start with AutomaticRetryAttribute and trace how job errors reach the logging path when the retry filter is absent or configured not to retry. Compare both cases and identify the behavior that should be consistent; done means errors are logged independently of whether a retry policy is applied, with relevant tests covering both configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.