Repository navigation
[ty] Bound apt retries in instrumented CodSpeed jobs - #27894
Merged
Merged
Conversation
ntBre
approved these changes
Aug 19, 2026
|
Contributor
|
Upstream tracking issue: actions/runner-images#14594 |
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.
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.