From daf074aca74da6bc449c4baf7fc6131204ee9292 Mon Sep 17 00:00:00 2001 From: Gajesh Naik <26431906+Gajesh2007@users.noreply.github.com> Date: Fri, 13 Nov 2026 22:17:21 -0800 Subject: [PATCH] CI: give setup-uv a pinned one-entry manifest instead of fetching 1.5 MB #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 --- .github/actions/setup/action.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 472405bfa7..58440e9d21 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -88,16 +88,23 @@ runs: :: Export to all steps. >>%GITHUB_ENV% set - # setup-uv aborts its download after about five seconds. Behind a Darkbloom - # sandbox's egress proxy the connection sometimes takes longer (two Mac jobs - # on 2026-11-14 failed this way), and a native job has no hosted fallback. - # Only when the first try failed, wait and try once more. + # setup-uv fetches its 1.5 MB version manifest (raw.githubusercontent.com) + # with a 5-second limit. Through a Darkbloom sandbox's egress proxy that takes + # about 3.3 seconds when it works, and some hosts failed twice in a row on + # 2026-11-14; a native job has no hosted fallback. So pin uv and hand setup-uv + # a one-entry manifest inline (data: URL, nothing to fetch). The archive still + # comes from the Astral mirror, with the tool cache's own retries, and must + # match this SHA-256 (the official manifest's, 2026-11-12). Bump all three + # together. Only when the first try failed, wait and try once more. - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 id: setup-uv continue-on-error: true with: enable-cache: false quiet: true + version: 0.13.8 + checksum: 6b71028a6b904f2ae3340ef52e595512de807d06c0a20eaef2f692581b246558 + manifest-file: data:application/x-ndjson;base64,eyJ2ZXJzaW9uIjoiMC4xMy44IiwiZGF0ZSI6IjIwMjYtMTEtMTJUMTc6MDM6MDdaIiwiYXJ0aWZhY3RzIjpbeyJwbGF0Zm9ybSI6ImFhcmNoNjQtYXBwbGUtZGFyd2luIiwidmFyaWFudCI6ImRlZmF1bHQiLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYXN0cmFsLXNoL3V2L3JlbGVhc2VzL2Rvd25sb2FkLzAuMTMuOC91di1hYXJjaDY0LWFwcGxlLWRhcndpbi50YXIuZ3oiLCJhcmNoaXZlX2Zvcm1hdCI6InRhci5neiIsInNoYTI1NiI6IjZiNzEwMjhhNmI5MDRmMmFlMzM0MGVmNTJlNTk1NTEyZGU4MDdkMDZjMGEyMGVhZWYyZjY5MjU4MWIyNDY1NTgifV19Cg== - name: Wait before the second uv setup if: steps.setup-uv.outcome == 'failure' @@ -109,6 +116,9 @@ runs: with: enable-cache: false quiet: true + version: 0.13.8 + checksum: 6b71028a6b904f2ae3340ef52e595512de807d06c0a20eaef2f692581b246558 + manifest-file: data:application/x-ndjson;base64,eyJ2ZXJzaW9uIjoiMC4xMy44IiwiZGF0ZSI6IjIwMjYtMTEtMTJUMTc6MDM6MDdaIiwiYXJ0aWZhY3RzIjpbeyJwbGF0Zm9ybSI6ImFhcmNoNjQtYXBwbGUtZGFyd2luIiwidmFyaWFudCI6ImRlZmF1bHQiLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYXN0cmFsLXNoL3V2L3JlbGVhc2VzL2Rvd25sb2FkLzAuMTMuOC91di1hYXJjaDY0LWFwcGxlLWRhcndpbi50YXIuZ3oiLCJhcmNoaXZlX2Zvcm1hdCI6InRhci5neiIsInNoYTI1NiI6IjZiNzEwMjhhNmI5MDRmMmFlMzM0MGVmNTJlNTk1NTEyZGU4MDdkMDZjMGEyMGVhZWYyZjY5MjU4MWIyNDY1NTgifV19Cg== # The organization blocks hendrikmuhs/ccache-action. The next three steps # do the same work with Homebrew and actions/cache. They run on macOS only.