Skip to content

fix: install uv on the runner so the API build works in CI - #7

Merged
code-x-1010 merged 1 commit into
mainfrom
fix/ci-install-uv
Sep 8, 2026
Merged

fix: install uv on the runner so the API build works in CI#7
code-x-1010 merged 1 commit into
mainfrom
fix/ci-install-uv

Conversation

@code-x-1010

Copy link
Copy Markdown
Collaborator

Deploy API (production) fails on main with:

Error: uv is required but was not found in PATH.

Vercel's Python runtime builds with uv, not pip — the same reason the API declares its dependencies as a uv workspace in the root pyproject.toml — and GitHub runners don't ship it. My manual first deploy gave no warning because uv happened to already be installed on that machine.

Adds astral-sh/setup-uv@v6 to the deploy-api job only; deploy-web builds with Node and doesn't need it.

Where the pipeline stands

Each failure so far has been one step further along, which is what you'd expect from a first run:

Run Failed at Cause
1 vercel pull secrets not set
2 vercel pull token scoped to personal account, not the team
3 vercel build uv missing — this PR

Check deploy secrets, test, and alembic upgrade head are all green now, and the migration has run successfully against Neon.

`vercel build` failed with "uv is required but was not found in PATH". Vercel's
Python runtime builds with uv rather than pip -- which is also why the API
declares its dependencies as a uv workspace in the root pyproject.toml -- and
GitHub runners do not ship it. It worked locally only because uv happened to be
installed on that machine, so the manual first deploy gave no warning.

Only the API job needs it; the web project builds with Node.

The two failures before this one are now behind us: the Vercel token had to be
scoped to the team rather than a personal account, and the migrate job has since
run green against Neon.
@code-x-1010
code-x-1010 merged commit f350587 into main Sep 8, 2026
9 of 10 checks passed
@code-x-1010
code-x-1010 deleted the fix/ci-install-uv branch September 9, 2026 22:54
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.

1 participant