Repository navigation
chore(deps): update pnpm to v12 - #23410
Merged
Merged
Conversation
sapphi-red
commented
Sep 1, 2026
| autoInstallPeers: false | ||
| dedupeInjectedDeps: false | ||
| overrides: | ||
| rolldown: $rolldown |
Member
Author
There was a problem hiding this comment.
Probably we don't need this anymore as Rolldown is stable now
#20919
Comment on lines
-50
to
-54
| minimumReleaseAge: 1440 | ||
| minimumReleaseAgeExclude: | ||
| - rolldown | ||
| - '@rolldown/binding-*' | ||
| blockExoticSubdeps: true |
Member
Author
There was a problem hiding this comment.
These are the default values.
btea
approved these changes
Sep 1, 2026
btea
left a comment
Contributor
There was a problem hiding this comment.
pnpm 12 is no longer restricted by nodes.
shulaoda
pushed a commit
to rolldown/rolldown
that referenced
this pull request
Oct 7, 2026
…#11147) ## What `packages/vite-tests/run.ts` clones the `vite/` checkout and rewrites its `pnpm-workspace.yaml` so the `rolldown` override points at the workspace `packages/rolldown`. The rewrite was a regex on a `rolldown: $rolldown` line that Vite stopped carrying when it moved to pnpm 12 (vitejs/vite#23410). Since then the regex matched nothing and the clone installed the npm release from Vite's lockfile, so the `Vite Test Ubuntu` / `Vite Test Windows` jobs tested that release instead of the pull request's build. Evidence from the job logs, `pnpm install` step: `+ rolldown 1.2.12` on main (run 37631615554, job 112842609493) and on a pull request (run 37653001783, job 112902019970). ## Fix - The runner writes the override itself: `rolldown: "link:<absolute workspace path>"` under `overrides:` (replacing an existing `rolldown` entry, inserting one, or creating the block). The value is a JSON string, so a Windows path survives as a YAML double-quoted scalar. - After `pnpm install` it resolves `rolldown/package.json` from `repo/packages/vite`, compares the real path with `packages/rolldown/package.json`, and exits 1 with both paths when they differ. On success it prints the resolved version and path so the job log shows which build ran. ## Verification Full runner locally on this branch with the workspace build linked: | Step | Result | |---|---| | `pnpm install` in the clone | `+ rolldown link:../../rolldown`, no registry `rolldown` | | check line | `vite resolves rolldown 1.2.13 at <worktree>/packages/rolldown/package.json` | | `vite` build | `rolldown v1.2.13` | | test-unit | 70 files, 1012 passed | | test-serve | 1 failed, 91 passed, 17 skipped (the failed spec passed 3 of 3 when run alone) | | test-serve-bundled | 82 passed, 22 skipped | | test-build | 93 passed, 15 skipped | The one `test-serve` failure was `environment-react-ssr > pre-bundling > deps reload` timing out under load. Once this lands the Vite lanes exercise the pull request's rolldown again, so playground drift that was hidden since September may surface there. Windows: pnpm normalizes a `link:` path with a drive letter (`local-spec` `normalize_specifier`, `resolving-local-resolver` `is_absolute_specifier`); the new check fails the job if the resolution is wrong. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.
While pnpm v11 doesn't support Node 20, it seems v12 supports it
https://pnpm.io/installation#compatibility