Files
nuzlocke-tracker/.beans/nuzlocke-tracker-wtbk--fix-ci-workflow-failures-for-backend-and-e2e-tests.md
Julian Tabel f6bcb1fbe5
Some checks failed
CI / backend-tests (push) Failing after 9s
CI / frontend-tests (push) Successful in 27s
CI / e2e-tests (push) Failing after 2m6s
Fix CI failures for backend and e2e test jobs
Replace astral-sh/setup-uv action with direct curl install to avoid
Node.js 18 incompatibility (setup-uv v6+ requires Node 20+). Change
e2e test API host port from 8000 to 8100 to avoid conflict with
existing service on the CI runner.

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

21 lines
1002 B
Markdown

---
# nuzlocke-tracker-wtbk
title: Fix CI workflow failures for backend and e2e tests
status: in-progress
type: bug
priority: normal
created_at: 2026-02-21T15:26:22Z
updated_at: 2026-02-21T15:27:40Z
---
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
- [x] Replace `astral-sh/setup-uv` action with direct curl install of uv + `uv python install 3.14`
- [x] Change e2e test API host port from 8000 to 8100 in docker-compose.test.yml
- [x] Update global-setup.ts to use port 8100
- [x] Verify no other references to the test API port