Repository navigation
Retry bazelflare calls for about 40 seconds, not 3 - #8838
Conversation
There was a problem hiding this comment.
Superseded by the review of
bda0ff3a.
This review, of dc7f1c41
✅ Approved — Small, config-only change to bazelflare retry settings with no findings.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
📋 Code reviewer: ✅ LGTM
No issues found.
Reviewed commit: dc7f1c41
A remote call that still fails UNAVAILABLE after Bazel's retries aborts the whole build, even with --keep_going. The default 5 retries, starting at 100 ms and doubling, give up after about 3 s, while a bazelflare shard busy with a burst of actions can refuse calls for longer. Retry 10 times with up to 10 s between attempts, about 40 s in all. Only transient errors such as UNAVAILABLE are retried, so other failures still surface at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dc7f1c4 to
bda0ff3
Compare
There was a problem hiding this comment.
✅ Approved — Small, config-only change to bazelflare retry settings with no findings.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
📋 Code reviewer: ✅ LGTM
No issues found.
Reviewed commit: bda0ff3a
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8838 +/- ##
==========================================
- Coverage 68.05% 67.78% -0.28%
==========================================
Files 848 848
Lines 219731 215532 -4199
Branches 32508 32508
==========================================
- Hits 149536 146091 -3445
+ Misses 50992 50238 -754
Partials 19203 19203 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
A remote call that still fails
UNAVAILABLEafter its retries aborts the whole build, even with--keep_going. Bazel's default 5 retries, from 100 ms doubling, give up after about 3 s. A bazelflare shard that's busy with a burst of actions can refuse calls for longer, and when that happened a CI test run failed outright (//src/workerd/tests:bench-jsstring, Exit 34).This sets
--remote_retries=10 --remote_retry_max_delay=10sfor thebazelflareconfig, which rides out about 40 s. Bazel retries only transient errors such asUNAVAILABLE, so any other failure still surfaces at once.Tested:
bazel info --config=bazelflare --announce_rcshows the new flags applied.🤖 Generated with Claude Code