Skip to content

Run CI and the release build on ubuntu-24.04 - #7593

Merged
santicomp2014 merged 1 commit into
mainfrom
bump-playwright
Nov 10, 2026
Merged

santicomp2014 merged 1 commit into
mainfrom
bump-playwright

Conversation

@santicomp2014

@santicomp2014 santicomp2014 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

ubuntu-latest on GitHub Actions is now Ubuntu 26.04. Playwright 1.57.0, which the lockfile resolves to, cannot install Chromium there, so the Install step of CI fails with:

ERROR: Playwright does not support chromium on ubuntu26.04-x64

That is why the Release run for #7591 failed on main. Nothing was deployed to staging or production.

What changes

  • continuous-integration.yml: the ci job runs on ubuntu-24.04.
  • release.yml: release-staging and release-prod run on ubuntu-24.04 too. Neither job sets up Node before yarn build, so they use the image's default: Node 22 on Ubuntu 24.04, Node 24 on Ubuntu 26.04. The last release (15 October) was built on Ubuntu 24.04. Staying there means the first release with Upgrade vulnerable dependencies (Dependabot backlog, November 2026) #7591 is not also the first build on a new Node version.

This is the same pin as in lms, via, browser-extension and annotation-ui. No dependency changes.

Why not upgrade Playwright instead

That was the first version of this PR, same as hypothesis/lms#7488. Playwright 1.65.0 installs fine on Ubuntu 26.04, but three tests time out in its newer Chromium (run):

  • annotator/frame-observer > FrameObserver > changing the src attribute triggers onFrameRemoved
  • annotator/frame-observer > onDocumentReady > invokes callback with error if frame is disconnected
  • PortRPC > should send "close" event when window is unloaded

All three wait for an unload event (frame-observer.ts and port-rpc.ts listen for it). That needs a look of its own, so it is left for a follow-up. The pin can be removed then.

After merging

The Release workflow will run on main and deploy #7591 to staging. Before approving the production release:

After the production release, check that the Read the Docs build for the client is green (Python 3.9 to 3.11, from #7591).

🤖 Generated with Claude Code

ubuntu-latest on GitHub Actions is now Ubuntu 26.04, and Playwright 1.57.0
cannot install Chromium there ("Playwright does not support chromium on
ubuntu26.04-x64"). The Install step of CI fails, which also stops the
Release workflow on main before anything is deployed.

Upgrading Playwright to 1.65.0 fixes the install, but three tests that wait
for an `unload` event time out in its newer Chromium, so that is left for a
follow-up.

The release jobs are pinned too. They build with the image's default Node:
22 on Ubuntu 24.04 (what the last release used), 24 on Ubuntu 26.04.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@santicomp2014 santicomp2014 changed the title Bump Playwright to 1.65.0 Run CI and the release build on ubuntu-24.04 Nov 10, 2026
@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.62%. Comparing base (a7b7400) to head (9fa46c1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7593   +/-   ##
=======================================
  Coverage   99.62%   99.62%           
=======================================
  Files         286      286           
  Lines       12056    12056           
  Branches     2932     2932           
=======================================
  Hits        12011    12011           
  Misses         45       45           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@santicomp2014
santicomp2014 merged commit f49e855 into main Nov 10, 2026
4 checks passed
@santicomp2014
santicomp2014 deleted the bump-playwright branch November 10, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants