Repository navigation
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: pnpm/pnpm/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pnpm/pnpm/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (16)
💤 Files with no reviewable changes (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe CLI integration suites now compile and run on more platforms. Shared helpers handle platform-specific bin shims and physical-file checks. Unix-specific commands, gates, and executable assumptions were replaced with cross-platform behavior. ChangesCross-platform CLI tests
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Other Suggested labels: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Micro-Benchmark ResultsLinux |
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-workspace scenario compares current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD. The tables below show mean ± σ; Bencher thresholds on the minimum latency, which is far less perturbed by shared-runner contention (noise only adds time). Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.3617932684000005,
"stddev": 0.16582814445816027,
"median": 2.291752731,
"user": 1.2582231599999998,
"system": 1.4382282,
"min": 2.2017354984999997,
"max": 2.6256916465
},
{
"command": "pacquet@main",
"mean": 2.3366052953999996,
"stddev": 0.1210673515082938,
"median": 2.2782240455,
"user": 1.16692926,
"system": 1.3705554,
"min": 2.2174721524999996,
"max": 2.5154901124999998
},
{
"command": "pnpr@HEAD",
"mean": 1.4103466564,
"stddev": 0.1422510503486389,
"median": 1.36199257,
"user": 1.1020192599999998,
"system": 1.2287075,
"min": 1.2679275745,
"max": 1.6533997715
},
{
"command": "pnpr@main",
"mean": 1.4519600323000001,
"stddev": 0.14412520679740418,
"median": 1.4428699790000001,
"user": 1.06807346,
"system": 1.305801,
"min": 1.2936852385,
"max": 1.6729437555000002
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.20925779678000006,
"stddev": 0.00698068154612049,
"median": 0.20897136948,
"user": 0.23042672000000003,
"system": 0.51084162,
"min": 0.19472230148,
"max": 0.21878444948
},
{
"command": "pacquet@main",
"mean": 0.19320794328000002,
"stddev": 0.006843911668082918,
"median": 0.19219978648,
"user": 0.20705942,
"system": 0.46228191999999996,
"min": 0.18580869348,
"max": 0.20594160848
},
{
"command": "pnpr@HEAD",
"mean": 0.22542857208,
"stddev": 0.010931163246086374,
"median": 0.22362841348,
"user": 0.24097792,
"system": 0.52569512,
"min": 0.20965528548,
"max": 0.25162497248000004
},
{
"command": "pnpr@main",
"mean": 0.23217886008000002,
"stddev": 0.005693828438876392,
"median": 0.23065382448000002,
"user": 0.24623042,
"system": 0.54508272,
"min": 0.22453485848000002,
"max": 0.24449973848
}
]
}Scenario: Isolated linker: repeat install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.01299604345777778,
"stddev": 0.002188695670326312,
"median": 0.012637993,
"user": 0.007749873333333335,
"system": 0.006120904888888886,
"min": 0.008655205,
"max": 0.021696240000000002
},
{
"command": "pacquet@main",
"mean": 0.01234795800613497,
"stddev": 0.002175293929832602,
"median": 0.01209825,
"user": 0.006826888957055218,
"system": 0.006380026993865028,
"min": 0.008633105,
"max": 0.019060027
},
{
"command": "pnpr@HEAD",
"mean": 0.01113123694833948,
"stddev": 0.0016433683144197568,
"median": 0.010936071,
"user": 0.006279370110701105,
"system": 0.005585370479704795,
"min": 0.007483597,
"max": 0.019550652
},
{
"command": "pnpr@main",
"mean": 0.010750829630252099,
"stddev": 0.0012502512532738808,
"median": 0.0107320485,
"user": 0.006269573109243696,
"system": 0.005223340336134453,
"min": 0.0076226160000000005,
"max": 0.014414595
}
]
}Scenario: Isolated linker: repeat install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.006325722190909087,
"stddev": 0.0003516516444028924,
"median": 0.0062901313,
"user": 0.003807410909090912,
"system": 0.00297710429090909,
"min": 0.0055435963,
"max": 0.0084489703
},
{
"command": "pacquet@main",
"mean": 0.0061884338884058,
"stddev": 0.0003513927340777528,
"median": 0.0061497663,
"user": 0.0036576660869565253,
"system": 0.002975918724637681,
"min": 0.0054619723,
"max": 0.007994837300000002
},
{
"command": "pnpr@HEAD",
"mean": 0.006203359821126757,
"stddev": 0.0002927723271679657,
"median": 0.0061912533,
"user": 0.00377900056338028,
"system": 0.002869287887323945,
"min": 0.0054842253,
"max": 0.0073509163
},
{
"command": "pnpr@main",
"mean": 0.006131251291689749,
"stddev": 0.00040021758144114216,
"median": 0.0061406593,
"user": 0.0038986926315789485,
"system": 0.002652392354570638,
"min": 0.0052164313,
"max": 0.0079147763
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.49302297846,
"stddev": 0.0281378595641209,
"median": 2.49067424416,
"user": 2.02107278,
"system": 1.67112666,
"min": 2.45317008616,
"max": 2.53135626716
},
{
"command": "pacquet@main",
"mean": 2.48164196916,
"stddev": 0.027889678126162228,
"median": 2.49087844566,
"user": 2.0014839799999997,
"system": 1.64696846,
"min": 2.4365176561600004,
"max": 2.5136918561600003
},
{
"command": "pnpr@HEAD",
"mean": 1.4575121328600003,
"stddev": 0.08186032526481742,
"median": 1.4365495996600002,
"user": 1.2201703799999999,
"system": 1.26216986,
"min": 1.37286483016,
"max": 1.60629817616
},
{
"command": "pnpr@main",
"mean": 1.45215787306,
"stddev": 0.11616746272033891,
"median": 1.3953612901599999,
"user": 1.23908188,
"system": 1.2277727600000001,
"min": 1.36516118316,
"max": 1.69903350716
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.32160873276000007,
"stddev": 0.01665077125260178,
"median": 0.32341366196000004,
"user": 0.47182117999999995,
"system": 0.7151573,
"min": 0.29453617196000004,
"max": 0.35503556396
},
{
"command": "pacquet@main",
"mean": 0.42109332446000003,
"stddev": 0.11395498546601852,
"median": 0.40386450846000005,
"user": 0.67330188,
"system": 0.9587358,
"min": 0.30665020096000006,
"max": 0.59652309096
},
{
"command": "pnpr@HEAD",
"mean": 0.25326154876,
"stddev": 0.006964972879477944,
"median": 0.25161078046,
"user": 0.19442177999999996,
"system": 0.45313679999999995,
"min": 0.24466599696000002,
"max": 0.26525549896000006
},
{
"command": "pnpr@main",
"mean": 0.25380227886,
"stddev": 0.005035438002778617,
"median": 0.25369296846,
"user": 0.19663157999999997,
"system": 0.4619013999999999,
"min": 0.24883734896,
"max": 0.26706639896000006
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 1.55215216386,
"stddev": 0.019415275887443476,
"median": 1.55244556166,
"user": 0.81965676,
"system": 0.9228588800000003,
"min": 1.52045350916,
"max": 1.58096959116
},
{
"command": "pacquet@main",
"mean": 1.54826436516,
"stddev": 0.019601105770648726,
"median": 1.5478139626599998,
"user": 0.81664976,
"system": 0.9069731799999999,
"min": 1.52089537116,
"max": 1.5849342361599998
},
{
"command": "pnpr@HEAD",
"mean": 0.26599557735999996,
"stddev": 0.01015325833152152,
"median": 0.26729179066000003,
"user": 0.22421185999999999,
"system": 0.49282948000000004,
"min": 0.24859860716000004,
"max": 0.28444923016
},
{
"command": "pnpr@main",
"mean": 0.27265815616,
"stddev": 0.006092362434383102,
"median": 0.27103036366000005,
"user": 0.22116776,
"system": 0.51460678,
"min": 0.26565531116,
"max": 0.28338992416000003
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.26742813950000005,
"stddev": 0.02838533192418292,
"median": 0.26291200560000005,
"user": 0.28934468,
"system": 0.08296282,
"min": 0.2225993971,
"max": 0.31751861010000004
},
{
"command": "pacquet@main",
"mean": 0.26625717,
"stddev": 0.04856554262877189,
"median": 0.2598839101,
"user": 0.28059368000000007,
"system": 0.08399532,
"min": 0.20953076110000002,
"max": 0.35032094710000006
},
{
"command": "pnpr@HEAD",
"mean": 0.09229812430689657,
"stddev": 0.0030747103555474886,
"median": 0.0919752991,
"user": 0.03356170758620689,
"system": 0.013846713103448274,
"min": 0.0875369261,
"max": 0.1002719261
},
{
"command": "pnpr@main",
"mean": 0.08986123588125,
"stddev": 0.0028822333394648925,
"median": 0.0886189421,
"user": 0.03176803625,
"system": 0.012498706249999998,
"min": 0.0861312961,
"max": 0.0968088741
}
]
}Scenario: Isolated linker: peer-heavy resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.7281293219577779,
"stddev": 0.1149746963792472,
"median": 0.76976604518,
"user": 0.7501481177777776,
"system": 0.16182353333333335,
"min": 0.44968374218000007,
"max": 0.82240601518
},
{
"command": "pacquet@main",
"mean": 0.7192198472911111,
"stddev": 0.07164574104197521,
"median": 0.7350133961800001,
"user": 0.7545205622222221,
"system": 0.1500470888888889,
"min": 0.60905328818,
"max": 0.8040556921800001
},
{
"command": "pnpm@HEAD",
"mean": 3.155513013957778,
"stddev": 0.12588274697529206,
"median": 3.1696676201800003,
"user": 4.926432895555556,
"system": 0.21992331111111108,
"min": 2.90945764118,
"max": 3.31460908818
}
]
}Scenario: Isolated linker: linked-workspace resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.18642239621647058,
"stddev": 0.024990876120134033,
"median": 0.17378376104,
"user": 0.1329874011764706,
"system": 0.09250833176470585,
"min": 0.16482464904000002,
"max": 0.23085195104
},
{
"command": "pacquet@main",
"mean": 0.18346646844,
"stddev": 0.005830437709517583,
"median": 0.18094106304000002,
"user": 0.13975912666666668,
"system": 0.08573338666666666,
"min": 0.17659776704000002,
"max": 0.19333053904
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.4660617409,
"stddev": 0.1720493354328917,
"median": 4.3771831233,
"user": 1.61031068,
"system": 1.63767396,
"min": 4.3185639047999995,
"max": 4.8083314628
},
{
"command": "pacquet@main",
"mean": 4.466644078100001,
"stddev": 0.13905720495751325,
"median": 4.4198651733,
"user": 1.6180991799999997,
"system": 1.6495604600000005,
"min": 4.3264728028,
"max": 4.6928631278
},
{
"command": "pnpr@HEAD",
"mean": 3.5074826254,
"stddev": 0.11707354448709441,
"median": 3.4575080593000003,
"user": 1.4034463799999997,
"system": 1.45797496,
"min": 3.3904767578,
"max": 3.7213166028000004
},
{
"command": "pnpr@main",
"mean": 3.3965285737000004,
"stddev": 0.025889866359733688,
"median": 3.3904242903000004,
"user": 1.35573708,
"system": 1.51524406,
"min": 3.3668091488000003,
"max": 3.4527144008
}
]
}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.1092131581278261,
"stddev": 0.0033914744882303912,
"median": 0.10867599278000001,
"user": 0.13575167565217391,
"system": 0.12737556869565217,
"min": 0.10378391678000001,
"max": 0.11808792678
},
{
"command": "pacquet@main",
"mean": 0.1055792389466667,
"stddev": 0.0050159313912105105,
"median": 0.10514512328,
"user": 0.13444439666666666,
"system": 0.11586416833333331,
"min": 0.09743488778,
"max": 0.11947708178000001
},
{
"command": "pnpr@HEAD",
"mean": 0.12221418941636367,
"stddev": 0.004046558766957195,
"median": 0.12167425478,
"user": 0.14503216181818182,
"system": 0.13034414181818182,
"min": 0.11484264878000001,
"max": 0.13214814878
},
{
"command": "pnpr@main",
"mean": 0.11888985473238096,
"stddev": 0.004086378759091469,
"median": 0.11914453378,
"user": 0.14468545619047618,
"system": 0.12789905523809522,
"min": 0.10935276778000001,
"max": 0.12755586478
}
]
} |
|
| Project | pnpm's project |
| Branch | pr/15097 |
| Testbed | pnpr |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholdsflag.
Click to view all benchmark results
| Benchmark | Latency | milliseconds (ms) |
|---|---|---|
| gvs-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 105.31 ms |
| isolated-linker.fresh-install.cold-cache.cold-store | 📈 view plot | 1,395.43 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 278.54 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 316.04 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 88.47 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,337.51 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,357.35 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 259.11 ms |
| isolated-linker.repeat-install.cold-cache.hot-store | 📈 view plot | 6.16 ms |
| isolated-linker.repeat-install.hot-cache.hot-store | 📈 view plot | 5.70 ms |
Nine files under `crates/cli/tests/suite/` carried a file-level `#![cfg(unix)]`, and the two `pnpm`-differential tests in `root.rs` and `bin.rs` carried a Windows `ignore`, so none of them ever compiled or ran on the Windows CI job. Four of the gates blamed "program not found" on spawning the external `pnpm`. That dates from pacquet's own CI, which installed pnpm through npm as a `pnpm.cmd` shim: Windows resolves a bare program name against `.exe` alone, so the spawn failed. The workflows have installed pnpm through `pnpm/setup` since 2026-05, and that action downloads pnpm's native `pnpm.exe`, which resolves. Nothing in those four files is unix-specific beyond the spawn. The other gates were harness details rather than platform behavior: - `repeat_install.rs` compared inode numbers to tell a file the install reused from one it replaced. It now takes a hard link as a witness and compares with `same_file`, which answers the same question on both platforms. - `multiple_importers.rs` asserted the executable bit on a linked bin. `bundled_dependencies.rs` already had a helper that checks the bit on Unix and the `.cmd` / `.ps1` launchers on Windows; it moves to the shared test utils and both files call it. - `pnpx_alias.rs` copied the binary under a name with no `.exe` suffix. - `ignore_workspace.rs` ran `pwd`, and `pipeline_watch.rs` ran `mkdir -p` and `cp`, from a package script. Both now use `node -e`, as `pipeline_cache.rs` already did. - `pipeline_cargo_cache.rs` ran its built probe binary by a path with no `.exe` suffix. Five files stay gated, each with a comment saying why: `interrupt.rs` sends POSIX signals, `run_recursive.rs` and `exec_recursive.rs` put POSIX shell bodies in nearly every package script, and `global_virtual_store.rs` and `hoisted_node_linker.rs` assert layouts shaped around symlinks. Un-gating those is the remainder of #15089. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`should_add_extra_node_paths_to_command_shims` asserted that the shim names the hidden hoisted modules dir relative to its own directory. `generate_sh_shim` writes that relative form only inside a relocatable root outside Windows; on Windows it writes the absolute path `@zkochan/cmd-shim` writes, so the entry is there under a different spelling. Assert whichever the host produces. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`append_order_script` wrote its separator as `\n` inside a double-quoted `node -e` body. `sh -c` unescapes the backslash before Node sees it, so Node received a `\n` escape and appended a newline. `cmd /d /s /c` passes the body through verbatim, so Node received the two characters and appended them literally, and the order log never matched. `String.fromCharCode(10)` carries no backslash, so both shells hand Node the same program. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Both files compile and their other tests run on Windows now, but one test in each fails there for a reason outside this change: - The watch agent reports the revision built and passed, and leaves no task output in its checkout. - The pipeline's Cargo build state is not restored into a second worktree, which recompiles instead. That run places the cache under the 8.3 short form of the temporary directory while the worktree carries the long one. Narrow the skip to those two tests rather than gating the files, so the rest keeps running, and record what was seen for whoever picks them up. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`reinstalls_missing_packages_during_headless_install` dropped the direct dependency's link with `fs::remove_file`. That link is a symlink on Unix and a junction on Windows, and `DeleteFileW` refuses a directory-shaped reparse point with `ERROR_ACCESS_DENIED`. `pnpm_fs::remove_dirent` already routes each shape to the call that removes it, and its docs name this exact failure. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`reinstalls_missing_packages_during_headless_install` searched the NDJSON stream for the raw path of the directory it had removed. The stream is JSON, so a Windows path arrives with each separator escaped and the raw form matches nothing. Serialize the path the way the reporter did and search for that. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The NDJSON needle still missed on Windows: the tests run under a temporary directory handed to them in its 8.3 short form (`C:\Users\RUNNER~1\...`), and the reporter names the long one. Canonicalize the directory while it still exists, and match that. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15097 +/- ##
========================================
Coverage 91.24% 91.24%
========================================
Files 1343 1343
Lines 180091 180203 +112
========================================
+ Hits 164325 164431 +106
- Misses 15766 15772 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
PR Summary by QodoRun nine CLI end-to-end suites on Windows
AI Description
Diagram
High-Level Assessment
Files changed (17)
|
Code Review by Qodo
1.
|
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
The skips on `pipeline_watch` and `pipeline_cargo_cache` name what was seen on Windows but left the gaps themselves untracked, which reads as disabling a failure rather than recording one. Point both at the issue that carries the evidence and the leads. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Code review by qodo was updated up to the latest commit 99e7d9b |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Nine files under `crates/cli/tests/suite/` carried a file-level `#![cfg(unix)]`, and the two `pnpm`-differential tests in `root.rs` and `bin.rs` carried a Windows `ignore`, so none of them ever compiled or ran on the Windows CI job. Four of the gates blamed "program not found" on spawning the external `pnpm`. That dates from pacquet's own CI, which installed pnpm through npm as a `pnpm.cmd` shim: Windows resolves a bare program name against `.exe` alone, so the spawn failed. The workflows have installed pnpm through `pnpm/setup` since 2026-05, and that action downloads pnpm's native `pnpm.exe`, which resolves. Nothing in those four files is unix-specific beyond the spawn. The other gates were harness details rather than platform behavior: - `repeat_install.rs` compared inode numbers to tell a file the install reused from one it replaced. It now takes a hard link as a witness and compares with `same_file`, which answers the same question on both platforms. - `multiple_importers.rs` asserted the executable bit on a linked bin. `bundled_dependencies.rs` already had a helper that checks the bit on Unix and the `.cmd` / `.ps1` launchers on Windows; it moves to the shared test utils and both files call it. - `pnpx_alias.rs` copied the binary under a name with no `.exe` suffix. - `ignore_workspace.rs` ran `pwd`, and `pipeline_watch.rs` ran `mkdir -p` and `cp`, from a package script. Both now use `node -e`, as `pipeline_cache.rs` already did. - `pipeline_cargo_cache.rs` ran its built probe binary by a path with no `.exe` suffix. Five files stay gated, each with a comment saying why: `interrupt.rs` sends POSIX signals, `run_recursive.rs` and `exec_recursive.rs` put POSIX shell bodies in nearly every package script, and `global_virtual_store.rs` and `hoisted_node_linker.rs` assert layouts shaped around symlinks. Un-gating those is the remainder of pnpm#15089. Related to pnpm#15089.
Summary
Nine of the fourteen files under
pnpm/crates/cli/tests/suite/that carried afile-level
#![cfg(unix)]now compile and run on the Windows CI job, togetherwith the two
pnpm-differential tests inroot.rsandbin.rsthat carried aWindows
ignore. That is 104 end-to-end tests that had no Windowscoverage at all, including the repeat-install and side-effects-cache suites the
issue calls out: slot repair, reuse, drift, and cached build output over an
existing
node_modules.The "program not found" the gates blame turned out to be about how pnpm used to
be installed on the runner, not about the tests. pacquet's own CI installed pnpm
through npm, which on Windows is a
pnpm.cmdshim; Windows resolves a bareprogram name against
.exealone, so the spawn failed. The workflows have usedpnpm/setupsince #11589, and that action downloads pnpm's nativepnpm.exe. Nothing else in those files is unix-specific.Five files stay gated and each now says why in its module docs.
interrupt.rssends POSIX signals;
run_recursive.rsandexec_recursive.rsput POSIX shellbodies in nearly every package script;
global_virtual_store.rsandhoisted_node_linker.rsassert layouts shaped around symlinks. Un-gating thoseis the remainder of the issue.
Running them on Windows turned up five real differences. Four are fixed here,
narrowed to the assertion rather than the file:
hoist::should_add_extra_node_paths_to_command_shimsasserted the shim namesthe hoisted modules dir relative to itself.
generate_sh_shimwrites thatrelative form only inside a relocatable root outside Windows; there it writes
the absolute path, so the entry is present under a different spelling.
multiple_importers::recursive_install_builds_workspace_projects_in_correct_orderwrote its separator as
\ninside anode -ebody.sh -cunescapes thebackslash before Node sees it and
cmd /d /s /cpasses it through, so the twoplatforms handed Node different programs.
repeat_install::reinstalls_missing_packages_during_headless_installdropped alink with
fs::remove_file. That link is a junction on Windows, andDeleteFileWrefuses a directory-shaped reparse point.The stream is JSON, so the separators arrive escaped, and the temporary
directory arrives in its 8.3 short form (
RUNNER~1) while the reporter namesthe long one.
Two tests are skipped on Windows because what they assert does not hold there
yet, and each records what was seen:
pipeline_watch::watch_agent_builds_new_revisions_and_skips_quiet_ticks: thetick reports the revision built and passed, and the checkout holds no task
output afterwards.
pipeline_cargo_cache::cargo_state_is_shared_between_worktrees_and_survives_cache_deletion:the second worktree recompiles instead of restoring the shared Cargo build
state. That run places the cache under the 8.3 short form of the temporary
directory while the worktree carries the long one.
Those two look like Windows gaps in the pipeline feature rather than test
problems, so they are tracked in #15105 and both skips name it.
Rust CI / Test / windowsnow runs all 10013 tests and passes, as do ubuntu andmacOS.
Related to #15089.
Squash Commit Body
Checklist
already linked to it solves it.
are implemented in every affected version.
Written by an agent (Claude Code, claude-opus-5).