mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
ci: pin Playwright jobs to ubuntu-24.04 (chromium unsupported on 26.04) (#1265)
## Summary GitHub's `ubuntu-latest` now resolves to Ubuntu 26.04, where our Playwright (1.57) fails at `npx playwright install --with-deps chromium`: > Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64 That breaks every PR's E2E Smoke / Full / Local-Stack jobs (seen on #1264) and both daily E2E workflows on main (Payment + Happy Path, Tenant Portals failed today, 2026-11-11). ## Change Pins only the 7 jobs that install Playwright browsers to `ubuntu-24.04` (ci.yml ×4, e2e-daily.yml ×2, e2e-tenant-daily.yml ×1). Everything else stays on `ubuntu-latest`. Workflow-only, so no version bump. A Playwright upgrade that supports 26.04 can follow later and drop the pin. ## Testing This PR's own CI runs the pinned E2E jobs. Workflow-only change, no local CodeRabbit review run, so the bot review is left on. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012RYLVVUdF2J1bNeVa2uLXA <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Updated the operating system used by automated smoke, end-to-end, and daily test runs to Ubuntu 24.04. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
da204bd52e
commit
ac844b3933
3 files changed
+7
-7
No files matched your search
@@ -180,7 +180,7 @@ jobs:
|
||||
|
||||
frontend-e2e-smoke:
|
||||
name: "Frontend - E2E Smoke (~2 min)"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
needs: changes
|
||||
# Quick smoke tests run on every PR with frontend changes
|
||||
if: github.ref != 'refs/heads/main' && needs.changes.outputs.frontend == 'true'
|
||||
@@ -222,7 +222,7 @@ jobs:
|
||||
|
||||
frontend-e2e-full:
|
||||
name: "Frontend - E2E Full"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
needs: changes
|
||||
# Full E2E suite only runs when PR has 'e2e' label (on-demand)
|
||||
if: >-
|
||||
@@ -262,7 +262,7 @@ jobs:
|
||||
# Happy Path Production Test - runs the comprehensive real-user test against prod
|
||||
frontend-e2e-happy-path:
|
||||
name: "Frontend - E2E Happy Path (Production)"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
needs: changes
|
||||
# Only runs when PR has 'e2e-happy-path' label
|
||||
if: >-
|
||||
@@ -794,7 +794,7 @@ jobs:
|
||||
|
||||
local-stack-e2e:
|
||||
name: "Local Stack - Full-Journey E2E"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
needs: changes
|
||||
# The real backend on the Firestore + GCS emulators with fake workers
|
||||
# (scripts/local-stack.sh), driven through the real web UI by
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
# =========================================================================
|
||||
e2e-credit-purchase:
|
||||
name: "Stage 1: Credit Purchase"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
timeout-minutes: 15
|
||||
if: ${{ github.event.inputs.skip_payment != 'true' && github.event.inputs.use_test_token != 'true' }}
|
||||
permissions:
|
||||
@@ -442,7 +442,7 @@ jobs:
|
||||
# =========================================================================
|
||||
e2e-happy-path:
|
||||
name: "Stage 2: Happy Path"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
timeout-minutes: 90
|
||||
needs: e2e-credit-purchase
|
||||
if: |
|
||||
|
||||
@@ -20,7 +20,7 @@ permissions:
|
||||
jobs:
|
||||
e2e-tenant:
|
||||
name: "Tenant E2E: ${{ matrix.tenant }}"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04 # Playwright 1.57 can't install chromium on ubuntu-latest (26.04)
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
Reference in new issue
Block a user