Skip to content

fix(prover-client): increment retry count on timeout re-enqueue to prevent infinite loop#22355

Open
spypsy wants to merge 1 commit intomerge-train/spartanfrom
spyros/a-715-audit-35-timed-out-proving-jobs-re-enqueue-without
Open

fix(prover-client): increment retry count on timeout re-enqueue to prevent infinite loop#22355
spypsy wants to merge 1 commit intomerge-train/spartanfrom
spyros/a-715-audit-35-timed-out-proving-jobs-re-enqueue-without

Conversation

@spypsy
Copy link
Copy Markdown
Member

@spypsy spypsy commented Apr 7, 2026

Summary

  • Timed-out proving jobs in ProvingBroker.reEnqueueExpiredJobs() were being re-enqueued without incrementing the retry count or checking maxRetries, creating an infinite retry loop for jobs that consistently time out.
  • Now the timeout path increments the retry counter and rejects jobs that exceed maxRetries, matching the behavior of the error retry path in #reportProvingJobError.

Fixes A-715

@spypsy spypsy marked this pull request as ready for review April 7, 2026 10:36
@spypsy spypsy force-pushed the spyros/a-715-audit-35-timed-out-proving-jobs-re-enqueue-without branch from 6d96e65 to 2208dee Compare April 7, 2026 11:35
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.

1 participant