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
fix(devx): pin the regen self-test fixture to the root's packageManager
`check-regen-pending.mjs --self-test` replays the deferred-merge sequence on a
throwaway repo and spawns its stub gate with `pnpm -s`. The fixture manifest
carried no `packageManager`, and Corepack resolves the version from the project
it is invoked in: for an unpinned project that is the registry's `latest`
dist-tag, re-resolved every run. When `latest` moved to a pnpm major whose CLI
rejects `-s`, the "clean" stub exited 2 without running and the gate went red on
every job, on trees nobody had touched.
The fixture now copies the ROOT manifest's pin, read at self-test time so it can
never drift from the pnpm this repo pins, and one case asserts both halves — the
value is a real `pnpm@<version>` pin and it equals the root's — so a root
manifest that lost the field cannot make the comparison hold vacuously.
Production is untouched: the real hook runs `pnpm -s` in this repository, which
is pinned.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M59rPZZFzqhfMUPFqqZTkf
0 commit comments