Repository navigation
ci: pin Playwright E2E to ubuntu-24.04 so chromium installs again - #1114
Conversation
Playwright E2E was failing on this PR too for the same reason main is red: `ubuntu-latest` now resolves to Ubuntu 26.04, and the pinned Playwright release's `install --with-deps chromium` fails before any test runs with "Playwright does not support chromium on ubuntu26.04-x64". The failure is base-branch state, not this PR's diff (which only touches `rivet-cli/src/main.rs` and `rivet-cli/tests/cli_commands.rs`). Porting the one-line pin from #1114 so the Playwright gate on THIS PR sees the test body instead of the install error. No-ops once #1114 merges. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018W8367wHNy5cYzU8yqjAre
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
`ubuntu-latest` now resolves to Ubuntu 26.04, which the pinned Playwright release does not support -- `npx playwright install --with-deps chromium` fails before any test runs with "Playwright does not support chromium on ubuntu26.04-x64", so the E2E suite stopped running on every PR and on main. Pin the job to ubuntu-24.04 (the smallest change that restores coverage today) and record the pin's reason in the job comment so the pin is removed deliberately once Playwright supports 26.04. The job is deliberately not in the CI Gate's needs block (see the "Deliberately NOT gated on" comment that lists Playwright), so a non-running E2E suite shows as advisory. That is a documented design choice and this PR does not change it. Fixes #1109 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0178yG1Xjfzj9oHuGc74wHET
|
Rebased onto main (9e6fb60, the v0.41.1 review-findings merge) so it can land before the v0.41.1 tag — maintainer decision: merge the Playwright pin first so E2E runs on the release commit. |
9b6cb08 to
abe61c3
Compare
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: abe61c3 | Previous: cc3b807 | Ratio |
|---|---|---|---|
diff/10000 |
10428744 ns/iter (± 556397) |
8557364 ns/iter (± 724270) |
1.22 |
This comment was automatically generated by workflow using github-action-benchmark.
|
Benchmark alert is not from this PR's diff. The alert compares Playwright E2E on the rebase: Generated by Claude Code |
…rom #1114) Playwright E2E failed on this PR's first CI run with the same install error as #1109: `ubuntu-latest` now resolves to Ubuntu 26.04 and the pinned Playwright release fails with "Playwright does not support chromium on ubuntu26.04-x64". The diff is `.github/workflows/ci.yml:558` only — Rust is untouched. Ported verbatim from PR #1114 so the fix lands here now rather than waiting on that PR to merge: it no-ops once main carries it, and until then it keeps this PR's Playwright job honest (same approach the posture calls for on a failure whose fix already exists). The pin stays until Playwright publishes a release that supports 26.04. Refs: FEAT-001 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gifkRw7MTUK8ayW4Bighz
|
Proptest (extended) is red here but passed on Generated by Claude Code |
Summary
Pins the Playwright E2E job to
ubuntu-24.04. GitHub'subuntu-latestnow resolves to Ubuntu 26.04, which the pinned Playwright release does not support —npx playwright install --with-deps chromiumfails before any test runs with:The E2E suite therefore stopped running on every PR and on
main. This pin is the smallest change that restores coverage today; the comment aboveruns-onrecords the reason so the pin is removed deliberately once Playwright publishes a release that supports 26.04.Closes #1109.
Acceptance criteria
Issue #1109 proposes two fix options and raises one gate-related note:
ubuntu-24.04until Playwright supports 26.04 — done at.github/workflows/ci.ymlline 558 (nowruns-on: ubuntu-24.04). The alternative — bumping Playwright — was not pursued because no release that supports 26.04 is published yet; a bump can replace the pin when one is.runs-on— done. The existing block comment above the job now carries a new paragraph tagged#1109that names the error, the version pinned, and the condition for removing the pin.ci-gate.needs), so a non-running E2E suite reads as advisory by design. The issue flagged this for discussion; this PR surfaces it in the body and leaves the gate shape alone, since promoting it is a separate decision and widening scope beyond ci: Playwright E2E fails on every run since ubuntu-latest became Ubuntu 26.04 (chromium unsupported) #1109.Test plan
playwright-reportartifact is uploaded.Generated by Claude Code