Skip to content

chore(ci): run the workflows on Node 24 (stage 1 of #500) - #503

Merged
Alajmah merged 1 commit into
masterfrom
chore/node-24-ci-workflows
Nov 23, 2026
Merged

Alajmah merged 1 commit into
masterfrom
chore/node-24-ci-workflows

Conversation

@Alajmah

@Alajmah Alajmah commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Status

Stage 1 of the Node 24 transition, issue #500. Created for merge review; the merge and the deployment need their own approval, as does every later stage.

What this changes

The 19 node-version steps of the 8 workflows move from 20 to 24. Nothing else: no Dockerfile, no lockfile, no engines field, no README. The images keep their own stages.

File Steps
ci.yml 12
master-push-ci-watchdog.yml 1
plugin-sandbox-proofs.yml 1
w2-configuration-layering.yml 1
w2-policy-authority-db.yml 1
w2-policy-promotion-db.yml 1
w2-policy-writers-db.yml 1
w3-mutation-command-db.yml 1

Why

Node 20 reached end of life on 2026-04-30. Node 24 is supported to 2028-04-30. The test environment moves first, so that the later stages are tested by the new version.

Verification

Every workflow that can run on this branch ran on Linux with these steps on Node 24, while the images still build on Node 20 — exactly this stage's configuration:

Workflow Run Result
CI 45115016963 success. 16 jobs: every test suite, every image build, the docs build, the dependency audit, the release tooling rehearsal. publish-release-images is skipped on a manual run
W2 Configuration Layering 45115019471 success
W2 Policy Authority DB 45115022116 success
W2 Policy Promotion DB 45115024738 success
W2 Policy Writers DB 45115027065 success
W3 Mutation Command DB 45115029789 success
Plugin Sandbox Proofs 45115032521 success

The workflows ran on v24.22.3. Earlier evidence, with the images moved as well, is in #500: the same seven workflows succeeded on study/node-24-compat (7c83535).

No EBADENGINE was printed. The two deprecation lines that appear in these runs come from actions/setup-node@v4 itself, not from this repository's code or its dependencies.

What a merge does

A merge to master publishes a release and recreates the three release services. Their images are unchanged by this pull request, so they run on Node 20 after it, from their own unchanged images. The later stages change them one at a time, in the order of #500: the executor, the app, then the dashboard, each as its own unit.

Not covered

  • publish-release-images never runs on a manual run. Its steps are the image builds above plus the label and digest work.
  • The deploy workflow pins no Node and was not exercised by this stage.
  • Nothing ran under load.

Stage 1 of the Node 24 transition (#500). Node 20 reached end of life
on 2026-04-30.

Moves the 19 `node-version` steps of the 8 workflows from 20 to 24. The
Dockerfiles, the lockfiles, the engines fields and the README are not
changed here. The images follow in their own units.

Evidence so far: on the branch study/node-24-compat (7c83535), which
moved the workflows and the images together, the seven workflows that
can be dispatched by hand all succeeded on v24.22.3. The order of the
stages and the choice of a version per image are recorded in #500.

Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T05:06:15.685848Z a85dc6b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gitwire-hq gitwire-hq 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.

🤖 AI Code Review — ✅ Approved

Confidence: high · Findings: 0
AI judgment: APPROVE · Evidence: COMPLETE · Authority: advisory
Evidence complete · 8/8 changed files accounted for

GitWire AI Review Gate (bundle-driven v2) · Structured schema · Scope-validated · AI recommendation — maintainers and repository policy retain authority

@Alajmah
Alajmah merged commit d2aa070 into master Nov 23, 2026
51 checks passed
@Alajmah

Alajmah commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Stage 1 is complete: merged, published, deployed, and proven from the images (2026-11-23)

Merge. Head a85dc6b re-confirmed before the merge: 8 files, 38 changed lines that are exactly 19 steps from 20 to 24 and nothing else, 27 checks successful, merge state clean, no deploy in progress. Squash-merged at 06:05:38Z as d2aa07064b14c9e8f0574b808d0ca009ced67043, with the sign-off.

Every workflow that ran on the merge commit

All nine succeeded on the first attempt. The merge moved every workflow to Node 24, so the six proof workflows ran on it for the first time.

Workflow Result
CI, with publish-release-images success, attempt 1
CodeQL success, attempt 1
Deploy to Production success, attempt 1
W2 Configuration Layering, W2 Policy Authority DB, W2 Policy Promotion DB, W2 Policy Writers DB success, attempt 1 each
W3 Mutation Command DB, Plugin Sandbox Proofs success, attempt 1 each

publish-release-images ran on Node 24 for the first time. It built the three images, verified their labels, ran the smoke tests, pushed them and wrote the manifest. The PostgreSQL readiness race of #501 did not occur.

The images still run Node 20: read from the images, not inferred

The review asked for this to be proven from the published images, because the Dockerfiles did not change. Each running release container was tied to its published image digest, and the Node version was read by starting that exact image with node -v, in a container without a network that was removed afterwards.

Service Published digest in the deploy run Image of the running container Node inside that image
app gitwire-app@sha256:bf997df34f3d… the same digest v20.20.2
executor-service gitwire-executor-service@sha256:ab738eca2e7e… the same digest v20.20.2
dashboard gitwire-dashboard@sha256:41491319e71f… the same digest v20.20.2

The three digests are the ones the deploy run pulled. The version is the same as before this stage, v20.20.2 in all three.

The deployment

Deploy run 45122612391: success.

Check Result
SHA /health through the tunnel: status ok, git_sha d2aa07064b14…, migrations current. Release record: current → d2aa070
Ten services 10 containers running, 9 report healthy, the tenth is the tunnel, which defines no health check
Image identities executor, app and dashboard image identities verified by the deploy script; the three gates passed
Release and rollback images d2aa070, 4e45982, ad45e16, 3847171 keep 3 images each
Retention decision remove=3, kept=24; removal 3 succeeded, 0 failed. The three images of f56b86f, the oldest outside the window, are gone
Validator image already present at digest e2c10a61…, unchanged

What is covered by this stage and what is not

Covered: the test suites, the docs build, every image build, the dependency audit, the release tooling rehearsal, the release publication and the six proof workflows, all on Node 24 in the workflows.

Not covered: the deploy workflow pins no Node of its own and runs on the self-hosted runner, whose Node comes with the runner. Nothing ran under load.

Next stages

Each is its own unit and needs its own review and its own deploy check, in the order of the review: executor-service, then app. The dashboard and the validator stay on hold.

Alajmah added a commit that referenced this pull request Nov 23, 2026
Stage 2 of the Node 24 transition (#500), after stage 1 (#503). Node
20 reached end of life on 2026-04-30.

packages/executor-service/Dockerfile: the base image moves from
node:20-alpine to node:24-alpine, and the comment beside it follows.
The service has no npm dependencies, so nothing else in the image
changes.

.github/workflows/ci.yml: the executor image job now checks, inside
the built image, what the service depends on and what a change of the
base image could move. The validator containers run as --user=1000:1000
and the service writes into /workspace-tmp as the image's own non-root
user. So the job requires that the node user is at uid 1000 and gid
1000, that the service process runs as that user, that /workspace-tmp
accepts its write, and that docker-cli is present. It also prints the
Node version of the image.

A merge publishes a release and recreates the three release services.
The app and the dashboard keep their Node 20 images until their own
stages.

Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com>
Alajmah added a commit that referenced this pull request Nov 23, 2026
Stage 3 of the Node 24 transition (#500), after stages 1 (#503) and 2
(#504). Node 20 reached end of life on 2026-04-30. The change is the
base image of the app Dockerfile, and nothing else: the lockfile is
unchanged and no locked package refuses Node 24.

A merge publishes a release and recreates the three release services;
the executor keeps its Node 24 image from #504 and the dashboard keeps
its Node 20 image until its own stage. The merge is on hold pending
review; the stage-2 production gate (a recorded real validation through
the executor) is still being closed separately.

Signed-off-by: Alajmah <55954113+Alajmah@users.noreply.github.com>
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.

1 participant