Skip to content

ci: Run the Playwright install's npx outside the repo - #25384

Merged
mydea merged 1 commit into
developfrom
ci/playwright-background-installs
Oct 20, 2026
Merged

mydea merged 1 commit into
developfrom
ci/playwright-background-installs

Conversation

@mydea

@mydea mydea commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

install-playwright ran npx playwright@<version> from the repo root. With nodeLinker: hoisted, npm can find node_modules/playwright there before pnpm has linked its binary, so a pnpm install running in parallel made it fail with playwright: not found. E2E jobs no longer install the workspace since #25514, but the action also runs in other jobs, so it now runs npx in runner.temp. It also passes the browsers to install-deps as separate arguments, which only mattered for the multi-browser default.

The original change here, starting the background install before the E2E setup steps, is dropped. #25514 moved it right before the build, because a background composite action crashes the runner with "Collection was modified" when a foreground step starts while it sets up.

🤖 Generated with Claude Code

@mydea
mydea added this pull request to stack #25385 October 15, 2026 07:44
@mydea
mydea force-pushed the ci/playwright-background-installs branch from fbff338 to 3db934a Compare October 15, 2026 11:36
@mydea
mydea removed this pull request from stack #25385 October 15, 2026 11:37
@mydea
mydea added this pull request to stack #25392 October 15, 2026 11:37

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Comment thread .github/workflows/build.yml Outdated
@mydea
mydea force-pushed the ci/playwright-background-installs branch from 3db934a to 0f7f0c2 Compare October 15, 2026 11:58
@mydea
mydea removed this pull request from stack #25392 October 15, 2026 11:58
@mydea
mydea added this pull request to stack #25397 October 15, 2026 11:58
@mydea
mydea force-pushed the ci/playwright-background-installs branch from 0f7f0c2 to c7d2498 Compare October 15, 2026 12:51
@mydea
mydea removed this pull request from stack #25397 October 15, 2026 12:51
@mydea
mydea added this pull request to stack #25401 October 15, 2026 12:52
@mydea
mydea removed this pull request from stack #25401 October 15, 2026 12:55
@mydea
mydea added this pull request to stack #25405 October 15, 2026 12:56
@mydea
mydea force-pushed the ci/playwright-background-installs branch 2 times, most recently from 963293b to 7eb95ee Compare October 16, 2026 07:35
@mydea
mydea force-pushed the ci/playwright-background-installs branch from 7eb95ee to ba0a952 Compare October 16, 2026 08:52
@mydea
mydea force-pushed the ci/playwright-background-installs branch from ba0a952 to 5577460 Compare October 16, 2026 09:16
@mydea
mydea force-pushed the ci/playwright-background-installs branch from 5577460 to 5d48b33 Compare October 19, 2026 08:17
@mydea
mydea force-pushed the ci/playwright-background-installs branch from 5d48b33 to c450ff9 Compare October 19, 2026 09:06
@mydea
mydea force-pushed the ci/playwright-background-installs branch 2 times, most recently from 380107c to 0866079 Compare October 19, 2026 09:36
@mydea mydea changed the title ci: Install Playwright in the background in more places ci: Start the background Playwright install earlier in E2E jobs Oct 19, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0866079. Configure here.

Comment thread .github/workflows/build.yml Outdated
Base automatically changed from ci/check-playwright-versions to develop October 20, 2026 07:16
From the repo root, npx could pick up a hoisted playwright that a parallel pnpm install was still linking, and
fail with "playwright: not found". Also pass the browsers to install-deps as separate arguments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea force-pushed the ci/playwright-background-installs branch from f36bed0 to 4d79642 Compare October 20, 2026 07:38
@mydea mydea changed the title ci: Start the background Playwright install earlier in E2E jobs ci: Run the Playwright install's npx outside the repo Oct 20, 2026
@mydea
mydea marked this pull request as ready for review October 20, 2026 07:58
@mydea
mydea requested review from JPeer264 and Lms24 October 20, 2026 07:59
@mydea
mydea merged commit 1130080 into develop Oct 20, 2026
376 of 377 checks passed
@mydea
mydea deleted the ci/playwright-background-installs branch October 20, 2026 12:00
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.

2 participants