chore(deps): update playwright to v1.61.1 - #729
Conversation
The flat repo bumped playwright to 1.61.1, so its CI image ships the 1.61.1 browser builds. The embed-client:tests job installs this repo's deps, which still pinned 1.58.2, so the library looked for a chromium build the image doesn't ship and failed to launch. Also bump GitLab CI to pnpm 11.0.9 to match the GitHub workflows, which moved in #724 without regenerating the lockfile. Regenerating under pnpm 11 drops the msw and @types/node optional peers that pnpm 10 used to auto-install; neither is imported anywhere.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
Why
The
embed-client:testsjob in the flat repo is failing job;flat's
developlandedchore(deps): update playwright to v1.61.1, so its runner image now ships the 1.61.1 browser builds. That job installs this repo's deps, which still pinned 1.58.2 — so the library went looking for a chromium build the image doesn't ship.Playwright phrases this as "required: v1.58.2" because it reports what the installed library wants; the fix is to move the library up to the image, not the image down.
Changes
package.json—playwright1.58.2 → 1.61.1.gitlab-ci.yml— imagev1.58.2-noble→v1.61.1-noble.gitlab-ci.yml—corepack prepare pnpm@10.17.1→11.0.9pnpm-lock.yaml— regeneratedNotes for reviewers
The pnpm bump is load-bearing, not drive-by. GitLab CI was still on 10.17.1 while #724 moved the GitHub workflows to 11.0.9. Left alone, GitLab would install a pnpm-11 lockfile with pnpm 10 under
--frozen-lockfile.The lockfile diff is large (~481 deletions) — mostly
mswand@types/nodedisappearing. This is not caused by the playwright bump: a fresh resolve with the original 1.58.2 drops them too. It's pnpm 10→11 drift (pnpm 11 no longer auto-installs optional peers), latent since #724 bumped the workflows without regenerating the lockfile. The bump here just forced the re-resolve that surfaced it. Nothing importsmsw.Leftover, deliberately out of scope:
msw: falseinpnpm-workspace.yaml'sallowBuildsis now dead config since msw is no longer in the graph. Harmless; happy to strip it if preferred.Verification
pnpm test— 81 passed, 1 skipped, 2 filespnpm install --frozen-lockfile— clean