Repository navigation
test: cover a mismatched pin on the version fallback - #17052
Conversation
Also read the running version after prepare(): run alone, the test started in the repository, whose root pins pnpm 12, so `--version` reported the switched-to version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
@coderabbitai review |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
PR Summary by QodoTest version fallback with a mismatched pnpm pin
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can see how risky a PR is at a glance with blast radius labels |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Summary
Follow-up to #17049. This test commit was pushed after that PR had merged, so it never landed.
pnpm --versionwith a mismatched pin andpmOnFail: errorpast an unreadable setting, which must fail with the mismatch error.the version prints past an unreadable setting under a pin the running pnpm satisfies. It read the running version beforeprepare(). Run alone (-t), it started in the repository, whose root pins pnpm 12. So--versionreported the switched-to v12 version, and the test failed.Test-only, so no changeset.
Squash Commit Body
Checklist
Both tests fail against the
main.tsfrom before #17049, andpackageManagerCheck.test.tspasses locally (55/55).Written by an agent (Claude Code, claude-opus-5-5).
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit
--versionexits with an error and reports a package manager version mismatch when strict error handling is enabled and the pnpm configuration cannot be read.