Skip to content

Add RetryJob for retrying jobs with backoff#291

Merged
svenwltr merged 1 commit intomainfrom
add-retry-job
Mar 3, 2026
Merged

Add RetryJob for retrying jobs with backoff#291
svenwltr merged 1 commit intomainfrom
add-retry-job

Conversation

@svenwltr
Copy link
Copy Markdown
Member

@svenwltr svenwltr commented Mar 2, 2026

This allows retrying a Job inside a DistributedRepeat loop while still
holding the distributed lock, avoiding the scheduling issues caused by
wrapping the entire worker with Retry.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

@svenwltr svenwltr self-assigned this Mar 2, 2026
This allows retrying a Job inside a DistributedRepeat loop while still
holding the distributed lock, avoiding the scheduling issues caused by
wrapping the entire worker with Retry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@svenwltr
Copy link
Copy Markdown
Member Author

svenwltr commented Mar 2, 2026

This is not an ideal solution, since it is possible to re-introduce the bug by defining the retry at the wrong place.

@svenwltr svenwltr marked this pull request as ready for review March 2, 2026 12:59
@svenwltr svenwltr requested a review from a team as a code owner March 2, 2026 12:59
@svenwltr svenwltr merged commit 710d0c8 into main Mar 3, 2026
1 check passed
@svenwltr svenwltr deleted the add-retry-job branch March 3, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants