Skip to content

chore(release): prepare pacquet 12.0.0-alpha.13 - #13049

Merged
zkochan merged 1 commit into
mainfrom
pq-release
Jul 15, 2026
Merged

zkochan merged 1 commit into
mainfrom
pq-release

Conversation

@zkochan

@zkochan zkochan commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Prepare a Rust-only pacquet 12.0.0-alpha.13 release so the corrected v12 executable can be published before the queued TypeScript pnpm v11 release.

This advances the pacquet and fixed @pnpm/napi wrapper versions, records an empty Rust release entry, and removes only the currently pending pacquet changesets. The pending v11 changesets, including @pnpm/exe, remain intact; the shared packlist intent now targets only the TypeScript release.

Squash Commit Body

Prepare pacquet 12.0.0-alpha.13 as a Rust-only release.

The existing v12 executable needs a corrected republish before the v11 release
queue proceeds. Advance pacquet and its fixed @pnpm/napi group, preserve the
v11 release intents, and remove only the pending pacquet intents so the two
release lanes can proceed independently.

Checklist

  • The change is implemented in both the TypeScript CLI and the Rust pnpm/ port, or the description notes what still needs porting.

Written by an agent (Codex, GPT-5).

Summary by CodeRabbit

  • New Features

    • Updated the package suite to version 12.0.0-alpha.13.
    • Improved Windows installation resilience when restoring dangling directory junctions.
    • Prevented lifecycle-script output from being stored in frozen side-effects caches.
    • Improved JSON-formatted publish errors for more consistent machine-readable output.
  • Bug Fixes

    • Corrected package ignore-file handling when packing workspace packages.
    • Improved reliability of package linking and setup on Windows.

Copilot AI review requested due to automatic review settings July 15, 2026 21:03

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 Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d748e378-d3e7-48a1-a7a5-10dee0b649d3

📥 Commits

Reviewing files that changed from the base of the PR and between aef537b and 3000c3b.

📒 Files selected for processing (13)
  • .changeset/changelogs/@[email protected]
  • .changeset/changelogs/[email protected]
  • .changeset/fix-packlist-ignore-priority.md
  • .changeset/frozen-side-effects-cache.md
  • .changeset/ledger.yaml
  • .changeset/native-setup-ignore-scripts.md
  • .changeset/nice-packs-ignore.md
  • .changeset/pacquet-publish-json-errors.md
  • .changeset/pacquet-symlink-heal-dangling-junction.md
  • .changeset/windows-atomic-junctions.md
  • pnpm/crates/config/src/defaults.rs
  • pnpm/npm/napi/package.json
  • pnpm/npm/pnpm/package.json

📝 Walkthrough

Walkthrough

The release metadata advances pnpm and @pnpm/napi from alpha.12 to alpha.13, adds corresponding changelog and ledger entries, and revises Changesets for package ownership and release notes.

Changes

Alpha.13 release metadata

