Skip to content

chore: update lockfile, Node.js, and pnpm versions - #12989

Merged
zkochan merged 1 commit into
mainfrom
chore/update-lockfile
Jul 13, 2026
Merged

zkochan merged 1 commit into
mainfrom
chore/update-lockfile

Conversation

@zkochan

@zkochan zkochan commented Jul 13, 2026 •

Copy link
Copy Markdown
Member

This automated PR refreshes the project's pinned versions:

  • Updates the lockfile to the latest compatible versions of dependencies.
  • Bumps Node.js to the latest 26.x release, propagated into the CI, release, and benchmark workflows via the meta-updater.
  • Bumps pnpm to the latest next-12 release (packageManager and devEngines.packageManager).

Created by the update-lockfile workflow.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Summary by CodeRabbit

  • Chores
    • Updated the package manager version used by the project.
    • Improved consistency for package manager version checks.

Copilot AI review requested due to automatic review settings July 13, 2026 22:09

@greptile-apps greptile-apps Bot 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.

zkochan has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

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 13, 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: 086fe586-bf65-4097-a308-061e158d486b

📥 Commits

Reviewing files that changed from the base of the PR and between 6dcfadd and 35285cb.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The root package.json updates both pnpm version metadata fields from 12.0.0-alpha.9 to 12.0.0-alpha.10.

Changes

Package manager update

Layer / File(s) Summary
Update package manager metadata
package.json
The packageManager and devEngines.packageManager.version values are bumped to [email protected].

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

Possibly related PRs

  • pnpm/pnpm#12802: Updates the same package manager metadata fields to a newer pnpm alpha version.
  • pnpm/pnpm#12920: Updates the same root package.json pnpm version metadata.
  • pnpm/pnpm#12946: Changes the same package.json fields to another pnpm 12 alpha version.

Suggested reviewers: copilot, qodo-code-review, qodo-free-for-open-source-projects, benmccann

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-lockfile

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 failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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

Update pnpm to 12.0.0-alpha.10 and refresh pnpm lockfile

⚙️ Configuration changes 🕐 10-20 Minutes

Grey Divider

AI Description

• Bump the repo-pinned pnpm version to 12.0.0-alpha.10.
• Refresh pnpm-lock.yaml to align package-manager artifacts and dependency resolutions.
• Update lockfile snapshot entries for patched transitive dependencies.
Diagram

graph TD
  A["package.json"] --> B["Pinned pnpm version"] --> C["pnpm install"] --> D["pnpm-lock.yaml"]
  D --> E["Workspace dependency graph"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Pin exact pnpm version everywhere (avoid channel specifiers)
  • ➕ Maximizes reproducibility across environments
  • ➕ Reduces surprise changes from a moving tag/channel
  • ➖ More frequent manual bumps needed to stay current with pre-releases
  • ➖ Harder to continuously validate the next-12 line
2. Rely on Corepack-managed pnpm (less repo pinning)
  • ➕ Centralizes toolchain management in the runtime environment
  • ➕ Potentially reduces the need for frequent lockfile tool metadata updates
  • ➖ Can introduce drift if contributors have different Corepack states
  • ➖ Less explicit in-repo signal of the expected pnpm version

Recommendation: Current approach is reasonable for a repo that intentionally tracks pnpm pre-releases: bump the pinned pnpm version in package.json and regenerate the lockfile with that toolchain. If the goal is strict reproducibility, consider replacing the lockfile's package-manager specifier channel (e.g., next-12) with an exact version pin.

Files changed (2) +98 / -102

Other (2) +98 / -102
package.jsonBump pinned pnpm version to 12.0.0-alpha.10 +2/-2

Bump pinned pnpm version to 12.0.0-alpha.10

• Updates both the top-level packageManager field and devEngines.packageManager.version from 12.0.0-alpha.9 to 12.0.0-alpha.10 to keep the repo toolchain consistent.

package.json

pnpm-lock.yamlRegenerate lockfile for pnpm 12.0.0-alpha.10 and patch bumps +96/-100

Regenerate lockfile for pnpm 12.0.0-alpha.10 and patch bumps

• Refreshes packageManagerDependencies to use the next-12 specifier and resolves pnpm/@pnpm/exe artifacts at 12.0.0-alpha.10 (including platform-specific executables). Also updates various resolved dependency versions and snapshots (e.g., cspell dictionaries) and bumps an embedded pnpm entry from 11.12.0 to 11.13.0 where referenced.

pnpm-lock.yaml

@zkochan
zkochan merged commit d3ed5da into main Jul 13, 2026
19 of 21 checks passed
@zkochan
zkochan deleted the chore/update-lockfile branch July 13, 2026 22:10
@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📜 Skill insights (0)

Context used
✅ Compliance rules (platform): 18 rules

Grey Divider


Action required

1. PM specifier mismatch 🐞 Bug ☼ Reliability
Description
pnpm-lock.yaml records packageManagerDependencies.*.specifier as next-12 while package.json
pins [email protected], but pacquet considers the env lockfile up-to-date only when both
specifier and version exactly match. With --frozen-lockfile, pacquet will fail because it tries to
refresh packageManagerDependencies; without it, it will unnecessarily redo package-manager
resolution and rewrite the env lockfile.
Code

pnpm-lock.yaml[R8-14]

    packageManagerDependencies:
      '@pnpm/exe':
-        specifier: 12.0.0-alpha.9
-        version: 12.0.0-alpha.9
+        specifier: next-12
+        version: 12.0.0-alpha.10
      pnpm:
-        specifier: 12.0.0-alpha.9
-        version: 12.0.0-alpha.9
+        specifier: next-12
+        version: 12.0.0-alpha.10
Evidence
The lockfile’s env section uses specifier: next-12, but pacquet computes wanted_version from
package.json and passes it as the wanted_specifier. pacquet then requires `dep.specifier ==
wanted_specifier and errors under frozen_lockfile` when the env lockfile is stale, so the
committed lockfile state can break frozen-lockfile runs.

pnpm-lock.yaml[6-14]
package.json[63-74]
pnpm/crates/cli/src/cli_args/package_manager.rs[26-51]
pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[30-42]
pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[122-143]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The first (env) document in `pnpm-lock.yaml` now stores `packageManagerDependencies` specifiers as `next-12`, but pacquet derives the wanted specifier from `package.json` (here: `12.0.0-alpha.10`) and requires an exact match (`dep.specifier == wanted_specifier`). This mismatch makes pacquet treat the env lockfile as stale and, in `--frozen-lockfile` mode, error out instead of using the committed lockfile.

## Issue Context
- `package.json` pins pnpm to `12.0.0-alpha.10`.
- pacquet’s env-installer checks both the specifier and version; when stale and `frozen_lockfile` is enabled, it errors.

## Fix Focus Areas
- pnpm-lock.yaml[8-14]
- package.json[63-74]
- pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[30-42]
- pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[122-143]
- pnpm/crates/cli/src/cli_args/package_manager.rs[26-51]

## What to change
- Update/regenerate the env lockfile so `packageManagerDependencies.pnpm.specifier` and `packageManagerDependencies['@pnpm/exe'].specifier` match the manifest’s wanted specifier (`12.0.0-alpha.10`), not `next-12`.
- After the change, verify that a pacquet install path that enables `--frozen-lockfile` no longer attempts to mutate `packageManagerDependencies`.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Qodo Logo

Comment thread pnpm-lock.yaml
Comment on lines 8 to +14
packageManagerDependencies:
'@pnpm/exe':
specifier: 12.0.0-alpha.9
version: 12.0.0-alpha.9
specifier: next-12
version: 12.0.0-alpha.10
pnpm:
specifier: 12.0.0-alpha.9
version: 12.0.0-alpha.9
specifier: next-12
version: 12.0.0-alpha.10

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Action required

1. Pm specifier mismatch 🐞 Bug ☼ Reliability

pnpm-lock.yaml records packageManagerDependencies.*.specifier as next-12 while package.json
pins [email protected], but pacquet considers the env lockfile up-to-date only when both
specifier and version exactly match. With --frozen-lockfile, pacquet will fail because it tries to
refresh packageManagerDependencies; without it, it will unnecessarily redo package-manager
resolution and rewrite the env lockfile.
Agent Prompt
## Issue description
The first (env) document in `pnpm-lock.yaml` now stores `packageManagerDependencies` specifiers as `next-12`, but pacquet derives the wanted specifier from `package.json` (here: `12.0.0-alpha.10`) and requires an exact match (`dep.specifier == wanted_specifier`). This mismatch makes pacquet treat the env lockfile as stale and, in `--frozen-lockfile` mode, error out instead of using the committed lockfile.

## Issue Context
- `package.json` pins pnpm to `12.0.0-alpha.10`.
- pacquet’s env-installer checks both the specifier and version; when stale and `frozen_lockfile` is enabled, it errors.

## Fix Focus Areas
- pnpm-lock.yaml[8-14]
- package.json[63-74]
- pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[30-42]
- pnpm/crates/env-installer/src/resolve_package_manager_integrities.rs[122-143]
- pnpm/crates/cli/src/cli_args/package_manager.rs[26-51]

## What to change
- Update/regenerate the env lockfile so `packageManagerDependencies.pnpm.specifier` and `packageManagerDependencies['@pnpm/exe'].specifier` match the manifest’s wanted specifier (`12.0.0-alpha.10`), not `next-12`.
- After the change, verify that a pacquet install path that enables `--frozen-lockfile` no longer attempts to mutate `packageManagerDependencies`.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@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

zkochan added a commit that referenced this pull request Jul 14, 2026
…pendencies specifier (#12992)

`pnpm self-update <dist-tag>` resolved the tag to an exact version and wrote it
into devEngines.packageManager.version, but recorded the raw dist-tag as the
packageManagerDependencies specifier in pnpm-lock.yaml. pacquet validates that
specifier against the manifest under --frozen-lockfile, so the mismatch made a
later frozen install fail with FrozenLockfileOutdated (the cause of the invalid
lockfile in #12989, hot-fixed in #12990).

Both self-update call sites now record the resolved pin: the project-pin path
stores the updated devEngines constraint (the value a later install reads back)
via a new package_manager_pin_specifier helper, and the global-switch path
stores the resolved version. The TypeScript CLI already derived the specifier
from the resolved version and is unaffected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants