devops: fix CI — Playwright Docker image + upload-artifact v3 #15

Merged
marcel merged 1 commits from devops/ci-fixes into main 2026-03-19 20:34:10 +01:00
Owner

Summary

  • Unit tests: switch to mcr.microsoft.com/playwright:v1.58.2-noble container — Chromium and all system deps pre-installed, eliminating the slow install-deps apt run on every push (closes #13)
  • Both jobs: downgrade upload-artifact@v4v3 — v4 is unsupported on Gitea and was marking jobs as failed even when all tests passed, and preventing the Playwright cache from ever being saved (closes #14)

Test plan

  • Unit & Component Tests job goes green without any Playwright install steps
  • E2E Tests job goes green (27 tests pass, no artifact upload failure)
  • On a second run, E2E Playwright browser cache is restored (no 280 MiB download)

🤖 Generated with Claude Code

## Summary - **Unit tests**: switch to `mcr.microsoft.com/playwright:v1.58.2-noble` container — Chromium and all system deps pre-installed, eliminating the slow `install-deps` apt run on every push (closes #13) - **Both jobs**: downgrade `upload-artifact@v4` → `v3` — v4 is unsupported on Gitea and was marking jobs as failed even when all tests passed, and preventing the Playwright cache from ever being saved (closes #14) ## Test plan - [ ] Unit & Component Tests job goes green without any Playwright install steps - [ ] E2E Tests job goes green (27 tests pass, no artifact upload failure) - [ ] On a second run, E2E Playwright browser cache is restored (no 280 MiB download) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
marcel added 1 commit 2026-03-19 17:18:08 +01:00
devops: fix upload-artifact and use Playwright Docker image for unit tests
Some checks failed
CI / Unit & Component Tests (pull_request) Successful in 1m54s
CI / Backend Unit Tests (pull_request) Successful in 2m4s
CI / E2E Tests (pull_request) Failing after 17m35s
CI / Backend Unit Tests (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Unit & Component Tests (push) Has been cancelled
4142c7cd83
- Switch unit-tests job to mcr.microsoft.com/playwright:v1.58.2-noble
  container; Chromium and all system deps are pre-installed so the
  browser install/cache dance is eliminated entirely (closes #13)

- Downgrade upload-artifact@v4 → v3 in both unit-tests and e2e-tests
  jobs; v4 is not supported on Gitea (GHES) and was causing jobs to
  report failure even when all tests passed, and prevented the
  Playwright browser cache from ever being saved (closes #14)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
marcel merged commit 4142c7cd83 into main 2026-03-19 20:34:10 +01:00
marcel deleted branch devops/ci-fixes 2026-03-19 20:34:17 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#15