Skip to content

ci(ecosystem): declare playwright via repo.json + bump consumers to >=1.60#1668

Open
fengmk2 wants to merge 8 commits into
mainfrom
fix/playwright-node-24-16-hang
Open

ci(ecosystem): declare playwright via repo.json + bump consumers to >=1.60#1668
fengmk2 wants to merge 8 commits into
mainfrom
fix/playwright-node-24-16-hang

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented May 24, 2026

Nightly E2E hangs in npx playwright install chromium on 4 projects whose vp env picks Node 24.16.0 — upstream microsoft/playwright#40724, fixed in Playwright 1.60.0.

  • repo.json: add "playwright": true flag (5 projects).
  • e2e-test.yml: one Install Playwright chromium step gated on the flag (via jq); inline npx playwright install chromium removed from 5 command: blocks.
  • Bump each affected project's hash to a commit with Playwright >=1.60 (vibe-dashboard, vitepress fork branch, tanstack-start-helloworld, vitest-playwright-repro).

@netlify
Copy link
Copy Markdown

netlify Bot commented May 24, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 97b87db
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a12eaa30d338900087d8a69

… 1.60

`npx playwright install chromium` wedges after the download bar reaches
100% under Node 24.16.0+ with Playwright < 1.60 (microsoft/playwright#40724,
fixed in 1.60.0 via #40747). This was silently consuming the full 10-min
timeout on vibe-dashboard, vitepress, tanstack-start-helloworld, and
vitest-playwright-repro every nightly run, because vp env happens to pick
24.16.0 for them.

Make Playwright a first-class declaration:

- repo.json gains `"playwright": true` on the 5 projects that need it
  (vibe-dashboard, vitepress, tanstack-start-helloworld,
  vitest-playwright-repro, vite-vue-vercel).
- patch-project.ts reads the flag and writes a `pnpm.overrides.playwright`
  entry pinned to `^1.60.0`. The override applies uniformly across direct
  deps, catalog entries (vibe-dashboard), and transitive-only cases
  (vitest-playwright-repro via @vitest/browser-playwright).
- e2e-test.yml adds a single `Install Playwright chromium` step gated on
  the repo.json flag (read via jq), removing the duplicated
  `npx playwright install chromium` lines from the 5 per-project command
  blocks.
@fengmk2 fengmk2 force-pushed the fix/playwright-node-24-16-hang branch from 68672f6 to e9096c7 Compare May 24, 2026 07:08
@fengmk2 fengmk2 changed the title ci(ecosystem): pin Node 24.15.0 for Playwright-using projects ci(ecosystem): declare playwright via repo.json + force playwright >= 1.60 May 24, 2026
fengmk2 added 5 commits May 24, 2026 15:35
…lockfile)

Upstream vibe-dashboard main now has playwright@1.60.0 pinned in
pnpm-lock.yaml via the existing catalog `^1.58.2`. Bumping the hash so
e2e tests exercise the installed-version state instead of relying solely
on patch-project.ts's pnpm override.
…oject.ts

Pre-version-bumping each project (so its lockfile resolves playwright >= 1.60
directly) is the right place to enforce the version — overriding it inside
patch-project.ts produced several pitfalls:

- pkg.pnpm.overrides is ignored by npm-managed projects (vitest-playwright-repro
  uses npm); the override never reached the lockfile and the wedge returned
- override targeted the bare `playwright` package, missing vitepress which
  depends on `playwright-chromium`
- writing pkg.pnpm before vp migrate flipped migrator branches and could mask
  upstream pnpm-workspace.yaml overrides on forceFreshMigration projects

The repo.json `"playwright": true` flag still drives the workflow's
"Install Playwright chromium" step; the actual version pinning will be
handled at the upstream project level instead.
…mium branch

Pointing at fengmk2/vitepress so the playwright-chromium upgrade can land on
feat/vite-8-and-fix-playwright-chromium without waiting on the upstream
vuejs/vitepress merge.
@fengmk2 fengmk2 self-assigned this May 24, 2026
@fengmk2 fengmk2 changed the title ci(ecosystem): declare playwright via repo.json + force playwright >= 1.60 ci(ecosystem): declare playwright via repo.json + bump consumers to >=1.60 May 24, 2026
@fengmk2 fengmk2 marked this pull request as ready for review May 24, 2026 12:03
@fengmk2 fengmk2 requested review from Boshen, branchseer and cpojer May 24, 2026 12:04
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