Repository navigation
Try APT fallback mirrors sooner in ARMv7 setup - #21206
Merged
Merged
Conversation
zanieb
enabled auto-merge (squash)
August 18, 2026 21:46
carljm
added a commit
to astral-sh/ruff
that referenced
this pull request
Aug 19, 2026
CodSpeed's dependency installation can stall on an unhealthy apt mirror. Apply the mitigation from astral-sh/uv#21206 so apt gives up on failed downloads sooner and can reach its configured fallback mirrors. Immediately before CodSpeed runs, disable apt download retries and set ten-second HTTP and HTTPS timeouts. Apply this to the Ruff instrumented job and the simulation entries in the ty instrumented matrix. Leave build-only, memory-only, and walltime jobs unchanged. This does not change CodSpeed's cache detection. If every configured mirror is unavailable, installation may fail sooner rather than succeed. ## Test plan No new mdtests are needed for this workflow-only change. Validate the workflow's formatting, schema, security checks, and shell syntax. CI exercises the Ruff instrumented job and ty simulation matrix with the new apt configuration.
Contributor
|
Upstream tracking issue: actions/runner-images#14594 |
zanieb
added a commit
that referenced
this pull request
Oct 7, 2026
ARMv7 development builds can stall in `apt-get update` when an Ubuntu mirror fails. The runner image's `zz-retries` configuration loads after the `80-retries` file added by #21206, overriding its zero-retry and ten-second timeout settings. Write those settings to `zz-uv-retries`, which loads after the runner's `zz-retries`, so failed downloads can try the next mirror without an extra retry. Observed in [this CI job](https://github.com/astral-sh/uv/actions/runs/37674299441/job/112974836310). Co-authored-by: Zanie Blue <[email protected]>
This branch was previously deployed
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.
The ARMv7 development build can exhaust its fifteen-minute limit in
apt-get updatewhen the Azure Ubuntu mirror stalls. The main archive can serve the release metadata, but subsequent package-index downloads still try the preferred mirror. The fallback settings added in #21198 only apply to the separate Linux cargo-test runner.Apply the same zero-retry policy and ten-second HTTP connection and data timeouts before updating package indexes and installing the ARMv7 cross-compiler. Preserve the runner's mirror priorities and print the configured fallbacks. Other build jobs and runner selection are unchanged.
Related to astral-sh#542.