Skip to content

chore(dashboard): run the dashboard image on Node 24 - #511

Merged
Alajmah merged 1 commit into
masterfrom
chore/node-24-dashboard-image
Nov 24, 2026
Merged

Alajmah merged 1 commit into
masterfrom
chore/node-24-dashboard-image

Conversation

@Alajmah

@Alajmah Alajmah commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Stage 4 of the Node 24 transition: the dashboard image moves to Node 24

Two FROM lines in packages/web-dashboard/Dockerfile: node:20-alpine → node:24-alpine, in the builder and the runner stages alike. Nothing else changes — the lockfile, package.json, Next.js 16.4.6, scripts/compare-image-deps.mjs, the app and executor Dockerfiles, and the validator are untouched.

Evidence so far

  • Linux validation before the PR: CI run 45327646230 SUCCESS — including docker-build-dashboard (image build from the lockfile, compare-image-deps, boot, GET /dashboard response).
  • A runtime proof workflow (both stages' Node version read from the built images, SVG assets inside the image, boot + health, a real request through the _next/image optimizer path with a raster input, server-log scan for sharp/binary load errors) runs on the study branch study/dashboard-node24-proof; its run is linked in the thread.

Merge hold

Per the maintainer's order: no merge before the final head is reviewed, and no production deploy before the merge is approved.

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

chatgpt-codex-connector Bot commented Nov 24, 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-24T04:45:46.868211Z 7ee2c68 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 · 1/1 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 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Stage-4 record: PR opened, scope exact, Linux proof complete — merge held for the maintainer's head review

Head 7ee2c684667d283b246b88461b49753dedb339f8, one file, +2/−2 (the two FROM lines in packages/web-dashboard/Dockerfile). The lockfile, package.json, Next.js 16.4.6, compare-image-deps.mjs, the app and executor Dockerfiles, and the validator are untouched. Merge and deploy wait for the maintainer's review of this head; production is unchanged.

The Linux gates

Gate Evidence
CI on the branch, before the PR run 45327646230 SUCCESS, incl. docker-build-dashboard (build from the lockfile + compare-image-deps + boot + GET /dashboard)
Builder stage Node 24 read from a --target builder image: v24.22.3
Runner stage Node 24 read from the final image: v24.22.3
SVG assets inside the image 5 (file, globe, next, vercel, window)
Boot + HTTP GET /dashboard → 200 on the Node 24 runner
Next.js optimizer probe GET /_next/image?url=%2Fproof.png&w=64&q=75 → 404 — recorded, with cause (below)
sharp / binary load errors none in the server logs; no sharp in the dashboard's installed tree at all
Reviews gitwire-hq Approved (high confidence, 0 findings, evidence complete); Codex completed, 0 findings on this head; CodeQL pass
PR checks at record time 21 pass, release-tooling-validation pending, publish-release-images skipping (master-only by design)

The optimizer probe, read honestly

The app has no next/image usage in src (the only reference is the middleware matcher in proxy.ts, which excludes _next/image), and sharp is not a dashboard dependency. The probe copied a 1×1 PNG into the running container and requested it through /_next/image; it returned 404 because Next resolves the public file set at server start, so a file added after boot is not served. The raster therefore never reached sharp — the probe exercised the route, not the sharp pipeline. No sharp, binary, module-resolution, or ERR_DLOPEN errors appeared anywhere in the logs. The maintainer's condition was conditional on usage; usage is absent, and the probe's outcome is recorded rather than forced. The win32-ia32 engines constraint sits on an optional platform binary that Linux never installs.

Incidents during preparation (both resolved, nothing shipped corrupted)

The first proof run 45328392717 failed at the probe's docker cp (relative container path; fixed to the absolute /app/... path on study/dashboard-node24-proof-v2, run 45328787301, all eight steps green). Separately, the session hit a generation-quality incident: corrupted drafts (a #508 test script, and stray lines in the workflow) were caught in verification and corrected before commit; the shipped files are the verified ones.

@Alajmah
Alajmah merged commit 9a55317 into master Nov 24, 2026
41 checks passed
@Alajmah

Alajmah commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Stage-4 closure record: deployed as 9a55317, every production gate passed — the dashboard runs Node 24

Merge: squash-merged at the approved head 7ee2c68 → 9a55317e2001588a4d272c5a83de861679d3e133; CI run 45333902000 SUCCESS; deploy run 45334873983 SUCCESS. Pre-merge baseline was recorded first (window 85f0f9b/0a0257d/cd23a11/d2aa070; expected removal = d2aa070's three digests, recomputed from disk, not from the table).

The gates

Gate Evidence
Dashboard on Node 24 read from the published image gitwire-dashboard@sha256:53c15565…: v24.22.3
App preserved published image 27bb08ff… → v24.22.3
Executor preserved published image d89a32de… → v24.22.3
Validator digest unchanged deploy log: gitwire-validator@sha256:e2c10a61… already present locally, untouched
SHA match all three release services carry revision 9a55317e200158…; current → 9a55317
Digests each container's image id equals the digest the deploy pulled (images.env match)
Services 10 running, 9 healthy + tunnel (no healthcheck by design)
PostgreSQL /health ok; 49/49 migrations applied
Redis + workers 14 BullMQ connections; triage/verification/sync wait=0 active=0 — no disruption
Protected pages (real browser) home/repos/issues/pull-requests/ci/activity/insights/intelligence all 200 with live content (home 77 table rows, repos 20, insights 77)
Search interaction box found; "gitwire" → 20 → 1 row; cleared → 20 — through the real API on the Node 24 dashboard
React / Hydration zero console errors, pageerrors, React/hydration issues
Static assets zero ≥400 resource responses (SVG/CSS/JS all loaded)
Session hygiene session minted inside the app container, never printed; logout 200; the session file was removed by the check itself
Rollback window 9a55317 / 85f0f9b / 0a0257d / cd23a11 (three images each)
Retention removal set proven from the host inventory: d2aa070's digests bf997df34f3d/ab738eca2e7e/41491319e71f have no match in docker images --digests; cd23a11's three digests all present; decision kept=24 protected=13 remove=3, 3 succeeded / 0 failed — exactly the expected set

Sharp, per the ruling

Recorded as NOT EXERCISED — non-blocking: the 404 probe never reached sharp, the current source has no next/image usage, and absence of sharp errors is not claimed as proof of an execution that did not run. Kept in the record: a real image-processing test becomes a condition for any future change that introduces next/image.

Program state

The three core services (app, executor-service, dashboard) now run Node v24.22.3 in production — the core Node 24 transition is complete. The remaining images (validator, docs, bot, demo-dashboard, plugin-sandbox), engines, and the README stay in their own authorized stages. The #508 safe-restore gate is unaffected.

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