Repository navigation
test(update): build pnpm store fixtures on native canonical paths - #8672
Conversation
|
✅ Deterministic PR hygiene checks passed. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Maintainer judgment (dev integration, MAINTAINERS.md maintainer-integration exception): merging without a second maintainer approval, as part of the DEV-RED repair for dev batch run 43369456647 (windows 1/14, 13/14, 14/14).
|
Summary
Dev batch run 43369456647 failed on Windows in three pnpm/update files, right after #8331 (
6788d42242, "verify pnpm global-store installs against the store pnpm names"):tests/update/update-pnpm-global-store.test.ts, the whole "pnpm global virtual-store owner ([Bug]: pnpm global-store links fail updater package verification #8183)" group (22 cases).tests/update/update-pnpm.test.ts(11 cases).tests/update/update-tree-ownership.test.ts"[Bug]: global pnpm installations cannot self-update #4202 install-tree dependency ownership" (44 cases).The fixture roots were built with
realpathSync, which on the Windows runner keeps the 8.3 short name (C:\Users\RUNNER~1\…). #8331's store proof compares againstrealpathSync.native(runneradmin) and deliberately refuses a noncanonical spelling. So the product refused, correctly, before the tests reached their own assertions.The fixture roots now use
realpathSync.native. Product code is untouched, and #8331's owner rules hold: the store is still proven by pnpm's ownstore path --dir=<home>answer, a short-name or otherwise noncanonical spelling is still refused (fail-closed), and the default-store cases keep their assertions. The store-confinement, link and junction assertions are unchanged.Verification
bun run test:changed: 148 pass, 0 fail.bun run typecheck: exit 0.Checklist
Summary by CodeRabbit