Skip to content

ci: pin the test job to ubuntu-24.04 so Playwright 1.58 can install - #130

Open
PeterGuy326 wants to merge 1 commit into
mainfrom
chore/ci-pin-playwright-runner
Open

PeterGuy326 wants to merge 1 commit into
mainfrom
chore/ci-pin-playwright-runner

Conversation

@PeterGuy326

Copy link
Copy Markdown
Contributor

Problem

Every doc pull request currently fails the test job before running any project check:

BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu26.04-x64 as a fallback.
Cannot install dependencies for ubuntu26.04-x64 with Playwright 1.58.2!
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

ubuntu-latest now resolves to an Ubuntu 26.04 image, while this repository pins @playwright/test at ^1.58.2, which supports Ubuntu 24.04 but not 26.04. The failure happens at npx playwright install --with-deps chromium, so it is independent of the change under review. As a result all five open PRs (#129, #122, #115, #108, #46) are permanently red on test.

Change

Pin only the test job to ubuntu-24.04 (one line plus an explanatory comment). No other job, workflow permission, dependency or source file is touched.

Why pin the runner instead of bumping Playwright

  • The runner pin is behaviour-neutral: the existing Playwright version, browsers, and e2e specs stay exactly as they are.
  • Bumping Playwright from 1.58 to the first release that supports Ubuntu 26.04 crosses several minor versions and would change browser automation behaviour inside the same change that is meant to repair CI.
  • The pin is trivially reversible and can be revisited together with a deliberate Playwright upgrade.

Validation

Risk and rollback

Risk is limited to the image the test job runs on; docker-build is unchanged. Rollback is reverting this single line. Once merged, re-running test on the five open PRs should turn them green without any author-side change.

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.

1 participant