You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f8c7371
Browse filesBrowse the repository at this point in the historyBrowse files
CI: run Windows pnpm e2e tests instead of skipping (#1054) (#1407)
* Start fix for #1054
Assisted-by: Claude Code:claude-opus-5-5
* Run Windows pnpm e2e tests instead of skipping
On windows-latest the pnpm-family e2e suites started pnpm and
corepack with a bare Command::new, which only finds .exe files.
npm and Node install both tools as .cmd shims there, so every
availability probe said the tool was missing and every test
skipped. libtest counts a skip as a pass, so the nightly Windows
legs went green in 0.02 s while testing nothing.
Add hermetic::tool_command, which resolves a tool through PATHEXT
the same way the CLI does, and use it for every pnpm, corepack and
npm spawn in e2e_safety_pnpm, e2e_redirect_pnpm_build and
e2e_redirect_rush_sim, and in common::run_toolchain.
Refs #1054
Assisted-by: Claude Code:claude-opus-5-5
* Fail Windows and macOS pnpm legs on a skip
Set pnpm_required on the Windows and macOS rows of
e2e_safety_pnpm, e2e_redirect_pnpm_build and e2e_redirect_rush_sim.
A missing pnpm or corepack now fails the leg instead of letting it
pass with every test skipped. These rows only run in the full tier
(nightly and dispatch), so PR and merge-queue runs are unchanged.
The workflow contract test now checks the gate on every OS, and a
new check stops these suites from spawning bare pnpm, corepack or
npm again.
Refs #1054
Assisted-by: Claude Code:claude-opus-5-5
* Tighten pnpm probe and shim regression guard
has_pnpm now needs `pnpm --version` to succeed, not just to spawn:
a resolved .cmd shim starts through cmd.exe even when the shim is
broken. The shim guard now also covers `.cmd` spellings, a
suite-local has_command, and the shared run_toolchain that pnpm_run
uses.
Refs #1054
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments