Skip to content

Commit fd35f70

Browse files
chore(deps): raise the Node runtime floor to 26 (Active LTS) (#1736)
* chore(deps): raise the Node runtime floor to 26 (Active LTS) Node 26 ("Lithium") entered Active LTS on 2026-10-28 and is now the newest LTS line; Node 24 moved to Maintenance LTS on 2026-10-20. This is the runtime raise the docker-base ignore entry deferred: the `>= 26, < 27` hold in .github/dependabot.yml named 2026-10-28 as its own expiry. All five Node-major pins move together, as the ci.yml note requires: - .github/workflows/ci.yml (web lane + site lane setup-node) - .github/workflows/site-deploy.yml - docker/web.Dockerfile (node:26-alpine) - flake.nix (nodejs_26, tracks 26.13.0 in nixpkgs) Node 26 is the last release on the two-per-year cadence. From Node 27 the schedule becomes one annual major per year and every major becomes LTS (no odd/even distinction), so this is also the last raise where the "skip odd majors" rule is load-bearing; the ignore entries for the still-unpublished odd majors (27, 29, …) are left in place only to avoid matching nothing, and the comment records when to revisit them. Co-Authored-By: Claude Code <noreply@anthropic.com> * chore(deps): drop the dead "odd Node majors are never LTS" ignore The old ignore list encoded the two-per-year model's odd/even LTS rule (25, 27, 29, 31, 33). Node 26 was the last release on that cadence; from Node 27 the schedule is one annual major per year and every major becomes LTS. Keeping the 27/29/31/33 entries would suppress future valid LTS lines forever and freeze the runtime at 26 — the "freeze a live dependency" failure this section warns against. Replace with two correctly-shaped entries: 25 stays ignored permanently (EOL, never LTS, wrong to adopt); 27 is a temporary hold on the newest not-yet-LTS major, mirroring exactly how 26 was held, to be removed when 27 enters LTS (2027-10-20). Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: engrams-agent[bot] <289318790+engrams-agent[bot]@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent ec52666 commit fd35f70

5 files changed

Lines changed: 37 additions & 29 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -368,23 +368,30 @@ updates:
368368
docker-base:
369369
patterns: ["*"]
370370
ignore:
371-
# Only even Node majors ever become LTS; odd ones are Current-only and
372-
# go EOL about 7 months after release. Dependabot proposed
373-
# `node:25-alpine` in #130 — a line that was ALREADY EOL (2026-06-01)
374-
# on the day the PR was opened, and the release that stopped shipping
375-
# `corepack` (nodejs/node#57617), which is what web.Dockerfile used to
376-
# install pnpm. So it could not have built either. Skip odd majors; the
377-
# even ones (26, 28, …) still arrive normally.
371+
# Two reasons a node major is held back, and the OLD two-per-year model
372+
# made them line up with parity. The NEW annual schedule (from Node 27
373+
# onward) breaks that alignment, which is why this list is now two
374+
# differently-shaped entries instead of "all odd majors".
378375
#
379-
# TEMPORARY exception to "even majors arrive normally": node 26. 26 is an
380-
# even major and WILL become LTS, but it is not LTS *yet* — v26.0.0
381-
# shipped 2026-05 and the line only enters Active LTS on 2026-10-28.
382-
# Until then it is a Current (non-LTS) line, and this repo pins runtimes
383-
# to the newest LTS (node 24 today), so #1155 (`24-alpine` -> `26-alpine`)
384-
# is deferred rather than merged. This is NOT a permanent skip like the
385-
# odd majors above: REMOVE the `>= 26, < 27` entry once 26 reaches Active
386-
# LTS (2026-10-28), at which point it is the newest LTS line and the right
387-
# next bump from 24.
376+
# 1. Node 25 is EOL and never LTS. It was Current-only under the old
377+
# model, went EOL 2026-06-01, and its release also dropped `corepack`
378+
# (nodejs/node#57617) — which web.Dockerfile used to install pnpm, so
379+
# #130 could not have built regardless. It is a wrong version to
380+
# adopt, permanently (`>= 25, < 26`).
381+
#
382+
# 2. Node 26 ("Lithium") is the LAST release on the old cadence. It
383+
# entered Active LTS on 2026-10-28 and is the newest LTS line, so the
384+
# temporary `>= 26, < 27` hold is dropped and the tree pins node:26.
385+
#
386+
# From Node 27 the schedule is one annual major per year and EVERY major
387+
# becomes LTS — no odd/even distinction. So the "skip odd majors" rule
388+
# is dead; the surviving rule is the standard deferral this repo already
389+
# used for 26: hold the newest major while it is Current-only (not yet
390+
# LTS), advance the floor when it reaches LTS. The `>= 27, < 28` entry
391+
# is that same TEMPORARY hold — REMOVE it once 27 enters LTS
392+
# (2027-10-20), then repeat for 28, and so on. 27 ships stable as
393+
# Current 2027-04-22; until then it does not exist as a stable tag, so
394+
# the hold is cheap.
388395
#
389396
# NOTE THE SYNTAX. For `package-ecosystem: docker`, `versions:` entries
390397
# are RubyGems requirement strings — NOT the npm/NuGet `x`-wildcards.
@@ -400,8 +407,4 @@ updates:
400407
- dependency-name: "node"
401408
versions:
402409
- ">= 25, < 26"
403-
- ">= 26, < 27"
404410
- ">= 27, < 28"
405-
- ">= 29, < 30"
406-
- ">= 31, < 32"
407-
- ">= 33, < 34"

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -733,18 +733,23 @@ jobs:
733733
- uses: pnpm/action-setup@v6
734734
with:
735735
version: 9
736-
# Node 24 ("Krypton") is the newest LTS line: LTS since 2025-10-28,
737-
# maintenance 2026-10-20, EOL 2028-04-30. Only even majors ever go LTS.
736+
# Node 26 ("Lithium") is the newest Active LTS line: LTS since
737+
# 2026-10-28, maintenance 2027-10-20, EOL 2029-04-30. Node 26 is the
738+
# last release under the two-per-year model; from Node 27 every annual
739+
# major becomes LTS (no odd/even distinction). Node 24 moved to
740+
# Maintenance LTS on 2026-10-20.
738741
#
739-
# This major is pinned in THREE places that must move together:
742+
# This major is pinned in FIVE places that must move together:
740743
# - here (the web lane)
744+
# - the site lane below (same `setup-node` version)
745+
# - .github/workflows/site-deploy.yml
741746
# - docker/web.Dockerfile (`FROM node:<major>-alpine`)
742747
# - flake.nix (`nodejs_<major>`, the `nix develop` shell)
743748
# They had drifted to 20 / 24 / 22 respectively; Node 20 went EOL
744749
# 2026-04-30, so CI was building on an unsupported runtime.
745750
- uses: actions/setup-node@v7
746751
with:
747-
node-version: 24
752+
node-version: 26
748753
cache: pnpm
749754
cache-dependency-path: web/pnpm-lock.yaml
750755

@@ -796,7 +801,7 @@ jobs:
796801
version: 9
797802
- uses: actions/setup-node@v7
798803
with:
799-
node-version: 24
804+
node-version: 26
800805
cache: pnpm
801806
cache-dependency-path: site/pnpm-lock.yaml
802807

‎.github/workflows/site-deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
version: 9
5353
- uses: actions/setup-node@v7
5454
with:
55-
node-version: 24
55+
node-version: 26
5656
cache: pnpm
5757
cache-dependency-path: site/pnpm-lock.yaml
5858

‎docker/web.Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
# Keep this major in step with the web CI lane (.github/workflows/ci.yml)
1111
# and flake.nix — see the note beside `setup-node` in that workflow.
12-
FROM node:24-alpine AS builder
12+
FROM node:26-alpine AS builder
1313
WORKDIR /src/web
1414

1515
# pnpm v9, matching the CI web lane (pnpm/action-setup version 9 in
1616
# .github/workflows/ci.yml) so local + CI builds agree.
1717
#
1818
# Installed directly rather than through corepack: Node stopped shipping
1919
# corepack in v25 (nodejs/node#57617), so `corepack enable` is a dead end
20-
# — it would break again at the next even LTS. npm is in the base image.
20+
# on 26+. npm is in the base image.
2121
RUN npm install -g pnpm@9
2222

2323
# Lockfile first so the install layer stays warm across source edits.

‎flake.nix‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
protobuf # protoc, for tonic-build when grpc lands
5353
llvmPackages.libclang # bindgen for userfaultfd-sys (Linux only,
5454
# but harmless on macOS)
55-
nodejs_24 # web SPA dev server (`just web` -> vite).
55+
nodejs_26 # web SPA dev server (`just web` -> vite).
5656
# Keep this major in step with the web CI
5757
# lane (.github/workflows/ci.yml) and
5858
# docker/web.Dockerfile — see the note

0 commit comments

Comments
 (0)