Skip to content

ci: Install Playwright in the background during E2E app builds - #25207

Merged
chargome merged 2 commits into
developfrom
chargome/ci/parallel-e2e-playwright-install
Oct 9, 2026
Merged

chargome merged 2 commits into
developfrom
chargome/ci/parallel-e2e-playwright-install

Conversation

@chargome

@chargome chargome commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

E2E jobs installed Playwright after the app build. This uses the new parallel steps to install the root workspace's Playwright version in the background while the app builds. Apps on a different version still get theirs installed after the build. This saves about 16-19s per E2E job.

The background install starts after the artifact downloads on purpose. Starting it next to download-artifact made about 5% of jobs fail with "Unexpected end of JSON input".

Refs #25134

Each E2E job spent about 25s installing Playwright after the app build, even
though the install only needs the Playwright version. Most apps use the same
version as the root workspace, so start that install in the background right
after restoring caches. After the build, the app's own version is installed
only if it differs from the root one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chargome chargome self-assigned this Oct 9, 2026
@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

JS-3888

@chargome
chargome marked this pull request as ready for review October 9, 2026 08:49
@chargome

chargome commented Oct 9, 2026 •

Copy link
Copy Markdown
Member Author

triggering a full ci run to verify

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. We should also link the public GH issue in the PR desc though

@nicohrubec nicohrubec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

multiple tests in the full ci run fail in the Restore tarball artifacts step, so probably related?

Starting the background install right next to `download-artifact` made 13 of
about 270 E2E jobs fail in a full run with "Unexpected end of JSON input" while
the action read the event file. Start it after the downloads instead, where
the next steps are plain shell commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chargome

chargome commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

@nicohrubec fixed

@chargome
chargome merged commit 668a513 into develop Oct 9, 2026
1047 of 1053 checks passed
@chargome
chargome deleted the chargome/ci/parallel-e2e-playwright-install branch October 9, 2026 09:37
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.

3 participants