Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16588 +/- ##
==========================================
- Coverage 92.22% 92.22% -0.01%
==========================================
Files 2465 2465
Lines 313085 313096 +11
==========================================
+ Hits 288753 288761 +8
- Misses 24332 24335 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Micro-Benchmark ResultsLinux |
Same-run regression checkHEAD and main are measured on the same runner. The tolerance is 5% of the main median or 2 ms, whichever is larger. A regression requires both the median slowdown and the gap between the fastest retained HEAD sample and slowest retained main sample to exceed this tolerance, after trimming up to 10% from each tail. Suspected regressions are rerun once with target order reversed and only fail if reproduced. This conservative noise guard is not a statistical confidence interval. Inconclusive rows do not fail the check. They remain visible for performance review. Bencher retains absolute minimum timings for historical tracking; historical alerts do not gate this PR. Sequential measurements can still be affected by runner drift.
Same-run syscall checkEach install runs 2 more times per revision, untimed, under
Integrated-Benchmark Report (Linux)Commit: Compared against main at: Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm; the linked, injected, and Cargo workspace scenarios compare current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD. The tables below show mean ± σ. Bencher tracks absolute minimum latency; PR regression checks compare HEAD and main samples from the same runner. Historical timing alerts do not gate PRs. Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.4618782188400004,
"stddev": 0.11523348741516097,
"median": 2.42483297284,
"user": 2.3986724400000003,
"system": 1.50998076,
"min": 2.35292756884,
"max": 2.66216037684
},
{
"command": "pacquet@main",
"mean": 2.4015857786400003,
"stddev": 0.14449351926516396,
"median": 2.31855172634,
"user": 2.21916374,
"system": 1.42603736,
"min": 2.2565666768400003,
"max": 2.63862422684
},
{
"command": "pnpr@HEAD",
"mean": 1.50716454794,
"stddev": 0.09898694515300255,
"median": 1.5519131658399998,
"user": 2.1767576400000004,
"system": 1.4993340600000002,
"min": 1.35747575884,
"max": 1.64130638684
},
{
"command": "pnpr@main",
"mean": 1.51591764164,
"stddev": 0.1285994733668038,
"median": 1.52654012634,
"user": 2.3963068400000003,
"system": 1.53503186,
"min": 1.35459764884,
"max": 1.6945438878399999
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.21344485662,
"stddev": 0.011525177953248728,
"median": 0.21151237622000002,
"user": 0.26392373999999996,
"system": 0.5297510599999999,
"min": 0.19923189472000002,
"max": 0.23078574472000002
},
{
"command": "pacquet@main",
"mean": 0.23165791512,
"stddev": 0.010155272019581985,
"median": 0.22833410622,
"user": 0.28741933999999997,
"system": 0.5837105599999999,
"min": 0.22206325472000002,
"max": 0.25579221372
},
{
"command": "pnpr@HEAD",
"mean": 0.26355219172,
"stddev": 0.04130784575905267,
"median": 0.25282562122,
"user": 0.31135794,
"system": 0.5949836599999999,
"min": 0.22202080472000002,
"max": 0.35500457172
},
{
"command": "pnpr@main",
"mean": 0.26406924942,
"stddev": 0.033343938279570995,
"median": 0.25519580371999995,
"user": 0.31402673999999997,
"system": 0.6141144599999999,
"min": 0.22760715972,
"max": 0.34921344372
}
]
}Scenario: Isolated linker: repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.012562764187899167,
"stddev": 0.0016558596835377674,
"median": 0.012246966440000001,
"user": 0.0075006038655462196,
"system": 0.006200146218487397,
"min": 0.010082011440000002,
"max": 0.01813862344
},
{
"command": "pacquet@main",
"mean": 0.011569546239043065,
"stddev": 0.0013316746281004275,
"median": 0.011310871440000002,
"user": 0.007242368229665063,
"system": 0.005306194354066988,
"min": 0.009541830440000001,
"max": 0.01678937344
},
{
"command": "pnpr@HEAD",
"mean": 0.010411295681666665,
"stddev": 0.0006109067682754489,
"median": 0.010308020940000003,
"user": 0.006605344166666665,
"system": 0.00464680925,
"min": 0.009283050440000001,
"max": 0.013620772440000001
},
{
"command": "pnpr@main",
"mean": 0.011527592931228067,
"stddev": 0.000958163633094745,
"median": 0.011385451440000001,
"user": 0.007089331228070172,
"system": 0.005378812491228071,
"min": 0.009471641440000001,
"max": 0.014512092440000002
}
]
}Scenario: Isolated linker: repeat install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.013261514867485377,
"stddev": 0.001580964544541111,
"median": 0.01317741654,
"user": 0.007935250409356722,
"system": 0.006617200584795322,
"min": 0.01068444854,
"max": 0.018649415540000002
},
{
"command": "pacquet@main",
"mean": 0.011606768760779216,
"stddev": 0.0010432285874264018,
"median": 0.01133967754,
"user": 0.0074552122077922115,
"system": 0.0051600606060606055,
"min": 0.009845418540000001,
"max": 0.01488821754
},
{
"command": "pnpr@HEAD",
"mean": 0.011891423236261687,
"stddev": 0.0010430822978115073,
"median": 0.01166334254,
"user": 0.006988321869158879,
"system": 0.005913220560747665,
"min": 0.00988941754,
"max": 0.014987986540000001
},
{
"command": "pnpr@main",
"mean": 0.011625411235652175,
"stddev": 0.0010565989031275254,
"median": 0.01150421804,
"user": 0.0072017352173913045,
"system": 0.005435085326086956,
"min": 0.00976486854,
"max": 0.01458505654
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.45345624116,
"stddev": 0.05394257827219637,
"median": 2.43934393286,
"user": 2.75086808,
"system": 1.6440245,
"min": 2.41308508436,
"max": 2.59986291936
},
{
"command": "pacquet@main",
"mean": 2.4700508352600004,
"stddev": 0.07515453902293373,
"median": 2.46075315486,
"user": 2.7390022800000002,
"system": 1.6951692,
"min": 2.40055200336,
"max": 2.65787716336
},
{
"command": "pnpr@HEAD",
"mean": 1.5933756567599997,
"stddev": 0.15791895386598773,
"median": 1.54840384886,
"user": 2.24205638,
"system": 1.5948933,
"min": 1.4294159253599998,
"max": 1.8252028173600001
},
{
"command": "pnpr@main",
"mean": 1.57267269966,
"stddev": 0.13521028097241844,
"median": 1.5241621583599998,
"user": 2.30202718,
"system": 1.6933889,
"min": 1.4481917523599999,
"max": 1.82787831436
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.5433682960599999,
"stddev": 0.038440043184778144,
"median": 0.52745912946,
"user": 0.8106945399999999,
"system": 0.9628262599999997,
"min": 0.5019813654599999,
"max": 0.6155814454599999
},
{
"command": "pacquet@main",
"mean": 0.51549649976,
"stddev": 0.0149300883554077,
"median": 0.5162556359599999,
"user": 0.78208974,
"system": 0.9088098600000002,
"min": 0.48967826246,
"max": 0.5423787904599999
},
{
"command": "pnpr@HEAD",
"mean": 0.31416481786,
"stddev": 0.00837307913696369,
"median": 0.31343679746,
"user": 0.28145304000000004,
"system": 0.6428213599999999,
"min": 0.29678019646000003,
"max": 0.32604429946
},
{
"command": "pnpr@main",
"mean": 0.31836028166,
"stddev": 0.006099992078107879,
"median": 0.31702983496000003,
"user": 0.31169984000000006,
"system": 0.64087646,
"min": 0.31252311046000003,
"max": 0.32995190746
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.7458788004800003,
"stddev": 0.08698598154970043,
"median": 1.72173690028,
"user": 1.4947301199999998,
"system": 1.32846034,
"min": 1.7004641422800002,
"max": 1.99156486328
},
{
"command": "pacquet@main",
"mean": 1.77501608188,
"stddev": 0.10408499412715462,
"median": 1.7366738712800003,
"user": 1.51514012,
"system": 1.29135574,
"min": 1.6698879532800002,
"max": 1.99179913928
},
{
"command": "pnpr@HEAD",
"mean": 0.32588005638,
"stddev": 0.024367675401208634,
"median": 0.32303991128000004,
"user": 0.30361262,
"system": 0.6422267399999999,
"min": 0.29729478428000006,
"max": 0.37936435628000004
},
{
"command": "pnpr@main",
"mean": 0.2947365879800001,
"stddev": 0.012949133928457488,
"median": 0.29607424478,
"user": 0.27316421999999996,
"system": 0.59116824,
"min": 0.27542232628,
"max": 0.32354605028000005
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.29460648030000003,
"stddev": 0.015865848928382133,
"median": 0.29300346499999996,
"user": 0.29663465999999994,
"system": 0.1946126,
"min": 0.2679323055,
"max": 0.3180993435
},
{
"command": "pacquet@main",
"mean": 0.2860375972,
"stddev": 0.013468764099780017,
"median": 0.286669066,
"user": 0.28614496,
"system": 0.19753169999999998,
"min": 0.2591266875,
"max": 0.3089151455
},
{
"command": "pnpr@HEAD",
"mean": 0.10039232598275863,
"stddev": 0.005466681254123204,
"median": 0.0992299075,
"user": 0.04578564275862069,
"system": 0.020229496551724138,
"min": 0.09323773850000001,
"max": 0.11179918350000001
},
{
"command": "pnpr@main",
"mean": 0.10117550077586207,
"stddev": 0.004392452768399449,
"median": 0.10056381750000001,
"user": 0.04805771172413794,
"system": 0.01980470344827586,
"min": 0.09362204850000001,
"max": 0.11174157550000001
}
]
}Scenario: Isolated linker: peer-heavy resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.2630503167088889,
"stddev": 0.017032209100835447,
"median": 0.25716164282000004,
"user": 0.30706851555555553,
"system": 0.04266734666666667,
"min": 0.24584296382,
"max": 0.28686687482
},
{
"command": "pacquet@main",
"mean": 0.26404667770888895,
"stddev": 0.01009807481213023,
"median": 0.26201198982,
"user": 0.2963549599999999,
"system": 0.05037979111111111,
"min": 0.25283339782,
"max": 0.28072209382
},
{
"command": "pnpm@HEAD",
"mean": 4.688100273375556,
"stddev": 0.315878850898498,
"median": 4.643999587820001,
"user": 7.1612610711111095,
"system": 0.44498201333333337,
"min": 4.24425357582,
"max": 5.16676545782
}
]
}Scenario: Isolated linker: linked-workspace resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.10174753091142859,
"stddev": 0.010090716004334732,
"median": 0.10202193883999999,
"user": 0.10543513857142857,
"system": 0.049503630000000014,
"min": 0.08419541184,
"max": 0.12832666784000002
},
{
"command": "pacquet@main",
"mean": 0.08882477142064517,
"stddev": 0.00821914757934209,
"median": 0.08875575884,
"user": 0.09564489548387095,
"system": 0.03829583161290324,
"min": 0.07770243184,
"max": 0.11760474284
}
]
}Scenario: Isolated linker: injected workspace repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.15503746760352943,
"stddev": 0.011409189917761825,
"median": 0.15584569678000001,
"user": 0.0627489494117647,
"system": 0.10732525411764705,
"min": 0.13619333778,
"max": 0.17087533078
},
{
"command": "pacquet@main",
"mean": 0.13864263297047622,
"stddev": 0.0127990553476999,
"median": 0.13639677878,
"user": 0.05271218190476191,
"system": 0.09936767428571427,
"min": 0.12036307378,
"max": 0.16411141378
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.54389388492,
"stddev": 0.15832442936239943,
"median": 4.48835246492,
"user": 2.04062596,
"system": 1.4042499999999998,
"min": 4.39975268842,
"max": 4.85124484442
},
{
"command": "pacquet@main",
"mean": 4.52613071552,
"stddev": 0.12317283403607776,
"median": 4.51718397242,
"user": 2.05154696,
"system": 1.4101679,
"min": 4.38893417442,
"max": 4.72124251342
},
{
"command": "pnpr@HEAD",
"mean": 3.51324672462,
"stddev": 0.11316451084836054,
"median": 3.49062936592,
"user": 1.8749637600000004,
"system": 1.3418196999999998,
"min": 3.37908946042,
"max": 3.74911447242
},
{
"command": "pnpr@main",
"mean": 3.55139534932,
"stddev": 0.13221969542011394,
"median": 3.50347675942,
"user": 1.8468106600000003,
"system": 1.3155284999999999,
"min": 3.39796554442,
"max": 3.77750459542
}
]
}Scenario: GVS linker: fresh restore, hot cache + hot storeSame install as the isolated fresh-restore hot/hot scenario, into the shared virtual store, the layout pnpm 12 installs into by default. Scenarios run on separate machines, so compare main and branch within each table.
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.19573150188333333,
"stddev": 0.01191474826872432,
"median": 0.19867048880000002,
"user": 0.2681229533333333,
"system": 0.17406745999999998,
"min": 0.17551234980000002,
"max": 0.21059558180000001
},
{
"command": "pacquet@main",
"mean": 0.20680140972307692,
"stddev": 0.007877536245222368,
"median": 0.2066552708,
"user": 0.27733592769230764,
"system": 0.19742088307692304,
"min": 0.1945046768,
"max": 0.21650821380000002
},
{
"command": "pnpr@HEAD",
"mean": 0.24206398510000002,
"stddev": 0.008965016323263767,
"median": 0.24354085480000004,
"user": 0.31601862,
"system": 0.19885046,
"min": 0.22137706580000002,
"max": 0.25456920780000003
},
{
"command": "pnpr@main",
"mean": 0.22785738189090907,
"stddev": 0.013842499639685863,
"median": 0.2295243428,
"user": 0.29932216545454543,
"system": 0.1809471418181818,
"min": 0.20362956580000002,
"max": 0.24693432580000002
}
]
}Scenario: Store only: unlocked direct deps, cold cache + hot storeStore-only install (
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.1896709738600002,
"stddev": 0.036063575935036306,
"median": 1.18019568626,
"user": 0.72140068,
"system": 0.2620502,
"min": 1.15817000976,
"max": 1.2808157447600002
},
{
"command": "pacquet@main",
"mean": 1.16988497356,
"stddev": 0.01904256973161182,
"median": 1.16893869576,
"user": 0.6992861800000001,
"system": 0.2878469,
"min": 1.14840127376,
"max": 1.20357586376
}
]
}Scenario: Cargo: repeat install, hot cache + hot storeFrozen repeat install of a Cargo workspace (
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.039885191347179494,
"stddev": 0.0023463134599685243,
"median": 0.03957222786,
"user": 0.030708243589743594,
"system": 0.023353425128205135,
"min": 0.03561199736,
"max": 0.04647201436
},
{
"command": "pacquet@main",
"mean": 0.03766948150473685,
"stddev": 0.004588895867390577,
"median": 0.03693927436,
"user": 0.02908219736842105,
"system": 0.021557614736842118,
"min": 0.03197516236,
"max": 0.06875883836
}
]
} |
PR Summary by QodoPrevent pre-run reinstalls after frozen installs
AI Description
Diagram
High-Level Assessment
Files changed (19)
|
Code Review by Qodo
1. A v11 check revives the redundant install
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Qodo finding (state comment mislabels the frozen install): partly right, reworded in cd1cab7. The up-to-date refresh does not carry the value forward; it records the current install's Written by an agent (Claude Code, claude-opus-5-5). |
Your clarification is correct. Finding 1 was partly valid: the up-to-date refresh records the current install’s The revised wording—“the last install past the repeat-install check”—accurately covers both behaviors, so the finding is appropriately resolved. |
|
Code review by qodo was updated up to the latest commit cd1cab7 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Alternative approach in #16591: an opt-in Written by an agent (Claude Code, claude-opus-5-5). |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Code review by qodo was updated up to the latest commit 46b3550 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Qodo finding (release note hedges the lockfile effect): fixed in 2b150af by dropping the hedged sentence. Written by an agent (Claude Code, claude-opus-5-5). |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Code review by qodo was updated up to the latest commit 2b150af |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Thanks for the update. The change in |
A `pnpm install --frozen-lockfile` that changes packages records no `autoDedupe` baseline, since only a resolving install can record one. Outside CI the `verifyDepsBeforeRun` gate read the missing baseline as settings drift and spawned a regular install. That install reran every lifecycle script and could re-resolve and rewrite the lockfile the frozen install had just accepted. The workspace state now records `frozenLockfile` when the install that wrote it ran frozen. The materializing and up-to-date install paths set it from the install's lockfile policy, and the refresh-only paths (repeat install settle, run gate content check) carry it forward. The gate skips the `autoDedupe` key when the recorded install was frozen, unless `frozenLockfile` is configured for the run. Closes #16583 Co-Authored-By: Claude Opus 5.5 <[email protected]>
[Medium impact] The PR appears safe to merge. Reviews (1) · Last reviewed commit: "fix: keep the pre-run gate from re-resol..." · Reviewed by Greptile |
|
Code review by qodo was updated up to the latest commit 34939d3 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Closing this in favor of recording the resolution settings in the lockfile. If you run # pnpm-workspace.yaml
lockfile:
includeResolutionSettings: trueThis setting was added in #16591 (pnpm v12.10.0). The experimental Written by an agent (Claude Code, claude-opus-5-5). |
pnpm-lock.yaml does not record that it was resolved with autoDedupe, so pnpm trusts only a lockfile it deduplicated itself. A non-frozen install re-resolves a lockfile that a pull changed, and after a frozen install that changes node_modules, a plain pnpm run or pnpm exec first runs an install that reruns the lefthook postinstall (pnpm/pnpm#16583). pnpm/pnpm#16588, the fix for the default lockfile format, was closed unmerged. autoDedupe changed no dependency when it was added, so go back to the default instead of offsetting it with lockfile.includeResolutionSettings.
pnpm-lock.yaml does not record that it was resolved with autoDedupe, so pnpm trusts only a lockfile it deduplicated itself. A non-frozen install re-resolves a lockfile that a pull changed, and after a frozen install that changes node_modules, a plain pnpm run or pnpm exec first runs an install that reruns the lefthook postinstall (pnpm/pnpm#16583). pnpm/pnpm#16588, the fix for the default lockfile format, was closed unmerged. autoDedupe changed no dependency when it was added, so go back to the default instead of offsetting it with lockfile.includeResolutionSettings.
pnpm-lock.yaml does not record that it was resolved with autoDedupe, so pnpm trusts only a lockfile it deduplicated itself. A non-frozen install re-resolves a lockfile that a pull changed, and after a frozen install that changes node_modules, a plain pnpm run or pnpm exec first runs an install that reruns the lefthook postinstall (pnpm/pnpm#16583). pnpm/pnpm#16588, the fix for the default lockfile format, was closed unmerged. autoDedupe changed no dependency when it was added, so go back to the default instead of offsetting it with lockfile.includeResolutionSettings.
pnpm-lock.yaml does not record that it was resolved with autoDedupe, so pnpm trusts only a lockfile it deduplicated itself. A non-frozen install re-resolves a lockfile that a pull changed, and after a frozen install that changes node_modules, a plain pnpm run or pnpm exec first runs an install that reruns the lefthook postinstall (pnpm/pnpm#16583). pnpm/pnpm#16588, the fix for the default lockfile format, was closed unmerged. autoDedupe changed no dependency when it was added, so go back to the default instead of offsetting it with lockfile.includeResolutionSettings.
Summary
Follow-up to #16591 for #16583. #16591 fixes the issue when
lockfile.includeResolutionSettingsis on. This PR fixes it with that setting off, which is the default.Rebased onto #16591. The workspace-state writers keep its
recorded_auto_dedupeand also recordfrozenLockfile.With
autoDedupe: true, apnpm install --frozen-lockfilethat changes packages records no dedupe baseline innode_modules/.pnpm-workspace-state-v1.json, because only a resolving install can record one. Outside CI, theverifyDepsBeforeRungate read the missing baseline as settings drift and spawned a regularpnpm installbefore the script. That install reran every lifecycle script and could re-resolve and rewrite the lockfile the frozen install had just accepted. A deploy server runninggit pull && pnpm install --frozen-lockfile && pnpm run buildhits this on every deploy that changes a dependency.#16396 made the gate skip the
autoDedupekey when the install it would spawn runs frozen, which it decided from thepnpm runinvocation alone (CI or a configuredfrozenLockfile). This PR follows the issue's proposal:"frozenLockfile": truewhen the install that wrote it ran frozen. The materializing install and the up-to-date refresh set it from the install's lockfile policy. The refresh-only paths (repeat-install settle, run-gate content check) carry it forward, like they already carryautoDedupe.lockfile_stays_frozen, formerlyinstall_would_run_frozen) also skips theautoDedupekey when the recorded install was frozen. AfrozenLockfileconfigured for the run still decides on its own, so--config.frozenLockfile=falsestill gets the deduplication install.Any other drift (an edited manifest, a changed setting) still spawns the gate's usual install. Only the dedupe baseline stops counting as drift after a frozen install.
The bug is v12-only:
autoDedupedoes not exist in pnpm v11. v11 ignores the new top-level key when it reads the state file.Squash Commit Body
Checklist
already linked to it solves it.
are implemented in every affected version.
pnpm changeset) if this PR changes any publishedpackage. Keep it short and written for pnpm users — it becomes a release note.
Tests: a new CLI e2e test (
auto_dedupe::a_materializing_frozen_install_does_not_make_the_gate_spawn_an_install) reproduces the issue's flow and asserts thatpnpm runspawns no install and leaves the lockfile untouched. The gate unit test now covers the recorded frozen install and a configuredfrozenLockfile: false. Both fail with the gate change reverted.Written by an agent (Claude Code, claude-opus-5-5).
🤖 Generated with Claude Code
Summary by CodeRabbit
pnpm install --frozen-lockfile,pnpm runandpnpm execno longer trigger an additional install solely becauseautoDedupeis enabled.