Skip to content

Repair wp/6.3 branch Actions: Run Playwright on ubuntu-22.04 to fix browser-install failures - #290

Closed
desrosj wants to merge 1 commit into
fix-actions-6.3/ignore-browserslist-old-datafrom
fix-actions-6.3/fix-playwright-noble-install
Closed

desrosj wants to merge 1 commit into
fix-actions-6.3/ignore-browserslist-old-datafrom
fix-actions-6.3/fix-playwright-noble-install

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner

What?

Runs the e2e-playwright job in end2end-test.yml on ubuntu-22.04 instead of ubuntu-24.04. Every other job stays on ubuntu-24.04 (set by #221).

Why?

This branch pins @playwright/test at 1.32.0, and its .nvmrc is Node.js 14, so Playwright can't be upgraded without a Node.js upgrade. Playwright 1.32.0 predates Ubuntu 24.04 support (added in 1.45), which breaks the job on ubuntu-24.04 in two ways:

  • npx playwright install chromium firefox webkit --with-deps fails before downloading anything, because it tries to install Ubuntu 22.04 package names that 24.04 doesn't have (E: Package 'libasound2' has no installation candidate, E: Unable to locate package libffi7, E: Unable to locate package libx264-163).
  • If the browsers are installed without --with-deps, WebKit can't run at all (libsoup2.4-1 and libvpx7 aren't available on 24.04), and Firefox crashes partway through every run with browserContext.newPage: Page closed, failing every Firefox test queued after it.

On ubuntu-22.04, --with-deps installs everything and all three browsers pass. This was confirmed in #560 (run 36460920116): all 628 tests across chromium, firefox and webkit ran, with 626 passed, 2 skipped and none failed.

wp/6.4 solves the same problem differently (#140): its stack moves to Node.js 20, so it upgrades Playwright to 1.49.1 instead.

GitHub will retire the ubuntu-22.04 image at some point after Ubuntu 26.04 runners became generally available (September 2026). When that happens, this job will need either a Playwright upgrade (which needs a Node.js upgrade) or to go back to installing browsers without --with-deps and excluding WebKit and Firefox.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from c9f5061 to 005df59 Compare September 13, 2026 00:50
@desrosj
desrosj changed the base branch from fix-actions-6.3/fix-docker-compose-v2 to fix-actions-6.3/docker-compose-v2 September 13, 2026 00:50
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 005df59 to f3251ff Compare September 13, 2026 01:29
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from f3251ff to 6ae1f9d Compare September 13, 2026 02:38
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 6ae1f9d to 8d989fb Compare September 13, 2026 03:05
@desrosj
desrosj changed the base branch from fix-actions-6.3/docker-compose-v2 to fix-actions-6.3/remove-svn-version-debug-check September 13, 2026 03:07
@desrosj
desrosj added this pull request to stack #320 September 13, 2026 03:07
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 8d989fb to a92333a Compare September 14, 2026 01:38
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from a92333a to 1e90a21 Compare September 14, 2026 02:40
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 1e90a21 to 704377a Compare September 14, 2026 03:01
@desrosj
desrosj removed this pull request from stack #320 September 14, 2026 03:09
@desrosj
desrosj added this pull request to stack #351 September 14, 2026 03:11
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 704377a to 6f79164 Compare September 14, 2026 17:44
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 6f79164 to 6ba00bf Compare September 15, 2026 19:15
@desrosj
desrosj removed this pull request from stack #351 September 21, 2026 18:35
@desrosj
desrosj changed the base branch from fix-actions-6.3/remove-svn-version-debug-check to wp/6.3 September 21, 2026 18:37
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 6ba00bf to 970e8cc Compare September 21, 2026 18:46
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/remove-svn-version-debug-check September 21, 2026 18:48
@desrosj
desrosj added this pull request to stack #403 September 21, 2026 18:48
@desrosj
desrosj removed this pull request from stack #403 September 21, 2026 19:36
@desrosj
desrosj added this pull request to stack #459 September 22, 2026 15:49
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 5322ec2 to e324ac3 Compare September 22, 2026 15:51
@desrosj
desrosj removed this pull request from stack #459 September 22, 2026 20:16
@desrosj
desrosj changed the base branch from fix-actions-6.3/ignore-browserslist-old-data to wp/6.3 September 22, 2026 20:16
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from e324ac3 to 270f9af Compare September 22, 2026 20:19
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/ignore-browserslist-old-data September 22, 2026 20:20
@desrosj
desrosj added this pull request to stack #477 September 22, 2026 20:20
@desrosj
desrosj removed this pull request from stack #477 September 23, 2026 01:30
@desrosj
desrosj changed the base branch from fix-actions-6.3/ignore-browserslist-old-data to wp/6.3 September 23, 2026 01:31
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 270f9af to 5e8f2d7 Compare September 23, 2026 01:40
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/ignore-browserslist-old-data September 23, 2026 01:41
@desrosj
desrosj added this pull request to stack #486 September 23, 2026 01:41
@desrosj
desrosj removed this pull request from stack #486 September 24, 2026 17:11
@desrosj
desrosj changed the base branch from fix-actions-6.3/ignore-browserslist-old-data to wp/6.3 September 24, 2026 17:11
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 5e8f2d7 to 4ca6c84 Compare September 24, 2026 17:12
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/ignore-browserslist-old-data September 24, 2026 17:13
@desrosj
desrosj added this pull request to stack #511 September 24, 2026 17:15
@desrosj
desrosj removed this pull request from stack #511 September 24, 2026 17:44
@desrosj
desrosj changed the base branch from fix-actions-6.3/ignore-browserslist-old-data to wp/6.3 September 24, 2026 17:44
@desrosj
desrosj force-pushed the fix-actions-6.3/fix-playwright-noble-install branch from 4ca6c84 to 7432ee5 Compare September 24, 2026 17:45
@desrosj
desrosj changed the base branch from wp/6.3 to fix-actions-6.3/ignore-browserslist-old-data September 24, 2026 17:45
@desrosj
desrosj added this pull request to stack #515 September 24, 2026 17:45
@desrosj
desrosj removed this pull request from stack #515 September 28, 2026 14:31
@desrosj

desrosj commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Moved to WordPress#83712. The branch is left in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant