Skip to content

Playwright CI fails on ubuntu-latest (now Ubuntu 26.04) #4996

Open

Description

@frano-m

Both Playwright workflows (run-playwright-tests-anvil-catalog.yml, run-playwright-tests-anvil-cmg.yml) now fail at the Install Playwright Browsers step, before any test runs:

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.59.1!
Error: ERROR: Playwright does not support chromium on ubuntu26.04-x64

Cause

The workflows use runs-on: ubuntu-latest, which GitHub has moved from Ubuntu 24.04 to Ubuntu 26.04. Playwright 1.59.1, the version locked in package-lock.json, can't install its browser dependencies on 26.04. Neither the workflow nor the Playwright version changed in the repo.

Last green run (38825881465, Oct 15) Failing run (39377765644, Oct 20, #4995)
Runner image ubuntu-24.04 (20261012.334.1) ubuntu-26.04 (20261012.163.1)
Playwright 1.59.1 1.59.1

This affects every PR, not one change in particular.

Suggested fix

  1. Short term: pin runs-on: ubuntu-24.04 in both Playwright workflows to get CI green again.
  2. Follow-up: upgrade playwright / @playwright/test (latest is 1.64.1; see also chore(deps): bump playwright and @playwright/test #4574) to a version that supports Ubuntu 26.04, then go back to ubuntu-latest if wanted.

Definition of done

  • Playwright anvil-catalog and anvil-cmg workflows pass on PRs again.

Activity

  1. NoopDog commented on Oct 20, 2026

    @NoopDog
    Collaborator

    Thanks for writing this up, @frano-m! Could you take this one? Let's skip the pin and go straight to the follow-up: upgrade Playwright to a version that supports Ubuntu 26.04 and stay on ubuntu-latest.

    Could you do the same on all our projects that run Playwright in CI? The ones I found are brc-analytics (run-checks.yml), meta-disco-browser (both Playwright workflows) and czii-umbrella-django, but please check for others. brc-analytics has required checks, so it'll block merges there once its e2e job lands on 26.04. This morning it still got 24.04.

    Thanks!

  2. removed their assignment
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions