Skip to content

Retry Cargo-Rail release downloads in CI - #435

Merged
Tryanks merged 1 commit into
mainfrom
ci/cargo-rail-install-retry
Sep 14, 2026
Merged

Tryanks merged 1 commit into
mainfrom
ci/cargo-rail-install-retry

Conversation

@Tryanks

@Tryanks Tryanks commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Behaviour

.github/scripts/install_cargo_rail.py downloads the pinned Cargo-Rail archive from GitHub's release CDN with a single urlopen. Three desktop-check jobs failed today before running any Cargo step because that one request errored: a 504 Gateway Time-out on PR #434 (run 34861096526) and an HTTP error on PR #432 (run 34858359289, Linux and Windows). The upstream cargo-rail-action installer already uses curl --retry 3 for the same assets.

The installer now retries the download up to four times with a short growing delay and a 60 s timeout per attempt, and still verifies the pinned SHA-256 after the download. Nothing else changes.

Checks

  • Ran the script locally on macOS arm64 with RUNNER_TEMP/GITHUB_PATH set: it downloads, verifies the checksum and installs cargo-rail 0.25.0.
  • CI on this PR exercises the script on all three desktop runners.

@Tryanks
Tryanks merged commit b3fcc48 into main Sep 14, 2026
6 checks passed
@Tryanks
Tryanks deleted the ci/cargo-rail-install-retry branch September 14, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant