Repository navigation
Closed
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Description
Problem
On 2026-08-12, a ~15-minute GitHub release-asset outage reddened unrelated PRs across the whole fleet at once. Every checksum-pinned tool install that downloads a releases/download asset with curl failed while fetching its tooling:
curl: (22) The requested URL returned error: 503 (typos, gitleaks)
curl: (56) Connection died, tried 5 times before giving up (yq, shellcheck, actionlint)
Two gaps make a brief upstream blip fatal:
- Retries are burst-tight. The shared budget is
--retry 2 --retry-max-time 300: with curl's exponential backoff that is three attempts inside ~3 seconds, so--retry-max-time 300never engages and a multi-minute outage window is never outlasted. The curl 56 failures are worse: curl's default--retryclassification only treats timeouts and HTTP 408/429/5xx as transient, so a connection that dies mid-body is not retried by--retryat all (the "tried 5 times" in the log is curl's internal same-instant connection-reuse retry, not a backoff). - Only ShellCheck caches its verified asset.
.github/actions/shellcheck(and the shared ShellCheck install inside the actionlint action) persist the verified tarball viaactions/cache(hygiene: cache or pin the ShellCheck install — tarball downloaded every run (~53s) #156), so warm-cache jobs never touch the network. The other seveninstall-release.shconsumers (actionlint's own asset, typos, gitleaks, editorconfig-checker, lefthook, lychee, shfmt) and the workflow-embedded installs (yq, zizmor, golangci-lint, osv-scanner) re-download on every job.
Fix
- Widen the release-asset retry budget so it actually spans an outage window:
--retry 8 --retry-all-errors --retry-max-time 300(nine attempts under exponential backoff, ~4–5 minutes end to end;--retry-all-errorscovers the observed curl 56 class). - Extend the existing verified-asset cache pattern (
ASSET_CACHE_DIR+actions/cache, prior art in the shellcheck action) to everyinstall-release.shconsumer, so a warm-pin job never depends on release-asset availability at all. The SHA-256 pin remains the gate: a cached asset is re-verified on restore and re-downloaded on mismatch. - No install becomes tolerate-on-failure: gitleaks is a secret scanner and shellcheck a merge gate — silently skipping them is worse than a red check.
Metadata
Metadata
Assignees
Labels
needs-triageNot yet classified. Floor until a type and one priority tier are set.
Type
Fields
No fields configured for issues without a type.
Activity
fix(actions): ride out release-asset outages instead of failing the f…
refactor: dissolve comments that restate code or narrate history