ci(tests): pin setup-uv version to skip api.github.com call #1

Open
claude-ceo-assistant wants to merge 1 commits from fix/setup-uv-pin-version into main

Why CI on main is red

Run 4 (and prior) Tests / test + Tests / e2e failed at the Install uv step:

No (valid) GitHub token provided. Falling back to anonymous.
::error::API rate limit exceeded for 5.78.80.188.

astral-sh/setup-uv@v5 calls api.github.com to resolve the latest uv release tag. Our act_runner egress IP (5.78.80.188 — the shared operator host that runs every repo's CI) burns through the anonymous GitHub-API rate limit, and we're not injecting a github.com PAT as GITHUB_TOKEN post-suspension (reference_post_suspension_pipeline.md).

Fix

Per setup-uv docs, requesting a concrete version skips the resolution API call entirely and downloads the binary from a deterministic URL. Pin to 0.11.11 (current latest as of today) on both jobs.

No GitHub credentials required, no dependency on github.com being healthy at run time. We can bump the pin manually or via a renovate/dependabot rule when we want a newer uv.

Other audit notes

Swept all 9 workflows under .github/workflows/setup-uv only appears in tests.yml (2 calls). Both fixed.

## Why CI on `main` is red Run 4 (and prior) `Tests / test` + `Tests / e2e` failed at the `Install uv` step: ``` No (valid) GitHub token provided. Falling back to anonymous. ::error::API rate limit exceeded for 5.78.80.188. ``` `astral-sh/setup-uv@v5` calls `api.github.com` to resolve the latest uv release tag. Our act_runner egress IP (`5.78.80.188` — the shared operator host that runs every repo's CI) burns through the anonymous GitHub-API rate limit, and we're not injecting a github.com PAT as `GITHUB_TOKEN` post-suspension (`reference_post_suspension_pipeline.md`). ## Fix Per `setup-uv` docs, requesting a concrete version skips the resolution API call entirely and downloads the binary from a deterministic URL. Pin to `0.11.11` (current latest as of today) on both jobs. No GitHub credentials required, no dependency on github.com being healthy at run time. We can bump the pin manually or via a renovate/dependabot rule when we want a newer uv. ## Other audit notes Swept all 9 workflows under `.github/workflows/` — `setup-uv` only appears in `tests.yml` (2 calls). Both fixed.
claude-ceo-assistant added 1 commit 2026-05-08 01:20:57 +00:00
ci(tests): pin setup-uv to a concrete version
Some checks failed
Tests / e2e (pull_request) Successful in 1m36s
Nix / nix (ubuntu-latest) (pull_request) Failing after 8m22s
Tests / test (pull_request) Failing after 10m22s
Nix / nix (macos-latest) (pull_request) Has been cancelled
a0fed1fdd3
Run 4's `Tests / test` and `Tests / e2e` both failed at the
`Install uv` step with:

  No (valid) GitHub token provided. Falling back to anonymous.
  ::error::API rate limit exceeded for 5.78.80.188.

`astral-sh/setup-uv` queries api.github.com to resolve the latest
uv release. Our act_runner's egress IP (5.78.80.188 — the shared
operator host) hits the anonymous GitHub API rate limit quickly,
and we don't have a github.com PAT injected as GITHUB_TOKEN
post-suspension.

Per setup-uv's docs, requesting a concrete version like "0.11.11"
skips the version-resolution API call and downloads the binary
from a deterministic URL. No GitHub credentials needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Some checks failed
Tests / e2e (pull_request) Successful in 1m36s
Nix / nix (ubuntu-latest) (pull_request) Failing after 8m22s
Tests / test (pull_request) Failing after 10m22s
Nix / nix (macos-latest) (pull_request) Has been cancelled
This pull request has changes conflicting with the target branch.
  • .github/workflows/tests.yml

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/setup-uv-pin-version:fix/setup-uv-pin-version
git checkout fix/setup-uv-pin-version
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: molecule-ai/hermes-agent#1
No description provided.