Skip to content

Upgrade Node 24 -> 26 LTS and @types/node to 26 - #401

Merged
owenthereal merged 1 commit into
mainfrom
chore/node-26-lts
Dec 5, 2026
Merged

owenthereal merged 1 commit into
mainfrom
chore/node-26-lts

Conversation

@owenthereal

Copy link
Copy Markdown
Member

Summary

Upgrade the runtime and Node type definitions from Node 24 LTS → Node 26 LTS ("Lithium", entered Active LTS on 2026-10-28), stacked on #400.

 .node-version   24 → 26   # consumed by .github/workflows/ci.yaml and release.yaml
 Dockerfile      ARG NODE_VERSION=24 → 26
 Dockerfile.dev  FROM node:24 → node:26
 package.json    "@types/node": "^24.19.4" → "^26.6.11"

Evidence

  • Before: .node-version, Dockerfile, Dockerfile.dev, and @types/node pinned to Node 24 LTS
    After: all consumers aligned on Node 26 LTS (node:26-slim and node:26 Docker Hub manifests verified)
  • Gate on Node 26 (v26.9.0 locally; CI runs latest 26.x LTS via .node-version):
    • npm audit: 0 vulnerabilities
    • npx tsc --noEmit: clean with @types/node@26.6.11
    • npm run lint: clean
    • npm test: 89/89 (7/7 files)
    • npm run build: clean (.next/BUILD_ID and .next/standalone/server.js verified)
  • Real app (Postgres 16 + production standalone node .next/standalone/server.js on Node 26):
    • node node_modules/prisma/build/index.js migrate deploy succeeded on Node 26
    • GET /api/health, GET /api/jq, POST /api/jq (Piscina pool), POST /api/snippets → GET /api/snippets/CANq8YDuqPW0lDh → GET /s/CANq8YDuqPW0lDh (HTTP 200)
  • Playwright on the Node 26 standalone build:
    • Homepage Web Worker execution: [3, 1, 2] with sort → [\n 1,\n 2,\n 3\n]
    • Shared snippet /s/CANq8YDuqPW0lDh pre-populated and evaluated to [1,2,3]
    • /api Scalar docs rendered with real /openapi.json examples intact
    • 375 / 768 / 1440 px viewports: 0 horizontal overflow; 0 console errors, 0 page errors, 0 failed requests

Merge Danger

Door: two-way

Revert restores .node-version, Dockerfiles, and @types/node back to Node 24; no schema or data changes.

Blast Radius: runtime

Changes the Node.js major runtime in CI and Fly.io Docker images (24 → 26 LTS). Stacked on #400 — merge #400 first without deleting its branch until this PR is rebased/retargeted onto main.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 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-12-05T22:06:43.774485Z ba4138c New commits
ℹ️ 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.

Base automatically changed from chore/deps-security-refresh to main December 5, 2026 22:05
@owenthereal
owenthereal merged commit b912f85 into main Dec 5, 2026
1 check passed
@owenthereal
owenthereal deleted the chore/node-26-lts branch December 5, 2026 22:12
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