Layer / File(s) Summary
Synchronize alpha.13 versions
pnpm/crates/config/src/defaults.rs, pnpm/npm/{napi,pnpm}/package.json
Updates the pnpm version constant and package manifests from 12.0.0-alpha.12 to 12.0.0-alpha.13.
Update release bookkeeping
.changeset/changelogs/*, .changeset/ledger.yaml, .changeset/*.md
Adds alpha.13 changelog and ledger entries, revises package declarations for the packlist fix, and removes or updates related Changeset entries.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • pnpm/pnpm#12949: Updates the same pnpm and native package versioning artifacts.
  • pnpm/pnpm#13023: Uses the same version synchronization flow for the next alpha release.
  • pnpm/pnpm#13029: Updates the related pacquet publish --json Changeset entry.

Suggested labels: product: pacquet

Suggested reviewers: copilot, qodo-code-review

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pq-release

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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

Prepare pacquet 12.0.0-alpha.13 Rust-only release metadata

⚙️ Configuration changes 📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Bump pacquet and @pnpm/napi to 12.0.0-alpha.13 for a Rust-only republish.
• Record an empty pacquet release in the changeset ledger and changelogs.
• Remove only pending pacquet changesets to keep the v11 TypeScript release queue intact.
Diagram

graph TD
  CS["Changesets (.changeset/*.md)"] --> L["Release ledger (.changeset/ledger.yaml)"] --> V["Version alignment"] --> W["Release workflow"] --> R[("Registry artifacts")]
  V --> PJ["pacquet package.json"] --> NJ["@pnpm/napi package.json"]
  V --> RC["Rust PNPM_VERSION const"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Keep pacquet changesets; gate publishing via tooling flags
  • ➕ Preserves full patch-level release notes for the next pacquet release
  • ➕ Avoids deleting/restoring changesets across branches
  • ➖ Requires release tooling support for selective package publishing
  • ➖ Higher risk of accidentally including pacquet changes in the wrong release lane
2. Cherry-pick only the executable fix onto a dedicated release branch
  • ➕ Minimizes changeset/ledger churn
  • ➕ Isolates the republish to a narrowly scoped branch
  • ➖ More operational overhead (extra branch management/tagging)
  • ➖ Still needs version alignment across Rust const + wrapper manifests
3. Mark pacquet changesets as deferred instead of deleting
  • ➕ Retains intent history while removing them from the immediate queue
  • ➕ Easier to audit what was postponed
  • ➖ Needs a convention/tooling to support a deferred state
  • ➖ May complicate ledger semantics compared to removal

Recommendation: The PR’s approach (explicitly bump versions, add an empty ledger/changelog entry, and remove only pacquet-targeted pending changesets) is a pragmatic way to split the Rust-only republish from the queued TypeScript v11 release without requiring new release tooling. If repeated often, consider adding a first-class “defer/skip package for this release” mechanism to avoid deleting/restoring changesets.

Files changed (7) +8 / -4

Documentation (2) +2 / -0
@pnpm[email protected]Add @pnpm/napi 12.0.0-alpha.13 changelog stub +1/-0

Add @pnpm/napi 12.0.0-alpha.13 changelog stub

• Introduces a new changelog entry header for @pnpm/napi 12.0.0-alpha.13. This records the release version even when there are no user-facing notes yet.

.changeset/changelogs/@pnpm![email protected]

[email protected]Add pacquet 12.0.0-alpha.13 changelog stub +1/-0

Add pacquet 12.0.0-alpha.13 changelog stub

• Introduces a new changelog entry header for pacquet 12.0.0-alpha.13. Serves as an empty release marker for the Rust-only republish.

.changeset/changelogs/[email protected]

Other (5) +6 / -4
ledger.yamlRegister [email protected] with no queued intents +3/-0

Register [email protected] with no queued intents

• Adds a [email protected] ledger entry pointing at pnpm/npm/pnpm with an empty intents list. This preserves release bookkeeping while explicitly decoupling from pending pacquet changesets.

.changeset/ledger.yaml

nice-packs-ignore.mdRemove pacquet from pending packlist-ignore changeset +0/-1

Remove pacquet from pending packlist-ignore changeset

• Drops the pacquet patch bump from this changeset while keeping the TypeScript package bumps and note. This keeps the shared packlist fix targeted at the v11 TypeScript release lane only.

.changeset/nice-packs-ignore.md

defaults.rsBump Rust PNPM_VERSION to 12.0.0-alpha.13 +1/-1

Bump Rust PNPM_VERSION to 12.0.0-alpha.13

• Updates the Rust CLI’s PNPM_VERSION constant from 12.0.0-alpha.12 to 12.0.0-alpha.13. This keeps 'pnpm --version' and the default User-Agent aligned with the wrapper package version used by the release workflow.

pnpm/crates/config/src/defaults.rs

package.jsonBump @pnpm/napi version to 12.0.0-alpha.13 +1/-1

Bump @pnpm/napi version to 12.0.0-alpha.13

• Updates the @pnpm/napi wrapper package version to 12.0.0-alpha.13. This aligns the N-API bindings wrapper with the pacquet release being republished.

pnpm/npm/napi/package.json

package.jsonBump pacquet version to 12.0.0-alpha.13 +1/-1

Bump pacquet version to 12.0.0-alpha.13

• Updates the pacquet wrapper package version to 12.0.0-alpha.13. This is the primary version bump enabling the Rust-only republish of the corrected v12 executable.

pnpm/npm/pnpm/package.json

@qodo-code-review

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

Auto-approved notes - no code review findings
- 'auto_approve_for_no_suggestions' flag enabled

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.

Auto-approved notes - no code suggestions found
- 'approve_pr_on_self_review' flag enabled

@greptile-apps

greptile-apps Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 4/5

The version bumps are consistent and mechanical; the changeset surgery is intentional. The only open question is whether the six deleted bug-fix changesets represent already-shipped fixes (changelog gap) or still-pending work (lost tracking).

All three package version fields are bumped to the same value and the Rust constant matches the npm wrappers. The ledger records the release correctly. The one non-trivial concern is the deletion of six pacquet-only changesets that describe real, named bug fixes — if those fixes are already in the executable, the empty changelog hides them from users; if they are not yet implemented, the tracking intents are gone. Neither scenario is catastrophic, but it introduces an ambiguity worth clarifying before this lands.

[email protected] and the six deleted changeset files — confirm whether the described fixes are included in this build or still pending.

Reviews (1): Last reviewed commit: "chore(release): prepare pacquet 12.0.0-a..." | Re-trigger Greptile

@@ -0,0 +1 @@
## 12.0.0-alpha.13

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.

P2 Empty changelog for a release containing bug fixes

Six pacquet-only changeset files (fix-packlist-ignore-priority.md, frozen-side-effects-cache.md, native-setup-ignore-scripts.md, pacquet-publish-json-errors.md, pacquet-symlink-heal-dangling-junction.md, windows-atomic-junctions.md) are being deleted, but none of their descriptions are carried into this changelog entry. If these fixes are already implemented in the codebase and included in 12.0.0-alpha.13, users and downstream tooling will have no release notes for them. If they are not yet implemented, removing their changesets loses the tracking intent — someone will need to recreate them when the work lands.

@zkochan
zkochan merged commit e114fcb into main Jul 15, 2026
31 of 32 checks passed
@zkochan
zkochan deleted the pq-release branch July 15, 2026 21:06
@github-actions

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                          main                                   pr
-----                          ----                                   --
lockfile/parse_pnpm_lock       1.00     11.4±0.69ms    32.8 MB/sec    1.10     12.5±1.03ms    30.0 MB/sec
packument/parse                1.00     39.5±0.26µs  1679.0 MB/sec    1.01     40.0±0.87µs  1659.8 MB/sec
tarball/download_dependency    1.00      2.5±0.15ms  1762.8 KB/sec    1.01      2.5±0.24ms  1737.2 KB/sec

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.55%. Comparing base (c7060ba) to head (3000c3b).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #13049   +/-   ##
=======================================
  Coverage   85.55%   85.55%           
=======================================
  Files         498      498           
  Lines       79648    79648           
=======================================
  Hits        68142    68142           
  Misses      11506    11506           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants