Skip to content

Node 24 LTS transition: inventory and Linux compatibility run (independent unit, P1) #500

Open

Description

@Alajmah

Status

Authorized by the maintainer on 2026-11-22 as an independent unit, priority P1. This issue holds the inventory and the compatibility results. The choice of a Node version per image, and any change to master, come after a review of these results. The unit is not combined with #499 (the dashboard image) or with the VitePress study (#497).

Why

Node 20 reached end of life on 2026-04-30 in the Node.js release schedule. Node 22 runs to 2027-04-30 and Node 24 to 2028-04-30. Everything this repository builds and tests on uses Node 20.

Where Node 20 is pinned (master ad45e16)

Count Where
19 node-version: '20' in 8 workflows: ci.yml (12 steps), master-push-ci-watchdog.yml, plugin-sandbox-proofs.yml, w2-configuration-layering.yml, w2-policy-authority-db.yml, w2-policy-promotion-db.yml, w2-policy-writers-db.yml, w3-mutation-command-db.yml
9 lines in 8 Dockerfiles node:20-alpine in the app Dockerfile, docs/Dockerfile, packages/bot, packages/demo-dashboard, packages/executor-service and packages/web-dashboard (two stages). node:20-bookworm-slim in plugin-sandbox and validator-image
2 engines.node >=20.0.0 in the root package.json and in packages/web
1 README: "Node.js 20+"
3 comments three Dockerfiles name node:20-… in a comment about the non-root node user
none the deploy workflow pins no Node. It runs on the self-hosted runner, whose Node comes with the runner

Does a locked package refuse Node 24?

Each engines.node range in the lockfiles was tested against 24.0.0, over the production tree of each install.

Tree Entries With a Node range Refusing 24.0.0
packages/web production tree 272 141 0
packages/web-dashboard production tree 104 55 1: @img/sharp-win32-ia32@0.35.5 (^20.9.0), a Windows 32-bit optional binary that is not installed on Linux
whole root lockfile 1018 657 the same one
docs/package-lock.json (VitePress 1.6.4) 174 56 0
docs lockfile of the VitePress candidates 155 and 177 43 and 62 0

Packages with an install script: msgpackr-extract@3.0.4 (web tree), esbuild (docs) and fsevents (macOS only).

Compatibility run on Linux

Branch study/node-24-compat, commit 7c83535: the 19 workflow steps and the 9 base-image lines moved to Node 24. Lockfiles, engines and README unchanged. Seven workflows were dispatched by hand.

Workflow Run Result
CI 45076485501 success. 16 jobs; publish-release-images is skipped on a manual run
W2 Configuration Layering 45076488796 success
W2 Policy Authority DB 45076492165 success
W2 Policy Promotion DB 45076496663 success
W2 Policy Writers DB 45076500290 success
W3 Mutation Command DB 45076504064 success
Plugin Sandbox Proofs 45076507096 success

The workflow steps ran on v24.22.3. The images were built from node:24-alpine@sha256:116b800c… and node:24-bookworm-slim@sha256:dc26ae92….

Job of the CI run What ran on Node 24
Test suites core 3, rules 10, runtime 1, executor-service 12, web unit 233, dashboard 5, receipt-integration 3 suites. All passed
docs-build VitePress 1.6.4 with vite 5.4.21
Image builds app, executor-service, dashboard, validator, plugin-sandbox
release-tooling-validation the app boots against PostgreSQL and Redis: /health ok, migrations current. Executor and dashboard answer. The compose merges and the deployment-script functions pass

Warnings

Two deprecation lines appear in the CI run, punycode and url.parse() (DEP0169). Both are printed by actions/setup-node@v4 itself, once per job. Neither comes from this repository's code or its dependencies: the repository's own source contains no url.parse( and no punycode. No EBADENGINE was printed.

What the run does not show

  • publish-release-images did not run, because it never runs on a manual run. Its Dockerfiles are those of the image jobs above. Its label and digest steps did not run.
  • master-push-ci-watchdog.yml was not dispatched. It has one Node step.
  • The deploy workflow was not exercised.
  • Nothing ran under load. The dashboard booted, and its image optimization was not requested. The workers ran only inside tests.
  • Node 22 was not tried. The review allows it only if Node 24 proves impossible.
  • The validator image built on Node 24 in CI only. The production validator image is a pinned digest, and its rebuild is on hold.
  • The dashboard image in this run is the one on master, which installs without the lockfile. fix(dashboard): build the image from the lockfile and compare it in CI #499 changes that Dockerfile.

Order proposed for the upgrade

Each step is a decision.

  1. The workflows, in one PR. Tests and docs move first because a revert costs nothing.
  2. The three release images one at a time, each followed by a deploy and the checks of the runbook: executor first, since it has no dependencies; then app; then dashboard. The dashboard step waits for fix(dashboard): build the image from the lockfile and compare it in CI #499, so that the two changes do not share a PR.
  3. The validator image, with its rebuild.
  4. The images built outside the release pipeline: bot, demo-dashboard, plugin-sandbox, docs.
  5. engines, the README line and the three comments.

Activity

  1. Alajmah commented on Nov 23, 2026

    @Alajmah
    ContributorAuthor

    Stage status (2026-11-23)

    Stage State
    1. Workflows complete. #503 merged as d2aa070, published, deployed. The three release images were read after it and still hold Node v20.20.2: #503 (comment)
    2. executor-service #504, open for review. Node 24 image; the identity contract is checked inside the image in CI
    3. app not started. It follows the merge and the deploy of stage 2
    4. dashboard on hold
    5. bot, demo-dashboard, docs, plugin-sandbox not started
    validator on hold
    engines, README, comments last

    One run of publish-release-images has now happened on Node 24 (run 45121841616, attempt 1), which the first inventory listed as not covered.

  2. Alajmah commented on Nov 24, 2026

    @Alajmah
    ContributorAuthor

    Core-services completion (2026-11-24): stages 1–4 closed, app + executor + dashboard run Node 24 in production

    Per the maintainer's ruling, the core Node 24 transition is complete and operationally verified. The issue stays OPEN — the remaining scope below is still in the program.

    What closed

    Stage Component PR / commit Note
    1 CI workflows #503 → d2aa070
    2 Executor image #504 → cd23a11 closed with a documented exception: validator behavioural equivalence between Node 20/24 executors NOT established
    3 App image #510 → 85f0f9b
    4 Dashboard image #511 → 9a55317 sharp/next/image ruled NOT EXERCISED, non-blocking today; a real image-processing test becomes a condition if next/image is ever introduced

    Production evidence: master 9a55317e200158…; all three release services v24.22.3 read from their published images; 10 containers (9 healthy + tunnel); 49/49 migrations; workers undisturbed; protected-dashboard real-browser check 8/8 pages, search 20→1→20, zero console/React/hydration errors (closure record: PR #511 comment 7123250594).

    Still in the program (not closed by this record)

    • Bot, Docs, Demo Dashboard, Plugin Sandbox images — each has a precondition before its Node upgrade (lock strategy + build/run proof; rebuild-from-lock without the VitePress alpha; Next-tree/lock refresh; isolation/identity/execution contract proof). Inventory and design only, per the ruling.
    • Validator image — needs the verification gap addressed and an independent digest-change approval.
    • engines + README — after the supported-Node policy is set.

    Standing exceptions (unchanged)

    • Validator execution equivalence between the Node 20 and Node 24 executors: not established.
    • The ESLint exit-1-vs-2 explanation: likely, not fully proven.
    • Sharp: not exercised; not a blocker in the current usage path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions