Skip to content

chore(release): move the Rust CLI to the rc lane - #13666

Merged
zkochan merged 2 commits into
mainfrom
pq-rc
Aug 5, 2026
Merged

zkochan merged 2 commits into
mainfrom
pq-rc

Conversation

@zkochan

@zkochan zkochan commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Moves the Rust CLI off the beta lane and onto an rc lane. versioning.lanes in
pnpm-workspace.yaml now maps pacquet and `@pnpm/napi` (its versioning.fixed
partner, which has to share the lane) to rc; `@pnpm/pnpr` stays on alpha.

The wrapper packages are still at 12.0.0-beta.4; the next pnpm version -r run that
consumes a Rust intent will cut the first 12.0.0-rc.N prerelease instead of continuing
the beta series. Both keep publishing under the next dist-tag, and the TypeScript CLI
keeps releasing stable versions on the main lane.

AGENTS.md (and its CLAUDE.md symlink) described both Rust products as releasing from
alpha lanes — already stale before this PR, since the Rust CLI was on beta. It now names
the lane per product, so the sentence survives the next lane move.

Edited by hand rather than through pnpm lane: the command refuses a direct beta -> rc
move (ERR_PNPM_VERSIONING_ALREADY_ON_LANE, pointing at pnpm lane main first), and the
main -> rc round-trip rewrites the whole file — stripping every comment in the
versioning block and relocating the block to the end of the file. That rewrite is a
separate bug, not addressed here.

Squash Commit Body

Switch pacquet and its fixed-group partner `@pnpm/napi` from the beta lane
to rc, so the next "pnpm version -r" cuts 12.0.0-rc.N prereleases instead
of continuing the 12.0.0-beta.N series. pnpr stays on alpha.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust
    pnpm/ port, or the description notes what still needs porting.
    (Release configuration only — nothing to port.)
  • Added a changeset (pnpm changeset) if this PR changes any published
    package. Keep it short and written for pnpm users — it becomes a release note.
    (No published package changes; this only selects the prerelease lane.)

Written by an agent (Claude Code, claude-opus-5[1m]).

Summary by CodeRabbit

  • Chores
    • Updated release channels for pacquet and @pnpm/napi from beta to release candidate.
    • Preserved the existing alpha channel and fixed release grouping.
    • Updated Rust release guidance to reflect the release candidate channel.

Switch pacquet and its fixed-group partner `@pnpm/napi` from the beta lane
to rc, so the next "pnpm version -r" cuts 12.0.0-rc.N prereleases instead
of continuing the 12.0.0-beta.N series. pnpr stays on alpha.
Copilot AI lite review requested due to automatic review settings August 5, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 50d8e0a4-848f-431b-8b32-69255930a262

📥 Commits

Reviewing files that changed from the base of the PR and between e68fd3f and cdcaa50.

📒 Files selected for processing (1)
  • AGENTS.md

📝 Walkthrough

Walkthrough

The workspace release configuration changes pacquet and @pnpm/napi from the beta prerelease lane to rc. Rust release guidance uses rc for the Rust CLI and NAPI addon, while pnpr remains on alpha.

Changes

Release lane configuration

Layer / File(s) Summary
Update prerelease lanes
pnpm-workspace.yaml, AGENTS.md
pacquet and @pnpm/napi now use the rc prerelease lane. Rust release guidance uses rc for the Rust CLI and NAPI addon, while pnpr remains on alpha.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • pnpm/pnpm#13049: Both PRs update prerelease lane configuration for pacquet and @pnpm/napi.
  • pnpm/pnpm#13458: Both PRs update the pacquet and @pnpm/napi release lanes from beta to RC.

Suggested reviewers: copilot, kairosci, ksxgithub

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pq-rc

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Move Rust CLI prereleases from beta to rc lane

⚙️ Configuration changes 🕐 10-20 Minutes

Grey Divider

AI Description

• Switch pacquet and @pnpm/napi prerelease lane from beta to rc.
• Keep @pnpm/pnpr on alpha while Rust artifacts continue using next dist-tag.
• Update inline documentation to reflect X.Y.Z-rc.N prerelease naming.
Diagram

