Repository navigation
Description
What
2026-11-08 09:00–09:30 UTC: GitHub's release CDN served 504s for some objects/PoPs while others recovered. Every job of a rust.yml PR run failed in its setup step — sccache-action downloading sccache-v0.19.0-x86_64-unknown-linux-musl.tar.gz, install-actionlint.sh downloading the actionlint tarball, cargo-deny-action building. Three attempts (initial + 2 reruns) all red while the same URLs were already 200 from a laptop on a different CDN edge. PR #848 sat unmergeable with a locally-green make check.
The setup steps have no retry of their own: sccache-action's internal retry gave up after three attempts inside 40s; the actionlint installer curls once; cargo-deny-action builds once.
Proposal
- Bump
mozilla-actions/sccache-actionif a newer pin retries harder (the pinned fc920bf is on an old release train; upstream added transient-failure handling), and/or - wrap the tarball fetches (
scripts/ci/install-actionlint.shand peers) in the repo's own retry with backoff, so a 60–120s CDN degradation is absorbed instead of failing the gate.
Done when
A simulated 504 on first attempt (e.g. via a pointing-at-a-504ing-URL test of the wrapper) still lets the job succeed on retry, and the rust gate survives a repeat of 2026-11-08's partial outage.
Size: 0.1w. Found while landing PR #848 (reruns 42465219146 attempts 1–3).
Product context (2026-11-26)
Why this matters for the API product: Merge-gate trust. A CDN blip should not block a green API change from merging.
Current state:
rust.ymlno longer usesmozilla-actions/sccache-action. Onlyagent-task.yml:135still does.- Compile jobs use
./.github/actions/ci-tools. It restores tool archives fromactions/cachefirst, so a cache hit needs no network. On a miss it runsscripts/ci/install-tools.py:22-26, which adds curl retries with backoff and a 60s per-attempt cap. - The rust
actionlintjob uses the same action (rust.yml:449), soinstall-actionlint.sh(a single curl, lines 63-65) is no longer on the rust gate's path. - What still has no retry:
EmbarkStudios/cargo-deny-action(cargo-deny, a required check);install-helm.sh:28,install-kind-tools.sh:17,20andinstall-chart-tools.sh:20. These are deploy, kind and helm-lint paths, none of them a required check.
scripts/ci/test_ci_setup.py:39checks that a failed download is bounded and never cached. It does not check that a first-attempt 504 is retried.
Definition of done: If kept open, narrow the scope:
- Add retry, or an equivalent, around
cargo-deny, for example by installing the pinned binary throughci-tools. - Add a unit test proving
install-tools.py's curl invocation retries on a 5xx.
Otherwise close it as done by ce3fd01.
Size: ~0.1 engineer-weeks for the residual.
Activity
ci: cargo-deny installs through ci-tools, so a CDN 504 is retried, an…