fix(ci): pin setup-uv version to bypass anon GitHub API rate limit #8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/setup-uv-version-pin-anon-rate-limit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Both
Tests/testandTests/e2ejobs failing on every push since 2026-05-06:Root cause
astral-sh/setup-uv@v5without an explicitversion:resolves "latest" by callingapi.github.com/repos/astral-sh/uv/releases/latest. The operator host's anonymous IP5.78.80.188is rate-limited at the public 60-req/hr cap because we no longer have a Molecule-AI GitHub PAT post-2026-05-06 org suspension. Across 16 runners, the budget exhausts within minutes; subsequent uv installs fail.Fix
Pin
version: "0.11.11"so setup-uv constructs the release download URL directly:Anonymous GitHub releases CDN downloads are not rate-limited.
Notes
Drops the
.ci-trigger-markerintroduced earlier this session — its job is done.Nix workflow doesn't use setup-uv so its failures (No space left on device during cross-eval) are a separate concern, addressed by the operator-host disk-pressure fixes (Disk #1+#3 crons + RFCs internal#89/#91).
🤖 Generated with Claude Code
Both Tests/test and Tests/e2e jobs were failing with: No (valid) GitHub token provided. Falling back to anonymous. ::error::API rate limit exceeded for 5.78.80.188. ❌ Failure - Main Install uv Root cause: astral-sh/setup-uv@v5 with no `version:` resolves "latest" by calling api.github.com (octokit.repos.getLatestRelease). The operator host's anonymous IP is rate-limited at the public 60-req/hr cap because we no longer have a Molecule-AI GitHub PAT post the 2026-05-06 org suspension. Multiple uv installs across 16 runners exhaust the budget within minutes; subsequent installs fail. Pinning `version: "0.11.11"` makes setup-uv construct the release download URL directly (github.com/astral-sh/uv/releases/download/0.11.11) without an API call. Anonymous GitHub releases CDN downloads are not rate-limited. Same pattern as the prior molecule-core fix during the 2026-05-08 hermes-agent CI investigation; this one pins the tests.yml workflow that the prior fix missed. Drops the .ci-trigger-marker introduced earlier in this session — its job is done. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>LGTM. Pinning setup-uv version bypasses the github.com/octokit getLatestRelease call that was hitting the 60-req/hr anon rate limit on operator IP. Same fix shape as the prior molecule-core CI fix. Drops the trigger marker which has done its job.