graph TD
  A["pnpm-workspace.yaml"] --> B["versioning.lanes"] --> C(("pacquet")) --> D["rc prereleases"] --> E{{"npm dist-tag: next"}}
  B --> F(("@pnpm/napi")) --> D
  B --> G(("@pnpm/pnpr")) --> H["alpha prereleases"] --> E
  I["pnpm version -r"] --> B

  subgraph Legend
    direction LR
    _file["Config file"] ~~~ _pkg(("Package")) ~~~ _ext{{"Registry/tag"}} ~~~ _cmd["Command"]
  end
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Use `pnpm lane` with an intermediate lane hop
  • ➕ Uses the supported CLI workflow (less manual editing risk)
  • ➕ Potentially enforces validation/invariants around lanes
  • ➖ Currently blocked by ERR_PNPM_VERSIONING_ALREADY_ON_LANE for direct beta→rc moves
  • ➖ Reportedly rewrites pnpm-workspace.yaml destructively (drops comments/relocates blocks)
2. Fix `pnpm lane` YAML rewrite behavior first, then change lanes
  • ➕ Avoids ongoing need for manual edits
  • ➕ Prevents comment loss / config churn in future lane operations
  • ➖ Larger scope; delays the lane move needed for upcoming rc prereleases
  • ➖ Requires additional implementation/testing beyond this release-config change

Recommendation: Given the current pnpm lane limitations and destructive YAML rewriting, the manual, minimal diff in pnpm-workspace.yaml is the best short-term approach. Consider a follow-up to fix pnpm lane’s beta→rc flow and YAML preservation so future lane changes can be performed via the tool safely.

Files changed (1) +3 / -3

Other (1) +3 / -3
pnpm-workspace.yamlMove pacquet/@pnpm/napi from beta to rc lane +3/-3

Move pacquet/@pnpm/napi from beta to rc lane

• Updates 'versioning.lanes' so 'pacquet' and its fixed-group partner '@pnpm/napi' release from the 'rc' prerelease lane instead of 'beta'. Adjusts the adjacent comment to reflect the new 'X.Y.Z-rc.N' prerelease naming while keeping '@pnpm/pnpr' on 'alpha'.

pnpm-workspace.yaml

@greptile-apps

greptile-apps Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the previously reported stale release guidance has been updated to match the current workspace lane configuration.

Reviews (2): Last reviewed commit: "docs: describe the Rust release lanes pe..." | Re-trigger Greptile

Comment thread pnpm-workspace.yaml Resolved
@github-actions github-actions Bot added the reviewed: coderabbit CodeRabbit submitted an approving review label Aug 5, 2026
@qodo-code-review

qodo-code-review Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

To customize comments, go to the Qodo configuration screen, or learn more in the docs.

Previous review results

Review updated until commit cdcaa50 ⚖️ Balanced

Results up to commit e68fd3f ⚖️ Balanced


No changes from previous review

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

The lane doc claimed both Rust products release from alpha, which stopped
being true when the Rust CLI moved to a prerelease lane of its own. Name
the lane per product instead, so the text does not go stale on the next
lane move.
Copilot AI review requested due to automatic review settings August 5, 2026 19:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit cdcaa50

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

@zkochan
zkochan merged commit 6e39ea3 into main Aug 5, 2026
30 of 31 checks passed
@zkochan
zkochan deleted the pq-rc branch August 5, 2026 19:39
@blacksmith-sh

blacksmith-sh Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
test/install/nodeRuntime.ts (124.007 s)/nodeRuntime.ts (124.007 s) View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

KSXGitHub pushed a commit that referenced this pull request Aug 6, 2026
Picks up sixteen commits, most of them module splits: the optimistic
repeat-install check (#13661), the frozen install and its build
phase (#13659, #13662), `create_virtual_store`
(#13649), the tarball crate root (#13652), and the
audit command (#13657). Also the move to the `rc` lane and
pacquet 12.0.0-rc.0 (#13666, #13667).

#13661 split `optimistic_repeat_install.rs` into per-concern
modules, moving one of this branch's two `build_workspace_state::<Host>`
call sites into the new `deps_status.rs`. The turbofish is re-applied at
both of its new homes.

# Conflicts:
#	pnpm/crates/package-manager/src/optimistic_repeat_install.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reviewed: coderabbit CodeRabbit submitted an approving review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants