Repository navigation
fix(pnpm): update @pnpm/napi to rc.11 for the root-component sibling-linking fix - #10658
Merged
Merged
Conversation
…linking fix rc.10's isolated linker gave every manifest-less root-component member a symlink to every other member of its root — on a real workspace one symlink per (member, member) pair per peer context, which is where the CI workspace-attach regression came from. rc.11 ships the fix (pnpm/pnpm#14142): a member's sibling links come from its own lockfile snapshot, so each slot holds exactly its declared edges. Verified against the published binary: the isolated root-components suite passes with each member slot linking only its declared chain (5 sibling links on the fixture where rc.10 materialized 20), and the hoisted suite stays green. Co-Authored-By: Claude Fable 5 <[email protected]>
zkochan
enabled auto-merge (squash)
August 24, 2026 23:41
Closed
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can hide the parts of a finding you never read, like the evidence or the agent prompt |
PR Summary by QodoUpgrade pnpm N-API engine to rc.11 for correct sibling linking
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
GiladShoham
approved these changes
Aug 25, 2026
|
Code review by qodo was updated up to the latest commit bce43da |
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.
Proposed Changes
Update
@pnpm/napifrom12.0.0-rc.10to12.0.0-rc.11. The engine delta between the two is effectively one fix, pnpm/pnpm#14142 (the other rc.11 change is a staging-CLI feature that does not touch installs).rc.10's isolated linker gave every manifest-less root-component member a symlink to every other member of its root — one symlink per (member, member) pair per peer context. On teambit/bit's own workspace that was ~270k
@teambit/*symlinks across 812 injected-component slots (a@teambit/compositionsslot carried 359 sibling links where its lockfile snapshot declares 42), and it is the root cause of the CI "Attaching workspace" regression (0.8 → 2.7 min per e2e node) across the pnpm v12 migration: the persistednode_modulestree grew from 2.9 GB / 207k symlinks to 3.8 GB / 356k.With rc.11, a member's sibling links come from its own lockfile snapshot (exact peer-variant key), so each slot holds exactly its declared edges. The CI win lands once a release built on rc.11 becomes the bvm binary that
setup_harmonyinstalls with, since that binary's engine produces the persisted tree.Verification
Against the published rc.11 binary (
engineVersion()confirmed, no local patches):npm run lintcleanpnpm-lock.yamlis a pure rc.10 → rc.11 swap (52/52 lines, napi platform packages only)🤖 Generated with Claude Code