Skip to content

fix(actions): pin the uv release every setup-uv step installs and disclose it - #50

Merged
using-system merged 1 commit into
mainfrom
fix/pin-uv
Sep 19, 2026
Merged

using-system merged 1 commit into
mainfrom
fix/pin-uv

Conversation

@using-system

Copy link
Copy Markdown
Owner

What

  • Every uses: astral-sh/setup-uv (the three setups, both ci steps) passes version: "0.12.12", the highest version the pinned setup-uv commit bundles a checksum for, so the binary is verified against a table fixed with the action's SHA on every platform; github-token: "" makes the download anonymous, as the READMEs claim; the three setups add enable-cache: false.
  • AGENTS.md lists the pin in its hand-bumped list; the three "What lands where" sections carry a uv bullet (what is downloaded, from where, what resolves at run time - the asset's URL from Astral's manifest - and what is pinned, what setup-uv reads in the checkout); SECURITY.md's scope names uv; /setup-claude joins dependabot.yml.
  • @ai-sdk/openai-compatible is one of the providers opencode 1.18.31 bundles into its binary (BUNDLED_PROVIDERS, a static import of 2.0.41): nothing is fetched at provider load, so there is no version to pin; setup-opencode's README and opencode_config.py say so.

Why

Closes #45. The setup-uv inputs and code paths read, and the amended choices (version: on a bundled version instead of a single-platform checksum:, the provider resolved as bundled) are on the issue.

How to test

actionlint, shellcheck, ruff, pytest (179 passed) locally; every tests cell installs uv 0.12.12 through the pinned step with no token.

Review

Review subagent: green after one round (the cache sentence claimed more than setup-uv does; the manifest fetch was undisclosed - both reworded). Security review: no findings after the same round.

🤖 Generated with Claude Code

…close it, and say the opencode provider package is the binary's own

Closes #45

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@using-system
using-system merged commit d8aa871 into main Sep 19, 2026
16 checks passed
@using-system
using-system deleted the fix/pin-uv branch September 19, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(actions): the uv binary and opencode's npm provider package are fetched at run time outside the pin discipline

1 participant