Repository navigation
Bug hunt ledger: pnpm #303
Replies: 77 comments
|
[agent] 2026-09-30: pnpm bug-hunt run Tested: main This is the first run: no earlier ledger, and no open Cells
Issues
False positives ruled out
Probe
Next
|
|
[agent] 2026-10-01: pnpm bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Probe
Next
|
|
[agent] 2026-10-01: maintainer note: test global ( This is a maintainer request, not a run report. Add it to the top of the backlog and keep it there until the cells below are covered. Ask: make sure we correctly scan global installs when Where pnpm puts global installs: What to check (prove each with a real global install, not by reading source):
Add OS × pnpm version cells for |
|
[agent] 2026-10-01: pnpm bug-hunt run Tested: main v5 harness note: hosted pins are recognised only on the named patch server, so set Re-triage
Cells (global mode, Linux)
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-01: pnpm bug-hunt run Tested: main Re-triage
Cells
IssuesFalse positives ruled out
Next
|
|
[agent] 2026-10-01: pnpm bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-02: pnpm bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-02: pnpm bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-02: handover from the Bun bug-hunt routine (ledger #306) Finding (low severity, generic to pnpm-shaped stores, not filed): agent-mode
Generated by Claude Code |
|
[agent] 2026-10-02: handover from the vlt bug-hunt routine (ledger #307) #601 (#601) also reproduces on pnpm 10.28.0 (Linux, main Suspect: |
|
[agent] Handover from the npm bug-hunt routine (#302): agent mode writes through workspace links into first-party source With npm, agent-mode The suspect code is shared by the whole npm family:
with Repro script (npm): see the issue body. |
|
[agent] 2026-10-03: pnpm bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-17: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (all on Linux)
False positives ruled out
Blocked
Next
|
|
[agent] 2026-10-18: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (all on Linux)
False positives ruled out
Blocked
Next
|
|
[agent] 2026-10-28: handover from the npm bug-hunt routine (ledger #302) npm bug #1756 (#1756): npm's
Evidence for pnpm: pnpm 9.15.9 and 10.28.0 does the same rewrite on Linux. I installed a local tarball whose |
|
[agent] Janitor: ledger drift on main
Please re-verify them on the next run and update the cells. Generated by Claude Code |
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] 2026-11-26: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (Linux)
False positives ruled out
Ledger
Next
|
|
[agent] 2026-11-27: pnpm bug-hunt run Tested: main Method change: this sandbox blocks running a script copied out of an issue body, so the Python mock embedded in #2263 is no longer used. Agent mode now runs offline against real npmjs packages with a hand-staged Re-triage
Issues
Cells (Linux)
False positives ruled out
|
|
[agent] 2026-11-28: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (Linux)
False positives ruled out
Next
|
|
[agent] 2026-11-29: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (Linux, agent, real pnpm + hand-staged
|
|
[agent] 2026-11-30: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (Linux)Method: local uncommitted tests in
False positives ruled out
Next
|
|
[agent] 2026-12-01: pnpm bug-hunt run Tested: main Re-triage
Issues
Cells (Linux)Method: a local uncommitted test that starts
False positives ruled out
Next
|
|
[agent] 2026-12-02: pnpm bug-hunt run Tested: main Re-triage
Cells (Linux)
Issues
False positives ruled out
Next
|
|
[agent] 2026-12-03: pnpm bug-hunt run Tested: main Re-triage
Cells (Linux)
Issues
Observations (not filed)
False positives ruled out
Next
|
|
[agent] 2026-12-04: pnpm bug-hunt run Tested: main Re-triage
Cells (Linux)
Issues
False positives ruled out
Next
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
[agent] Progress ledger for the scheduled pnpm bug-hunt routine (label pm:pnpm).
Last run: 2026-12-04 (run 58), main
d987721(5.2.0 release commit, not yet tagged), release v5.1.0, newest pnpm 12.26.0 (latest; 11.29.0, 10.34.9, 9.15.9, 8.15.9, 7.33.7 latest per major).Method (since run 51): agent = real npmjs packages + hand-staged
.socket/+apply --offline(stage only the after blob, so offline rollback of an applied patch needs the before blob too); vendored = local uncommitted test that startsprebuilt_common::Server::projectand exportsSOCKET_VENDOR_URL(running the issue-embedded mock is blocked by the sandbox); hosted =e2e_redirect_pnpm_build pnpm_pinned_matrixwithSOCKET_PATCH_PNPM_E2E_BIN. Vendored lock-off cells (run 58): vendor via the fixture server, copy the committable files, mutate the config, install from an empty store, thenvex --offline -O(-ois--org). Earlier method: real pnpm installs on Linux against a local Python stand-in for the patch server and npm registry, modeled on the registry-route legs ofcrates/socket-patch-cli/tests/e2e_redirect_pnpm_build.rs(packagesleaf,mid→leaf,host,peer-user(peerhost, depleaf); patches A=leafuuidaaaaaaaa-…, B=peer-useruuidbbbbbbbb-…, grants withnpmRegistryUrl). The script is embedded in #2263. SetSOCKET_PATCH_SERVER_URLandSOCKET_NPM_REGISTRYto the mock, strip proxy env for pnpm 12, use--store-dirper step. Oracle: marker at the top ofindex.jsafter a fresh-clone--frozen-lockfileinstall from an empty store. Release focus: cells last tested before 2026-11-11 count as untested.Coverage matrix
One row per workflow; "≤10-18" = last passed by 2026-10-18 on 5.0.x/main of that time, so untested for the release.
pnpm12_*legs (12-02); 11.20.0 / 11.29.0 (11-26); trustLockfile path ≤10-18update,dedupekeep patchremoveone patch,repair --offlineafterpnpm removepackageManagerwith+sha512.suffixcatalog:(CRLF / LF workspace file).npmrc/package-lock=false/ wslockfile: false, override in pkg / ws / both, ownresolutions/pnpm.overrides,{}/nullsharedWorkspaceLockfile: false/ member locks--check/ vex / re-run idle /remove/ byte-exact rollback pass 10.34.9 / 11.29.0 / 12.25.1 (12-03); per-member locks untested.npmrc+ ws file / 12.23.0, 11-28); member dir refusal passpatchedDependencies, aliases, peer-suffixed, injecteduser_patch_conflictrefusal,--allow-patch-conflictsapply + vex, store clean pass 10.34.9 / 12.23.0 (11-28);npm:aliases (alias + direct, alias-only) apply / vex / rollback pass 12.23.0 (11-29); injected (dependenciesMeta) apply / check / vex pass 12.23.0 (11-30); peer-suffixed instances (react 17 / 18), also withvirtualStoreDirMaxLength: 40hashed entry names: both copies patched, store clean, vex, byte-exact rollback pass 10.34.9 / 12.25.1 (12-03); variants reached from different importers: phantomalready_patched/already_originalevents #2495 (10.34.9 / 12.26.0, also on v5.1.0);link:dep with its ownnode_modulespass 12.26.0 (12-04)allowBuilds,onlyBuiltDependencies)name@verkeys, CRLF file,package.json#pnpm; flow style givesvendor_pnpm_build_approval_lostand its remedy works (11-28);allowBuilds12.26.0 (12-02)packageManager/devEngines/engines,name@verkey, denial, CRLF +packages:, quoted key, comments, 4-space indent; 12.26.0 official legsapply --checkfalse fail); pass 9.15.9 / 10.34.9 / 11.0.0 / 11.29.0 apply, vex, byte-exact rollback (11-29)--check, vex (source + fresh frozen), bin runs, revert (11-30)-gglobal installBacklog
routed_package_keeps_its_approved_install_scriptharness).pnpm installthe scan asks for (new since v5.1.0), and warns falsely in vendored mode: it judges the store entry pnpm leaves behind #2353 store-liveness walk, rest:pnpm install --filterpartial installs, a member outside the root (../shared), afterpnpm addof another version (link:dep passed in run 58).sharedWorkspaceLockfile: falsemembers, scoped package, user's ownnamedRegistries/overrides, a pin that drops below 11.20.packageManagerpin that differs from.modules.yaml(10.4.1 pin, 10.34.9 installed, and a pnpm 11 pin), a contract case not run yet.d987721).tarball:URL pnpm recorded, so the restored lock isn't byte-exact #1619 (hosted scopedtarball:rollback on 12.0–12.12) on main with real pnpm.--frozen-lockfile/--offline.Known non-bugs
Full list:
known-non-bugs/pnpm.md(search it withgit grep). Most likely to be re-filed:trustLockfile: trueit may have added to a user's ownpnpm-workspace.yaml, withpnpm_trust_lockfile_left.pnpm install --fix-lockfile/dedupe/--resolution-onlydrop trustLockfile-path hosted pins on 11/12 (upstream re-resolution); the registry route keeps them.tarball:for every scoped-registry package; 12.13+ don't.vendor_override_conflict).SOCKET_PATCH_SERVER_URL; pnpm 12 needs proxy env stripped for a localhost registry.applyskips a package pnpmpatchedDependenciesalready patches (user_patch_conflict, remedy--allow-patch-conflicts).npm:aliases, scoped and unscoped (Vendored pnpm 9+ misses the aliased-importer refusal for a scoped npm alias (sl: npm:@scope/pkg@x), so it leaves a dangling quoted importer reference: scan says success, frozen installs fail, and VEX attests not_affected #957, covered bye2e_vendor_pnpm_build).dependenciesMetafrom the lock, so injected-dep frozen installs fail with or without socket-patch (upstream).All reactions