Skip to content

chore(deps): bump Node to 24.22.2 across every image and .nvmrc #1061

Closed

Description

@chappie-daemon

Node 24.22.2 is the latest v24 stable release. The repo builds and tests on 24.22.1 everywhere, so the base moves in six image references plus .nvmrc.

Target

  • v24.22.2 — released 2026-10-28, LTS "Krypton" (release notes). Patch on the same minor line: V8 backports and one stream fix keeping the async context of parked writes. No CVE, no API change.
  • node:24.22.2-alpine index digest sha256:8a32c8cf649a49915a66e81e7a609223c708d0adabf288ee3f4077d765542f85 (resolved from the registry; the amd64 manifest's config carries NODE_VERSION=24.22.2, image created 2026-10-28T20:56Z).

The npm shipped in 24.22.2 is 11.19.1; packageManager stays pnpm@10.33.0.

Current state (identical on main and rewrite/main)

Every reference below is node:24.22.1-alpine@sha256:06d7adf3e0ef61a13f1d28682726366f97a15aa1888c934d3ecec86c33918b53:

  • Dockerfile:3 and Dockerfile:17
  • Dockerfile.railwayapp:4 and Dockerfile.railwayapp:33
  • Dockerfile.test:3
  • docker-compose.yml:129 (nostream-migrate)
  • test/integration/docker-compose.yml:71 (migrations-test)
  • .nvmrc — v24.22.1

.github/workflows/* read node-version-file: .nvmrc, so the .nvmrc bump carries CI and the website deploys. dependabot-changeset.yml:39 says node-version: '24' and needs no change. package.json engines.node is >=24.14.1 — already satisfied, leave it alone or raise it deliberately, but not as a side effect.

Guard

test/unit/ci/node-base-pin.spec.ts already enforces this: every FROM node:… and image: node:… must be digest-pinned, and the set of distinct references must have length 1. A partially applied bump fails that test, which is the point — one commit changes all of them.

Acceptance

  • .nvmrc reads v24.22.2; all seven image references carry the digest above and nothing else.
  • test/unit/ci/node-base-pin.spec.ts passes.
  • docker build of Dockerfile and Dockerfile.test succeeds, and the nostream-migrate container starts and runs migrations on the new base.
  • CI green on 24.22.2, including the integration stack that boots test/integration/docker-compose.yml.

Notes

  • Apply to rewrite/main first if that is where releases come from; main carries the same pins and the same test, so it is the same edit.
  • pnpm-lock.yaml records per-package engines ranges, not a toolchain pin; nothing there changes.

Activity

  1. added
    dependencies
    on Nov 5, 2026
  2. AgrimTawani commented on Nov 11, 2026

    @AgrimTawani
    Contributor

    Hi @chappie-daemon! Could I be assigned to this?
    I have understood the issue, and here is my approach:

    • The issue already lists every pin — I'll follow it as-is
    • One commit: .nvmrc + all 7 image refs to node:24.22.2-alpine@sha256:8a32c8…, verifying the digest against the registry first
    • Check node-base-pin.spec.ts, docker build of Dockerfile/Dockerfile.test, and the migrate container
    • Target rewrite/main first, per the note
  3. cameri commented on Nov 15, 2026

    @cameri
    Owner

    @AgrimTawani Thank you for your interest in Nostream. Issue assigned to you.

  4. AgrimTawani commented on Nov 17, 2026

    @AgrimTawani
    Contributor

    Hey @cameri, this one's ready too, but same as #1090: PRs here are limited to collaborators, so I can't open it. Could you give me access, or open it from my branch? rewrite/main...AgrimTawani:nostream:fix/1061-node-24.22.3

    • Heads up: 24.22.3 shipped on Nov 10 as a security release (incl. a High http2 CVE), so this branch bumps to that instead of 24.22.2
    • .nvmrc + all 7 image pins move to one registry-checked digest; node-base-pin.spec.ts, lint, build check and all 2866 unit tests pass
    • If you'd rather stick to 24.22.2 as written, that's ready too: rewrite/main...AgrimTawani:nostream:fix/1061-node-24.22.2
  5. chappie-daemon commented on Nov 17, 2026

    @chappie-daemon
    CollaboratorAuthor

    Merged as #1163 in c8343022, but on Node 24.22.3, not the 24.22.2 this ticket names.

    The 24.22.2 tag was rebuilt on 2026-11-05: 24.22.2-alpine now resolves to index digest sha256:a34ab6d7…, while the pin proposed here (sha256:8a32c8cf…) belongs to the earlier build. Pinning that digest would no longer track the tag it claims to, so the PR went out on 24.22.3 — the same line, the newer security release — with the pin re-derived from the registry (sha256:116b800c… for the index, NODE_VERSION=24.22.3 in the amd64 config).

    Work by @AgrimTawani, carried with git cherry-pick -x so the authorship and the source commit are preserved.

    The two Node advisories on relay paths in this release: CVE-2026-123863 (HTTP/2 session teardown abort) and CVE-2026-123864 (TLS zero-length write heap leak).

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

Metadata

Metadata

Assignees

Labels

dependencies

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions