Skip to content

chore(node): Node 24.22.1 for the docs image and route guard (LIN-3964) - #307

Merged
ganimtron-10 merged 1 commit into
mainfrom
prshetty/lin-3964-node-24
Oct 22, 2026
Merged

ganimtron-10 merged 1 commit into
mainfrom
prshetty/lin-3964-node-24

Conversation

@ganimtron-10

Copy link
Copy Markdown
Contributor

What

Node.js shipped security releases on 2026-10-20 (Brotli decoder RCE, TLS hostname bypass, DNS truncation; bundled undici/OpenSSL/CA updates). Node 20 is EOL and gets no fix. This moves this repo to Node 24 LTS (24.22.1, latest 24.x, re-checked against nodejs.org on 2026-10-21 21:2x UTC): Dockerfiles pin the exact node:24.22.1-<variant> tag, CI uses node-version: 24 (or the exact version where the repo already pinned one), NodeSource installs pin nodejs=24.22.1-1nodesource1. Part 3 of 3 of LIN-3964; parts 1-2 are linkrunner-backend#1447 and ops#1182.

Where Before After
Dockerfile (runs mintlify dev) node:20-alpine (EOL) node:24.22.1-alpine
docs-route-guard.yml 22 24

Tests (local, Node 24.22.1)

  • node scripts/check-doc-routes.mjs <origin/main> on 24.22.1: Documentation routes are valid: 133 pages, no unredirected removals.; npm run check:agents passes.
  • docker build on 24.22.1, run read-only as uid 1000 with the chart's /home/node/.mintlify tmpfs: preview ready; inside the container GET / and /introduction 200 (Welcome to Linkrunner). Note (pre-existing): mintlify dev binds to localhost only, despite the Dockerfile comment.
  • The GKE docs.bkp deployment was removed in ops (LIN-1280), so this image is not deployed today.

Scans

No lockfile changed, so npm audit --omit=dev is unchanged. trivy HIGH/CRITICAL, image from main (Node 20.20.2) vs this branch: OS 0C/4H -> 0C/0H, npm 2C/65H -> 1C/47H.

Review

Two independent reviewer subagents before push, across all part-3 PRs (this repo has no Claude review workflow; linkrunner-backend .claude/rules/code-review.md used as the named fallback): no Critical or Major finding for this repo.

Rollout

Nothing deploys this image today. Merge is safe; Mintlify hosting is unaffected.

Part of LIN-3964 (Linear).

@ganimtron-10
ganimtron-10 merged commit 4548f10 into main Oct 22, 2026
5 checks passed
@ganimtron-10
ganimtron-10 deleted the prshetty/lin-3964-node-24 branch October 22, 2026 05:49
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