fix(ci): retry gates on tenant quota; per-ref concurrency dedupe#221
Merged
Conversation
The shared concurrency group from #219 has GitHub eviction semantics: only one pending job per group is kept, middle jobs are CANCELLED (run 28849318814 + main 09c1dd0) — fatal now that bazel-remote-gates is a required check. Replace with per-ref dedupe + a bounded exit-34 (RESOURCE_EXHAUSTED) retry in bazel-cache-backed.sh, mirroring the tinyland.dev lane's 3-attempt pattern. Other exit codes propagate immediately; GF_BAZEL_QUOTA_RETRIES overrides the bound.
Jesssullivan
enabled auto-merge (squash)
July 7, 2026 07:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#219's repo-wide concurrency group turned quota storms into CANCELLED required checks: GitHub keeps only the newest pending job per group and evicts the middle ones — observed on run 28849318814 (#217 gates) and main's post-#220 run (09c1dd0, gate cancelled → main unverified).
Replacement:
gf-reapi-tenant-gates-${{ github.ref }}, cancel-in-progress) — a newer push supersedes its own stale run only; no cross-PR eviction.scripts/bazel-cache-backed.sh(3 attempts, 75s·n + jitter backoff,GF_BAZEL_QUOTA_RETRIESoverride) — RESOURCE_EXHAUSTED only; every other exit code propagates untouched. Mirrors the tinyland.dev lane's proven 3-attempt pattern (fleet precedent, not drift).Cell quota stays 4 per the 2026-07-07 ruling.