Repository navigation
CI: give setup-uv a pinned one-entry manifest instead of fetching 1.5 MB - #67
Merged
Merged
Conversation
#64's retry ran on main c8109cf and both tries failed the same way: setup-uv fetches its 1.5 MB version manifest from raw.githubusercontent.com with a 5-second limit, and through a Darkbloom sandbox's egress proxy that takes about 3.3 s when it works and over 5 s on slower hosts, so a retry 20 s later fails too. Pin uv 0.13.8 and pass setup-uv a one-entry manifest inline as a data: URL (nothing to fetch), with the archive's SHA-256 from the official manifest as the checksum (the Astral mirror serves exactly that archive). The archive download keeps the tool cache's own retries and no 5-second limit; the retry-once step stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gajesh2007
marked this pull request as ready for review
November 14, 2026 06:36
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.
Problem
#64's retry ran on main
c8109cf(build-wheel) and both tries failed the same way, 20 s apart:setup-uv v8.2.0 fetches its 1.5 MB version manifest (
raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson) with a hard 5-secondAbortSignalthat also covers the body. Through a Darkbloom sandbox's egress proxy:Change
uvto 0.13.8, the current latest (2026-11-12).data:URL. It contains just theaarch64-apple-darwinartifact from the official manifest, so nothing is fetched. The setup action runs only in the macOS jobs.checksumto the official manifest's SHA-256 for that archive (6b71028a…). I verified that the Astral mirror serves exactly that archive (14,375,545 bytes).@actions/tool-cache's own retries and has no 5-second limit. The retry-once step from CI: retry the uv setup once when its download times out #64 stays.Checks
fetch(undici, which setup-uv uses) reads thedata:URL. Per the Fetch standard,data:URLs are resolved without the network or proxy dispatcher.🤖 Generated with Claude Code