Files
nuzlocke-tracker/.beans/nuzlocke-tracker-wtbk--fix-ci-workflow-failures-for-backend-and-e2e-tests.md
Julian Tabel b50e9160ba Add uv to PATH after install in CI
The uv installer places the binary in ~/.local/bin which isn't on
PATH by default in the act runner. Source the env file for the current
step and append to GITHUB_PATH for subsequent steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 16:32:51 +01:00

1000 B

title, status, type, priority, created_at, updated_at
title status type priority created_at updated_at
Fix CI workflow failures for backend and e2e tests completed bug normal 2026-02-21T15:26:22Z 2026-02-21T15:29:08Z

Two failures in CI:

  1. backend-tests: astral-sh/setup-uv@v6.8.0 requires Node.js 20+ but the act runner has Node.js 18. The File global doesn't exist in Node 18, causing a ReferenceError. Fix: install uv directly via curl instead of using the GitHub Action.

  2. e2e-tests: Port 8000 is already allocated on the runner host. The docker-compose.test.yml binds test-api to host port 8000 which conflicts with whatever else runs on the CI machine. Fix: use port 8100 for the test API container.

Checklist

  • Replace astral-sh/setup-uv action with direct curl install of uv + uv python install 3.14
  • Change e2e test API host port from 8000 to 8100 in docker-compose.test.yml
  • Update global-setup.ts to use port 8100
  • Verify no other references to the test API port