Skip to content

[26.05] pnpm_10_latest: init at 10.34.5, migrate consumers - #558969

Merged
gepbird merged 2 commits into
NixOS:release-26.05from
geri1701:pnpm-cve-2026-82392-82393-26.05
Oct 3, 2026
Merged

gepbird merged 2 commits into
NixOS:release-26.05from
geri1701:pnpm-cve-2026-82392-82393-26.05

Conversation

@geri1701

@geri1701 geri1701 commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Keep pnpm_10 at 10.34.0 for out-of-tree compatibility and mark retained vulnerable variants insecure. Add pnpm_10_latest at 10.34.5 and migrate all in-tree consumers.

Fix the three lockfiles rejected by pnpm >= 10.34.1. Also correct pnpm variant self-references, updater targets, and three mismatched dependency fetchers.

Master was addressed by #558847.

Closes #558807
Closes #558809

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)

Things done

@geri1701 geri1701 added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Sep 2, 2026

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Important

9d36776 is not a cherry-pick, because: release-26.05 has different pnpm variants and lockfiles. Please review this commit manually.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. llm-assisted Contributions that include code generation with LLMs 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 4.workflow: backport This targets a stable branch labels Sep 2, 2026
@UlyssesZh

UlyssesZh commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Fixes #537728?

@geri1701

geri1701 commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

It fixes the same failure on release-26.05. #537728 tracks unstable, where session-desktop still needs the corresponding lockfile fix, so this PR should not close it.

@Scrumplex

Copy link
Copy Markdown
Member

We are unable to bump the pnpm_10 attribute as it may break out-of-tree packages. A way forward might be to introduce a new attribute for the newer pnpm version though :/

@geri1701

geri1701 commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

We are unable to bump the pnpm_10 attribute as it may break out-of-tree packages. A way forward might be to introduce a new attribute for the newer pnpm version though :/

Would keeping pnpm_10 at 10.34.0 and adding pnpm_10_34_5 match what you had in mind?
Since marking pnpm_10 insecure would also make its in-tree consumers fail evaluation, would you prefer a complete in-tree migration to pnpm_10_34_5 in this PR, or a narrower split?

@Scrumplex

Copy link
Copy Markdown
Member

I think pnpm_10_34_5 wouldn't scale well (future patch releases would make this awkward)

Maybe an ugly but functional name would be pnpm_10_latest? And yes, I would like to migrate all pacakges to this new attribute where possible :D

@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from b1b08e8 to c6f0b3c Compare September 2, 2026 22:11
@geri1701 geri1701 changed the title [26.05] pnpm_10: 10.34.0 -> 10.34.5, fix lockfiles and CVE metadata [26.05] pnpm_10_latest: init at 10.34.5, migrate consumers Sep 2, 2026
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 8.has: documentation This PR adds or changes documentation labels Sep 2, 2026
@geri1701

geri1701 commented Sep 5, 2026

Copy link
Copy Markdown
Member Author

Maybe an ugly but functional name would be pnpm_10_latest? And yes, I would like to migrate all pacakges to this new attribute where possible :D

I implemented the split as suggested: pnpm_10 stays at 10.34.0 and is marked insecure, pnpm_10_latest provides 10.34.5, and the in-tree consumers were migrated where possible.
Does this match what you had in mind?

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 6, 2026
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from c6f0b3c to 189f79c Compare September 6, 2026 22:21
@nixpkgs-ci nixpkgs-ci Bot added 2.status: merge conflict This PR has merge conflicts with the target branch and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Sep 6, 2026

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Important

89a606c is not a cherry-pick, because: release-26.05 has different pnpm variants and lockfiles. Please review this commit manually.

Important

e7bb80d is not a cherry-pick, because: release-26.05 has different pnpm variants and lockfiles. Please review this commit manually.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@geri1701

Copy link
Copy Markdown
Member Author

Can you split the init change and the migration change to 2 commits?

Done. Split into initialization and consumer migration commits. Thanks!

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 13, 2026
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from 011aa00 to 585afda Compare September 13, 2026 19:20
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 13, 2026
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from 585afda to 553e120 Compare September 16, 2026 20:56
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 24, 2026
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from 553e120 to 0d8e9aa Compare September 24, 2026 18:56

@nixpkgs-ci nixpkgs-ci 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.

Thanks for contributing to the documentation

Make sure you follow the documentation style guide, most notably:

  • Show, don't tell: lead with a minimal working example; explanation follows the code.
  • No meta-commentary: don't write "This section explains how to…", just do it.
  • Imperative mood and active voice: "Run the command", not "The user should run the following command".
  • Present tense: "This creates a folder", not "This will create a folder".
  • Be confident: no hedging with "should", "might", "typically", "usually".
  • Cut filler words: "simply", "just", "easily", "basically"; "to", not "in order to".

For larger changes, like adding or removing whole sections, ask the NixOS documentation team for a review.

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 24, 2026
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from 0d8e9aa to c0732e6 Compare September 24, 2026 19:02

@friedow friedow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm for vue-language-server

@gepbird gepbird added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 2, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 2, 2026
@gepbird

gepbird commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

There's a merge conflict after #569086.

Keep pnpm_10 at 10.34.0 for out-of-tree compatibility and mark it
insecure. Add pnpm_10_latest at 10.34.5 and make variant generation
and updater targets attribute-specific.

Not-cherry-picked-because: release-26.05 has different pnpm variants and lockfiles
Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
Move all possible in-tree pnpm 10 consumers to pnpm_10_latest. Add the
verified lockfile integrities required by pnpm 10.34.5 and update the
package-specific fetch and build wiring.

Not-cherry-picked-because: release-26.05 has different pnpm variants and lockfiles
Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
@geri1701
geri1701 force-pushed the pnpm-cve-2026-82392-82393-26.05 branch from c0732e6 to e7bb80d Compare October 2, 2026 19:01
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 2, 2026
@gepbird
gepbird added this pull request to the merge queue Oct 3, 2026
Merged via the queue into NixOS:release-26.05 with commit d01b242 Oct 3, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: backport This targets a stable branch 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 8.has: documentation This PR adds or changes documentation 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. llm-assisted Contributions that include code generation with LLMs

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants