Repository navigation
ci: shard Playwright runs per browser project - #193
Merged
Merged
Conversation
The suite grew past what a single serial job can finish inside the 30-minute timeout — every recent run was killed at 30m and reported as cancelled. One matrix shard per Playwright project (Chrome, Firefox, WebKit, mobile Chromium) keeps each job well under the limit, installs only the browser it needs, and fails independently per engine.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
justin-schroeder
left a comment
Member
Author
There was a problem hiding this comment.
Review notes: workflow-only change; matched the project names exactly against playwright.config.ts (testMatch per project is preserved — the mobile shard runs only synthetic-drag specs as before). The mobile shard reuses chromium so no extra browser download. The push triggered by merging this is itself the validation run.
This was referenced Jun 11, 2026
Merged
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the CI timeouts on
release/0.6.0.What was happening
Every recent run on this branch shows as cancelled — they were being killed by
timeout-minutes: 30(the latest ran exactly 30m15s). The campaign grew the suite from 58 to ~150 tests, and the workflow runs all four Playwright projects serially in one job withworkers: 1.Fix
Matrix shard per Playwright project (Desktop Chrome / Firefox / WebKit / iPhone 13 Chromium):
--project), comfortably inside the timeoutplaywright install --with-deps <browser>)fail-fast: falseso one engine's failure doesn't mask the othersThe very next push to this branch (this merge) validates it.