Bodhi updates fixes#3090
Conversation
From 5 retries to 8, to handle better transient errors/race conditions. This should result in ~13 min retry window instead of ~1.5 (after 3s, 6, 12, 24, 48, 96, 192, 384).
There was a problem hiding this comment.
Code Review
This pull request increases the maximum retries for Bodhi tasks to 8 and integrates Sentry error reporting when those retries are exhausted. Feedback was provided regarding the placement of the Sentry reporting call inside a loop, which could lead to redundant reports for a single task. Additionally, there is a risk that the worker could crash due to a missing Sentry SDK dependency, potentially masking the original exception and preventing further error-handling logic from executing.
|
Build succeeded. ✔️ pre-commit SUCCESS in 1m 51s |
|
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 1m 50s |
No description provided.