Skip to content

nodejs_24: 24.22.0 -> 24.22.1 - #576777

Merged
aduh95 merged 1 commit into
NixOS:stagingfrom
aduh95:nodejs-24
Oct 21, 2026
Merged

aduh95 merged 1 commit into
NixOS:stagingfrom
aduh95:nodejs-24

Conversation

@aduh95

@aduh95 aduh95 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Things done

@aduh95 aduh95 added 1.severity: security Issues which raise a security issue, or PRs that fix one backport staging-next-26.05 Backport PR automatically labels Oct 21, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 21, 2026
@aduh95 aduh95 changed the title nodejs_24: 24.21.0 -> 24.21.1 nodejs_24: 24.22.0 -> 24.22.1 Oct 21, 2026
@aduh95
aduh95 enabled auto-merge October 21, 2026 10:47
@aduh95
aduh95 added this pull request to the merge queue Oct 21, 2026
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Oct 21, 2026
Merged via the queue into NixOS:staging with commit 2794b31 Oct 21, 2026
36 checks passed
@aduh95
aduh95 deleted the nodejs-24 branch October 21, 2026 10:59
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-next-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 21, 2026
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

Only the OpenClaw build uses it: packages/gateway, and the hotfix layer and the
workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). The
recipe's pnpm stays on its Node 22: pnpm does not check the engines field here
(2026.10.5 already required Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

Only the OpenClaw build uses it: packages/gateway, and the hotfix layer and the
workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). The
recipe's pnpm stays on its Node 22: pnpm does not check the engines field here
(2026.10.5 already required Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

24.22.1 also uses a constant from brotli 1.2.1's fix for the same CVE
(CVE-2026-111497: BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH), and nixpkgs links
Node against the system brotli, 1.2.0 here: the first build failed in
node_zlib.cc. That Node gets brotli 1.2.1, as staging has it
(NixOS/nixpkgs#577208, version and hash only), through v24.nix's callPackage.

Only the OpenClaw build uses them: packages/gateway, and the hotfix layer and
the workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). A
host's own nodejs_24 and brotli are untouched. The recipe's pnpm stays on its
Node 22: pnpm does not check the engines field here (2026.10.5 already required
Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

24.22.1 also uses a constant from brotli 1.2.1's fix for the same CVE
(CVE-2026-111497: BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH), and nixpkgs links
Node against the system brotli, 1.2.0 here: the first build failed in
node_zlib.cc. That Node gets brotli 1.2.1, as staging has it
(NixOS/nixpkgs#577208, version and hash only), through v24.nix's callPackage.

Only the OpenClaw build uses them: packages/gateway, and the hotfix layer and
the workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). A
host's own nodejs_24 and brotli are untouched. The recipe's pnpm stays on its
Node 22: pnpm does not check the engines field here (2026.10.5 already required
Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
hypatia-tile added a commit to hypatia-tile/dotfiles-mac that referenced this pull request Oct 23, 2026
Both fixes exist upstream but not in nixpkgs-unstable, which this flake
pins: Node.js 24.22.1 is in NixOS/nixpkgs#576777 (staging), and
nixpkgs-unstable has Python 3.14.8, not 3.14.9. vuln-triage defers a
finding that waits for the channel by 7 days; the reasoning, the tools
that use the vulnerable Node, and the overlay option are in #292.

Refs #292

Co-authored-by: Claude Opus 5.5 <[email protected]>
bryankennedy added a commit to bryankennedy/dotfiles that referenced this pull request Oct 25, 2026
… flake lock (#111)

INFRA-264: update the Mac's trust stores after the October 2026 eMudhra/emSign CA incident.

**Blast radius: high.** The PR changes `nix-darwin/flake.nix`, `nix-darwin/flake.lock`, `remote/install.sh` and `.forgejo/ci/install-tools.sh`.

## What changes

1. **Bun 1.4.4** in all three pins: `bunVersion` in the flake, `BUN_VERSION` and `BUN_SHA256` in `.forgejo/ci/install-tools.sh`, and `BUN_VERSION` with the x64, x64-baseline and aarch64 digests in `remote/install.sh`. Each digest was hashed from the downloaded zip and matches the release's `SHASUMS256.txt`. Bun 1.4.4 removes emSign ECC Root CA - G3 from its built-in root store.
2. **Flake lock** moved to nixpkgs 674a202 (2026-10-24), nix-darwin bb0b90d and nix-homebrew c11cccf.
3. **`pkgs.nodejs_26`** instead of the `pkgs.nodejs` alias. At the locked rev the alias is still 24.21.0. The 24.22.1 bump merged into nixpkgs `staging` on 2026-10-21 (NixOS/nixpkgs#576777) and has not reached `nixpkgs-unstable`. `nodejs_26` is 26.12.1, which carries the 2026-10-20 root store fix. Node 26 becomes Active LTS on 2026-10-28. `docs/decisions/INFRA-264.md` records the choice and when to put the alias back.

## Verification

`darwin-rebuild build` of the new closure passed, with no switch. In the result:

| Runtime | Version | Copies of emSign ECC Root CA - G3 |
|---|---|---|
| `node` | 26.12.1 | 0 |
| `bun` | 1.4.4 | 0 |

`bun test tests/` passes (101 tests). `scripts/audit-pins.mjs` reports both bun pins current at 1.4.4.

Outside the tree, Homebrew `ca-certificates` is now 2026-10-20 on the Mac. Its bundle holds no emSign root.

## Not in this PR

- The `darwin-rebuild switch` needs sudo. The owner runbook on INFRA-264 has the switch and the Chrome check after 2026-10-27.
- `pkgs.mermaid-cli` and `pkgs.google-clasp` embed nixpkgs' nodejs 24.21.0. The next flake update after the staging merge fixes them.
- Node 26.12.1 and Bun 1.4.4 still ship emSign Root CA - G1. INFRA-264's done condition names only the G3 root, so this is reported, not changed.
- The CI image `node:22-trixie` digest in `.forgejo/workflows/` is a separate action under the same arc.
- If infrastructure's runtime-pins check holds its own copy of `BUN_VERSION`, it needs the same bump.

Co-authored-by: bryan kennedy <[email protected]>
Co-authored-by: Bryan Kennedy <[email protected]>
Reviewed-on: https://git.bck.dev/bkennedy/dotfiles/pulls/111
hypatia-tile added a commit to hypatia-tile/dotfiles-mac that referenced this pull request Oct 30, 2026
)

Both fixes are merged into staging and are in the current staging-next
cycle (NixOS/nixpkgs#580394), but not in nixpkgs-unstable yet: nodejs
24.22.1 (NixOS/nixpkgs#576777) and python 3.14.10 (NixOS/nixpkgs#580027,
which superseded the 3.14.9 update). Two weeks gives that cycle time to
reach master and the channel. Extended by the owner on 2026-10-30.

Refs #297, #298

Co-authored-by: Claude Opus 5.5 <[email protected]>
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 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. backport staging-next-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant