Skip to content

Release-asset tool installs fail fleet-wide during brief GitHub release outages #444

Closed

Description

@kyle-sexton

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:

  1. 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 300 never engages and a multi-minute outage window is never outlasted. The curl 56 failures are worse: curl's default --retry classification only treats timeouts and HTTP 408/429/5xx as transient, so a connection that dies mid-body is not retried by --retry at all (the "tried 5 times" in the log is curl's internal same-instant connection-reuse retry, not a backoff).
  2. Only ShellCheck caches its verified asset. .github/actions/shellcheck (and the shared ShellCheck install inside the actionlint action) persist the verified tarball via actions/cache (hygiene: cache or pin the ShellCheck install — tarball downloaded every run (~53s) #156), so warm-cache jobs never touch the network. The other seven install-release.sh consumers (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-errors covers the observed curl 56 class).
  • Extend the existing verified-asset cache pattern (ASSET_CACHE_DIR + actions/cache, prior art in the shellcheck action) to every install-release.sh consumer, 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.

Activity

  1. added
    needs-triage
    on Aug 12, 2026
  2. added a commit that references this issue on Aug 12, 2026
    cd8a574
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions