Repository navigation
fix(cli): honor pipeline package-manager pin flags - #14637
Conversation
|
Warning Review limit reachedNext included review available in 8 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
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 |
PR Summary by QodoHonor pipeline package-manager pin flags
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
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 show, collapse, or hide each part of a finding: code, evidence, and all |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
Confidence Score: 4/5The code fix appears correct, but the contradictory changeset policy must be reconciled before merging. Pipeline exposes the same install arguments consumed by the shared helper, so the behavioral fix is sound; the remaining issue is that the new exemption permits omitting release metadata where the repository review framework still requires it. Files Needing Attention: AGENTS.md Reviews (1): Last reviewed commit: "fix(cli): honor pipeline package-manager..." | Re-trigger Greptile |
| ## Changesets | ||
|
|
||
| If your changes affect published packages, you MUST create a changeset file in the `.changeset` directory (`pnpm change` records one interactively; `pnpm change status` shows the pending release plan). The file describes the change and specifies the affected packages with their pending version bump types: patch, minor, or major. Write the description for pnpm users and keep it concise — it becomes a release note. Implementation rationale belongs in the commit message, not the changeset. The bare `pnpm version -r` consumes the pending changesets at release time; there is no separate `@changesets/cli` dependency. | ||
| Bug fixes for features that have not yet been released do not need a changeset. This exemption applies to both TypeScript and Rust products. Check whether the affected feature has shipped before adding a changeset for a bug fix. |
There was a problem hiding this comment.
Conflicting changeset requirements
This exemption says that bug fixes for unreleased features do not need changesets, but the repository review framework requires a changeset for every user-visible pacquet change and exempts only test-only or internal changes. The root guide requires contributors to follow that framework, so these instructions now conflict and can cause user-visible fixes such as this one to omit release metadata. Reconcile the review guide with this policy change or add the required pacquet changeset before merging.
Context Used: CLAUDE.md (source)
Micro-Benchmark ResultsLinux |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14637 +/- ##
==========================================
+ Coverage 89.28% 89.32% +0.03%
==========================================
Files 765 765
Lines 137992 137887 -105
==========================================
- Hits 123210 123167 -43
+ Misses 14782 14720 -62 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Fix
pnpm pipelineignoring--lockfile-dir,--offline, and--prefer-offlineduring package-manager pinning by passing its install options through the existingPinFlags::of_installhelper.This addresses the main-branch CI failure. The existing
pin_flags_cover_every_command_declaring_themregression test catches the omission; all 31 pre-command tests pass with the fix.Clarify in
AGENTS.mdthat bug fixes for unreleased features do not need changesets. Pipeline is unreleased, so this PR has no changeset. This bug only affects the Rust v12 CLI; v11 has no pipeline command.Validation:
just readypassed (formatting, workspace compile checks, all 10,461 Rust tests, and Clippy).Squash Commit Body
Checklist
are implemented in every affected version.
Written by an agent (Codex, GPT-6).
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.