Skip to content

Install Playwright Chromium without --with-deps in CI - #153

Merged
spaceninja merged 1 commit into
mainfrom
ci/drop-playwright-with-deps
Oct 26, 2026
Merged

spaceninja merged 1 commit into
mainfrom
ci/drop-playwright-with-deps

Conversation

@spaceninja

Copy link
Copy Markdown
Member

Overview

The CI job's playwright install --with-deps step installs about 25 MB of system packages (mostly fonts) from Ubuntu's package mirror. That mirror sometimes slows to 40–60 kB/s, which in cloudfour/cloudfour.com-patterns stretched one-minute runs to 6–11 minutes and once left a job hanging for six hours.

The ubuntu-latest runner image already ships Google Chrome, so the libraries Chromium needs are already installed. This PR drops --with-deps so the step skips apt entirely, which is the same change as cloudfour/cloudfour.com-patterns#2607, where the browser tests passed with no missing-dependency warnings. The existing 10-minute cap stays as it is.

Screenshots

Testing

  • Open the Checks tab on this PR and click into the ci job
  • Expand the Install Chromium step. It should finish in seconds, with no apt-get output and no "Host system is missing dependencies" warning
  • Expand the Run tests step. All tests should pass

The ubuntu-latest image already ships Google Chrome, so the system
libraries Chromium needs are present. --with-deps only added fonts from
Ubuntu's package mirror, which sometimes slows to tens of kB/s and has
stretched CI runs from about a minute to 6-10 minutes.
@spaceninja
spaceninja merged commit 65b67d0 into main Oct 26, 2026
2 checks passed
@spaceninja
spaceninja deleted the ci/drop-playwright-with-deps branch October 26, 2026 20:31
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