Repository navigation
fix(config): honor the runtime setting - #17261
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
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.
Integrated-Benchmark Report (Linux)Commit: 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.6194408288999993,
"stddev": 0.09788626916765912,
"median": 2.6420804465999996,
"user": 2.21308008,
"system": 1.646391,
"min": 2.4397354261,
"max": 2.7578664781
},
{
"command": "pacquet@main",
"mean": 2.6928011533,
"stddev": 0.1453928231364261,
"median": 2.6824644176,
"user": 2.44580748,
"system": 1.7468042999999998,
"min": 2.4881258671,
"max": 3.0477006181
},
{
"command": "pnpr@HEAD",
"mean": 1.5921662488000003,
"stddev": 0.10831504344189721,
"median": 1.5884748941000002,
"user": 2.0649907799999996,
"system": 1.7231481,
"min": 1.3815912771,
"max": 1.7279035911000002
},
{
"command": "pnpr@main",
"mean": 1.4889082866999999,
"stddev": 0.10801116744908162,
"median": 1.4749739691000001,
"user": 2.1821278800000004,
"system": 1.6254607999999997,
"min": 1.3703229981,
"max": 1.6971424711
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.33756452278000004,
"stddev": 0.03708596251998413,
"median": 0.33770444818,
"user": 0.39207998,
"system": 0.74808648,
"min": 0.28472974168,
"max": 0.38904482368000004
},
{
"command": "pacquet@main",
"mean": 0.31954231368,
"stddev": 0.027738789174447446,
"median": 0.32038332067999997,
"user": 0.37163717999999996,
"system": 0.7221140800000001,
"min": 0.28102472468,
"max": 0.38100875268
},
{
"command": "pnpr@HEAD",
"mean": 0.31387734968000003,
"stddev": 0.01727014493009107,
"median": 0.31650331568,
"user": 0.34908427999999997,
"system": 0.6750622799999999,
"min": 0.29036794668,
"max": 0.33627954868
},
{
"command": "pnpr@main",
"mean": 0.39798695668,
"stddev": 0.07011097359296092,
"median": 0.41659815418,
"user": 0.4341948799999999,
"system": 0.82088178,
"min": 0.29071077168000004,
"max": 0.47571451068000004
}
]
}Scenario: Isolated linker: repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.013284815480000003,
"stddev": 0.004882956583010056,
"median": 0.01123331428,
"user": 0.007704046666666665,
"system": 0.006768678400000002,
"min": 0.00846279978,
"max": 0.033066121780000006
},
{
"command": "pacquet@main",
"mean": 0.011067240346820275,
"stddev": 0.0013235616298402002,
"median": 0.010913880780000001,
"user": 0.006539452718894009,
"system": 0.005638879078341011,
"min": 0.00853347278,
"max": 0.01596469878
},
{
"command": "pnpr@HEAD",
"mean": 0.011103373755490198,
"stddev": 0.001496504098127486,
"median": 0.01093848728,
"user": 0.00675972980392157,
"system": 0.0053908586274509784,
"min": 0.00846765078,
"max": 0.018014886780000003
},
{
"command": "pnpr@main",
"mean": 0.010506292285976097,
"stddev": 0.0010678361841671646,
"median": 0.01035144778,
"user": 0.006220281752988047,
"system": 0.005282711792828683,
"min": 0.00826178478,
"max": 0.014618857780000001
}
]
}Scenario: Isolated linker: repeat install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.01524938700364781,
"stddev": 0.0021959654028752816,
"median": 0.015072020620000003,
"user": 0.00809075031446541,
"system": 0.008338662138364778,
"min": 0.010643957620000002,
"max": 0.02191980662
},
{
"command": "pacquet@main",
"mean": 0.018967750799190743,
"stddev": 0.004798109704566569,
"median": 0.01883645362,
"user": 0.009596422543352596,
"system": 0.010423514913294797,
"min": 0.01163932062,
"max": 0.03646753262
},
{
"command": "pnpr@HEAD",
"mean": 0.017628634965794393,
"stddev": 0.0044228532054203795,
"median": 0.01638753562,
"user": 0.010288597196261677,
"system": 0.008643382429906539,
"min": 0.012172643620000001,
"max": 0.03236568262
},
{
"command": "pnpr@main",
"mean": 0.01629009595522727,
"stddev": 0.0031370632962942255,
"median": 0.01575587162,
"user": 0.009256944318181817,
"system": 0.008375761136363636,
"min": 0.01171419062,
"max": 0.03216589662
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 3.0127547569200006,
"stddev": 0.14908464983518954,
"median": 3.00845341612,
"user": 3.6740495399999995,
"system": 2.5141883600000003,
"min": 2.7852155336199997,
"max": 3.2363649826199996
},
{
"command": "pacquet@main",
"mean": 2.77184414772,
"stddev": 0.09962869465968356,
"median": 2.7653588011199997,
"user": 3.1350846399999996,
"system": 2.0206248600000003,
"min": 2.6416621186199998,
"max": 2.94441404762
},
{
"command": "pnpr@HEAD",
"mean": 1.6557577359200004,
"stddev": 0.13685111736657782,
"median": 1.6085362541200001,
"user": 2.16976494,
"system": 1.8818951600000002,
"min": 1.5281938666200001,
"max": 1.9524463086200001
},
{
"command": "pnpr@main",
"mean": 1.6156417029200003,
"stddev": 0.07731685751866595,
"median": 1.5848383686200003,
"user": 2.0990292399999997,
"system": 1.6914432599999998,
"min": 1.54093470562,
"max": 1.75738486462
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.734735181,
"stddev": 0.028713037634870587,
"median": 0.7423018706000001,
"user": 1.09344012,
"system": 1.0989139800000003,
"min": 0.6909322591000001,
"max": 0.7868055761000001
},
{
"command": "pacquet@main",
"mean": 0.6148964420000002,
"stddev": 0.052728683669068056,
"median": 0.5952962231000001,
"user": 0.9041542199999999,
"system": 0.9548993799999999,
"min": 0.5482904971000001,
"max": 0.7138778431
},
{
"command": "pnpr@HEAD",
"mean": 0.34987331279999995,
"stddev": 0.01091102663164613,
"median": 0.3498749216,
"user": 0.30843982,
"system": 0.67314348,
"min": 0.3357115041,
"max": 0.3647849811
},
{
"command": "pnpr@main",
"mean": 0.38726380219999995,
"stddev": 0.046615117143232486,
"median": 0.3759063486,
"user": 0.3610147199999999,
"system": 0.69820308,
"min": 0.3572108561,
"max": 0.5150080911
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.79334719304,
"stddev": 0.07749768840332402,
"median": 1.78393368984,
"user": 1.22723746,
"system": 1.10443254,
"min": 1.7023720723400002,
"max": 1.9485914433400002
},
{
"command": "pacquet@main",
"mean": 1.7746236601400003,
"stddev": 0.035898623412508344,
"median": 1.76158518584,
"user": 1.20069416,
"system": 1.06969804,
"min": 1.73995234734,
"max": 1.84580213334
},
{
"command": "pnpr@HEAD",
"mean": 0.43843072304,
"stddev": 0.07073188128378541,
"median": 0.41757965784000006,
"user": 0.41633036,
"system": 0.78060614,
"min": 0.38249138834,
"max": 0.61432946334
},
{
"command": "pnpr@main",
"mean": 0.47484720174,
"stddev": 0.03254730730323559,
"median": 0.47644885434000006,
"user": 0.44503536000000005,
"system": 0.8408292399999999,
"min": 0.43262469334000003,
"max": 0.5256271893400001
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.43334277698,
"stddev": 0.07552712956187226,
"median": 0.42176525318,
"user": 0.45358526,
"system": 0.17779304,
"min": 0.35551177868,
"max": 0.6132456116800001
},
{
"command": "pacquet@main",
"mean": 0.45706018198000004,
"stddev": 0.052416506682070055,
"median": 0.45152959618,
"user": 0.48014636,
"system": 0.20241994000000002,
"min": 0.37635988568,
"max": 0.56189163068
},
{
"command": "pnpr@HEAD",
"mean": 0.1549342017425,
"stddev": 0.013611803754784619,
"median": 0.15711714568000001,
"user": 0.07364474749999998,
"system": 0.0382235275,
"min": 0.13753940868,
"max": 0.17691302368
},
{
"command": "pnpr@main",
"mean": 0.14199674034666668,
"stddev": 0.016975562391276275,
"median": 0.13945021568,
"user": 0.07065726,
"system": 0.028496906666666665,
"min": 0.11912031468,
"max": 0.18307365868
}
]
}Scenario: Isolated linker: peer-heavy resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.2987700151422223,
"stddev": 0.01998862113895848,
"median": 0.29562706792000004,
"user": 0.32602935555555557,
"system": 0.06316733333333333,
"min": 0.27453953792,
"max": 0.33050444792000006
},
{
"command": "pacquet@main",
"mean": 0.3077316323644445,
"stddev": 0.02750252405020122,
"median": 0.30055998692,
"user": 0.33022413333333334,
"system": 0.07451077777777777,
"min": 0.27960821592,
"max": 0.35725717392000006
},
{
"command": "pnpm@HEAD",
"mean": 5.109481120586667,
"stddev": 0.3687451996893138,
"median": 5.0630153579199995,
"user": 8.109369577777777,
"system": 0.4837901111111111,
"min": 4.62688003492,
"max": 5.704355823919999
}
]
}Scenario: Isolated linker: linked-workspace resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.11986186007833333,
"stddev": 0.007140046378816795,
"median": 0.11841187562000001,
"user": 0.11523857833333333,
"system": 0.05617456499999999,
"min": 0.10574799212000001,
"max": 0.14295642512
},
{
"command": "pacquet@main",
"mean": 0.11925471629391302,
"stddev": 0.007430440616444068,
"median": 0.11836169612,
"user": 0.1136731852173913,
"system": 0.05429870086956521,
"min": 0.10383976612000001,
"max": 0.13738767112
}
]
}Scenario: Isolated linker: injected workspace repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.10170758484962959,
"stddev": 0.010545627710304555,
"median": 0.09987097922000002,
"user": 0.03524978814814814,
"system": 0.0744115688888889,
"min": 0.08831002522,
"max": 0.14207934322000002
},
{
"command": "pacquet@main",
"mean": 0.13070767047,
"stddev": 0.013412789791181452,
"median": 0.13170012022,
"user": 0.051064515,
"system": 0.08942455500000002,
"min": 0.10841502122,
"max": 0.15223152822000002
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.978375636860001,
"stddev": 0.2366368553475107,
"median": 4.92202455396,
"user": 2.9530366799999994,
"system": 2.15988028,
"min": 4.628944934960001,
"max": 5.32025064996
},
{
"command": "pacquet@main",
"mean": 5.2281211259600004,
"stddev": 0.3147196855753119,
"median": 5.08836597646,
"user": 3.37534068,
"system": 2.3442752799999997,
"min": 4.91792146696,
"max": 5.75533935196
},
{
"command": "pnpr@HEAD",
"mean": 4.54128390196,
"stddev": 0.421766871654131,
"median": 4.55828828196,
"user": 3.1628615799999995,
"system": 2.40740018,
"min": 3.80521975396,
"max": 5.11386608996
},
{
"command": "pnpr@main",
"mean": 5.36523323616,
"stddev": 0.6333222891058473,
"median": 5.15743227196,
"user": 3.5081991799999996,
"system": 2.75473778,
"min": 4.75136064796,
"max": 6.87003750996
}
]
}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.1775029082575,
"stddev": 0.02616447220741543,
"median": 0.16611250432000002,
"user": 0.2177151725,
"system": 0.17676912249999996,
"min": 0.15415709382,
"max": 0.22940404682
},
{
"command": "pacquet@main",
"mean": 0.1663902456866667,
"stddev": 0.012935310619234183,
"median": 0.16348798982,
"user": 0.20725079333333335,
"system": 0.16872979333333332,
"min": 0.14873519982,
"max": 0.19174843082
},
{
"command": "pnpr@HEAD",
"mean": 0.17062756324857142,
"stddev": 0.006896758154522032,
"median": 0.17030900532,
"user": 0.1945552885714286,
"system": 0.17671198857142859,
"min": 0.16181134882,
"max": 0.18183292382000002
},
{
"command": "pnpr@main",
"mean": 0.17995580882,
"stddev": 0.006521774291414739,
"median": 0.17875109132,
"user": 0.21671314571428568,
"system": 0.17125434571428572,
"min": 0.16887755482,
"max": 0.18920233882
}
]
}Scenario: Store only: unlocked direct deps, cold cache + hot storeStore-only install (
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.3165769989999998,
"stddev": 0.07782120683015703,
"median": 1.3340087636,
"user": 0.8477788399999999,
"system": 0.34047426,
"min": 1.1911118151,
"max": 1.4286653451
},
{
"command": "pacquet@main",
"mean": 1.2238044759,
"stddev": 0.02027967013765481,
"median": 1.2198145716000002,
"user": 0.67130654,
"system": 0.27679635999999996,
"min": 1.1899625381,
"max": 1.2659779451
}
]
}Scenario: Cargo: repeat install, hot cache + hot storeFrozen repeat install of a Cargo workspace (
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.039108070826470574,
"stddev": 0.005713166605012544,
"median": 0.037217133900000005,
"user": 0.027646413529411766,
"system": 0.02112833,
"min": 0.033440087900000005,
"max": 0.061048355900000004
},
{
"command": "pacquet@main",
"mean": 0.037997048737500004,
"stddev": 0.0034648243385062365,
"median": 0.03691979890000001,
"user": 0.028226639999999997,
"system": 0.018900442500000003,
"min": 0.0334753339,
"max": 0.049122880900000006
}
]
} |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #17261 +/- ##
==========================================
- Coverage 92.54% 92.54% -0.01%
==========================================
Files 1864 1864
Lines 241552 241568 +16
==========================================
+ Hits 223550 223554 +4
- Misses 18002 18014 +12 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
pnpm v11 skips installing the runtimes from devEngines.runtime and engines.runtime when the `runtime` setting is false (pnpm11/installing/commands/src/installSingleProject.ts and recursive/context.ts pass `skipRuntimes: opts.runtime === false`). It reads the setting from pnpm-workspace.yaml, `pnpm_config_runtime`, and `--config.runtime`, and not from the global config.yaml, where `runtime` is an excluded key. v12 had `Config::skip_runtimes` but no source ever set it, so `runtime: false` was dropped and only `--no-runtime` skipped runtimes. `WorkspaceSettings` now has a `runtime` field. It is read from pnpm-workspace.yaml and the `PNPM_CONFIG_RUNTIME` env var (and through it from `--config.runtime`), cleared from the global config.yaml, and applied as `skip_runtimes = !runtime`. It is also reported to and reset by updateConfig hooks. `--no-runtime` still forces the skip on top. `pnpm dedupe` and `pnpm prune` no longer force `skip_runtimes` to false, so they follow the setting as they do in v11, where both go through installDeps. Tested by config-crate tests (yaml sets it, env overrides yaml, global config.yaml ignores it) and by e2e tests in install_runtimes::no_runtime (`runtime: false` and `--config.runtime=false` skip the runtime fetch, `--config.runtime=true` overrides the yaml). The yaml and CLI e2e cases fail with the apply line removed. Part of pnpm/tasks#191. Co-Authored-By: Claude Opus 5.5 <[email protected]>
pnpm v11 hands updateConfig hooks the merged config, so `runtime` is absent until a source sets it, and `--no-runtime` arrives as `runtime: false` (install.ts lists `runtime` among its CLI options). The first commit reported the resolved value instead, so every hook saw `runtime: true` by default and never saw `--no-runtime`. `from_resolved` now reports `runtime` only as a source set it, like the other presence-read settings. Before the hooks run, the install pipelines record `--no-runtime` as the CLI-set `runtime: false`, which also keeps a hook from turning it back on, matching v11's restoreCliSettings. Tested by install_runtimes::no_runtime::update_config_sees_runtime_only_when_set (absent by default, false from the yaml and from --no-runtime, true from --config.runtime=true). Each half of the fix, reverted on its own, fails that test. Part of pnpm/tasks#191. Co-Authored-By: Claude Opus 5.5 <[email protected]>
`pnpm dedupe` and `pnpm prune` follow the `runtime` setting since the previous commits, but still passed `RuntimePolicy::Always`, so the engineStrict root check compared `engines.node` with the `devEngines.runtime` version they no longer install. Both now pass the configured policy, as `add`, `update`, and `remove` do, and `RuntimePolicy::Always` is gone. A skipped runtime therefore means the check uses the active Node.js, as `install --no-runtime` already does. v11 keeps checking against the manifest runtime there. That difference is v12's existing `--no-runtime` behavior, now also applied to the setting. pnpm v11 dedupe takes install's options, `runtime` included (dedupe.ts, install.ts), so `pnpm dedupe --no-runtime` now works too. v11 prune does not accept the flag, so v12 prune stays without it. Tests: dedupe and prune skip the runtime under `runtime: false` and `dedupe --no-runtime` (fails with the removed `skip_runtimes = false` lines restored); with engineStrict they check the active Node.js (fails when the policy ignores the skip); an updateConfig hook cannot undo `--no-runtime` on install or dedupe (fails without recording the flag in cli_settings); a hook setting `runtime: false` skips the runtime. The install docs now spell the setting `runtime: false`, and the dedupe docs list `--no-runtime`. Part of pnpm/tasks#191. Co-Authored-By: Claude Opus 5.5 <[email protected]>
no_runtime_checks_the_active_node_instead_of_the_manifest_runtime used a `>=1.0.0` devEngines.runtime range. A range yields no configured Node.js version, so the root engine check used the active Node.js whether or not `--no-runtime` was given, and the test could not fail. With an exact `1.0.0` the manifest runtime does not satisfy `engines.node`, so the test now fails with ERR_PNPM_UNSUPPORTED_ENGINE when the check ignores the skip. Part of pnpm/tasks#191. Co-Authored-By: Claude Opus 5.5 <[email protected]>
d1d1c4f to
eeda050
Compare
|
@coderabbitai review |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
PR Summary by QodoHonor runtime settings across installing commands
AI Description
Diagram
High-Level Assessment
Files changed (19)
|
Code Review by Qodo
1. Changeset lead omits the runtime effect
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Rate Limit Exceeded
|
…#17269) The v12 settings reference (the index in pnpm/docs/settings.md and the sections of pnpm/docs/settings/*.md with their imported partials) had drifted from the keys pnpm reads from config files: settings with no section, sections missing from the index, and sections for settings no code reads. Nothing caught it. A unit test in pnpm-config now compares the reference with the camelCase field names of WorkspaceSettings (the list the unknown-setting check already reads off the struct). It extracts setting names from headings (dotted names count for their top-level key; headings listing several names split on `,` and `/`; prose headings and CLI flags are skipped), computes Docusaurus anchors, and checks every index link resolves. Index entries linking to other pages document a setting when the anchor exists; a link without an anchor documents none. The runtime setting, read since #17261, gets a section in settings/cli.md and an index entry. The remaining gaps sit in per-kind allowlists, each entry noting where the setting is documented or that it is not. A new gap fails the test, and so does an allowlist entry that is no longer a gap. Part of the Prevention section of pnpm/tasks#191. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
pnpm v12 had
Config::skip_runtimesbut nothing set it from configuration, soruntime: falseinpnpm-workspace.yamlwas dropped and only--no-runtimeskipped the runtimes fromdevEngines.runtime/engines.runtime. pnpm v11 honors the setting (skipRuntimes: opts.runtime === falseinpnpm11/installing/commands/src/installSingleProject.tsandrecursive/context.ts).This PR makes v12 read
runtimefrom the same sources v11 does:pnpm-workspace.yaml,pnpm_config_runtime/PNPM_CONFIG_RUNTIME, and--config.runtime. The globalconfig.yamlis left out, becauseruntimeis in v11'sexcludedPnpmKeys. Every installing command follows it:install,add,update,remove,deploy, and nowdedupeandprune, which used to force runtimes on.pnpm dedupealso accepts--no-runtime, as in v11.updateConfighooks seeruntimethe way v11 shows it, and cannot undo--no-runtime.Intended difference from v11: with
engineStrict: true, once runtimes are skipped (by the setting or--no-runtime), v12 checks the rootengines.nodeagainst the active Node.js. v11 checks it against thedevEngines.runtime/engines.runtimeversion even when that runtime is not installed (finalizeConfig.tssetsnodeVersionfrom the manifest regardless ofruntime). v12 already did this for--no-runtime(#15135, pinned byinstall_root_engine::no_runtime_checks_the_active_node_instead_of_the_manifest_runtime), and this PR applies the same rule to the setting.Part of pnpm/tasks#191
Overlap with #16563 (deps-restorer: unify target Node.js version resolution): both PRs add tests to
pnpm/crates/cli/tests/suite/install_runtimes/no_runtime.rs, and that PR changes how the target Node.js version is picked when runtimes are skipped. This PR only changes where the skip comes from and which commands honor it. Whichever lands second should reruninstall_runtimes::no_runtimeandinstall_root_engine.Squash Commit Body
Checklist
are implemented in every affected version. (v12 only. v11 already behaves this way, except for the engine-check difference above.)
pnpm changeset) if this PR changes any publishedpackage. Keep it short and written for pnpm users — it becomes a release note.
Written by an agent (Claude Code, claude-opus-5-5).
🤖 Generated with Claude Code
Summary by CodeRabbit
runtimesetting inpnpm-workspace.yamland support for configuring it through environment variables or CLI options. Set it tofalseto skip installing runtimes declared indevEngines.runtimeandengines.runtime.pnpm dedupe --no-runtimeto skip runtime installation during deduplication.pnpm dedupeandpnpm prunenow respect the configured runtime setting.