Repository navigation
ci: fall back to the classic virtual store for the windows Rust test install - #13010
eagarwal-notion wants to merge 1 commit into
Conversation
…install The Rust test job's dependency install runs with the released packageManager, so an in-tree fix to the global virtual store's Windows symlink layout only reaches the step one alpha release later — pnpm#12991 is the latest example: merged, but every Windows run keeps failing on 'Failed to create symlink ... The directory name is invalid (os error 267)' until it is published. Override enableGlobalVirtualStore to false for the Windows leg of the install so the job is not coupled to that release lag; Linux and macOS keep dogfooding the global virtual store. Verified against the released 12.0.0-alpha.10 binary that the env override falls back to the classic node_modules/.pnpm layout. Co-Authored-By: Claude Fable 5 <[email protected]>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Rust CI dependency installation step now sets pnpm’s global virtual store configuration per operating system, disabling it on Windows and enabling it on other runners. Comments document the Windows-specific symlink layout constraint. ChangesCI install configuration
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested labels: Suggested reviewers: ✨ Finishing Touches🧪 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 |
Confidence Score: 5/5Safe to merge — a minimal, well-scoped CI workaround with no impact on product code or other workflow jobs. The change adds one env var to one workflow step, with a clear comment. The GitHub Actions ternary expression is correct, the override is step-scoped, and the PR author verified the behaviour against the affected binary. No files require special attention. Reviews (1): Last reviewed commit: "ci: fall back to the classic virtual sto..." | Re-trigger Greptile |
|
This was fixed |
Summary
Rust CI / Test / windowsfails on every run — on main and on every PR — in its "Install dependencies" step, which installs the repo's dependencies with the releasedpackageManagerbinary. The repo dogfoodsenableGlobalVirtualStore: true, and the global virtual store's Windows symlink layout is still being stabilized in-tree, so each fix only reaches this step one alpha release later. Latest example:[email protected]fixed the mixed-separator paths (#12976) but still fails withFailed to create symlink … The directory name is invalid (os error 267); the fix for that (#12991) is merged but unreleased, so Windows Rust CI stays red until the next alpha ships.This PR overrides
enableGlobalVirtualStoretofalsefor the Windows leg of that one install step (via thePNPM_CONFIG_ENABLE_GLOBAL_VIRTUAL_STOREenv override, which takes precedence overpnpm-workspace.yaml), so the job uses the classic per-project virtual store and is no longer coupled to the release lag. Linux and macOS keep dogfooding the global virtual store. Verified against the released12.0.0-alpha.10binary that the override falls back to the classicnode_modules/.pnpmlayout.Related to #12991.
Squash Commit Body
Checklist
pnpm/port, or the description notes what still needs porting. (CI-onlychange; no product code.)
Written by an agent (Claude Code, claude-fable-5).
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by CodeRabbit