Skip to content

Speed up Playwright CI by skipping install-deps on cache hit#30503

Merged
naltatis merged 1 commit into
masterfrom
chore/faster-playwright-ci
Jun 4, 2026
Merged

Speed up Playwright CI by skipping install-deps on cache hit#30503
naltatis merged 1 commit into
masterfrom
chore/faster-playwright-ci

Conversation

@andig
Copy link
Copy Markdown
Member

@andig andig commented Jun 4, 2026

The integration job ran npx playwright install-deps chromium on every browser-cache hit. That step runs apt-get and dominates setup time on the hot path.

The depot-ubuntu-24.04-arm-32 runner already ships Chromium's library dependencies, and the cache-miss path still installs them via playwright install --with-deps chromium. Removing the per-run deps step makes the common cached run noticeably faster without changing behaviour.

Based on microsoft/playwright#23388 (comment)

…runs

The integration job ran `playwright install-deps chromium` (apt-get) on every
cache hit, which dominated setup time. The depot ubuntu-24.04 runner already
ships Chromium's library dependencies, and `--with-deps` installs them on a
cache miss, so the per-run deps step is redundant.

microsoft/playwright#23388 (comment)
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@andig andig requested a review from naltatis June 4, 2026 16:32
@andig andig added the infrastructure Basic functionality label Jun 4, 2026
@naltatis
Copy link
Copy Markdown
Member

naltatis commented Jun 4, 2026

The depot-ubuntu-24.04-arm-32 runner already ships Chromium's library dependencies

interesting.

@naltatis naltatis merged commit d481739 into master Jun 4, 2026
13 checks passed
@naltatis naltatis deleted the chore/faster-playwright-ci branch June 4, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Basic functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants