Skip to content

ci: make Node 26 LTS the default, keep testing the 24 floor - #8550

Merged
JohnMcLear merged 4 commits into
developfrom
chore/node-26-default
Nov 24, 2026
Merged

JohnMcLear merged 4 commits into
developfrom
chore/node-26-default

Conversation

@JohnMcLear

Copy link
Copy Markdown
Member

Node 26 has been Active LTS since 2026-10-28. This makes 26 the default everywhere in core and keeps 24 tested, because engines.node stays >=24.0.0.

  • CI: backend, admin and upgrade matrices run 24 and 26. The required (24) checks keep their names. Single-version jobs (frontend, type check, release, docs, installer, load test, deb smoke test) move to 26.
  • Windows: drops the 24.16.0 pin. The jobs run 24 and 26 with check-latest: true, so setup-node can't fall back to the runner's cached 24.15.0 (libuv 1.51.0, Silent process crash: /GS stack-buffer-overrun in libuv Windows TCP-connect path under high outbound HTTP-connection volume (24.15.0; appears fixed in 24.16.0) nodejs/node#63620). Current 24.22.3 and 26.13.1 both ship libuv 1.52.1. A vitest lint keeps check-latest in place.
  • Snap: bundles Node 26.13.1, up from 24.15.0, which predated the October security releases. The tarball is now checked against a pinned sha256 per arch.
  • Removes bin/buildForWindows.sh, which downloaded Node 22, and the legacy bin/buildDebian.sh / bin/deb-src, which installed Node 0.10.4. Nothing references either. The real .deb is packaging/ (nfpm).
  • Docs recommend 26 LTS and keep >= 24 as the floor. With this change the 3.0.0 CHANGELOG line "CI matrix targets Node 24 and 26" becomes true.

Unchanged: the engines floor, installer and .deb Depends floors (24), Docker (node:24-alpine), and the plugin templates in bin/plugins/lib.

The backend mocha suite (2142 passing) and vitest (934 passing) pass locally on Node 26.13.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TcYAoDMav4BPPE9JrMtSvw

JohnMcLear and others added 4 commits November 24, 2026 11:05
Node 26 is Active LTS. Backend, admin and upgrade matrices now run 24 (the
engines floor) and 26. Single-version jobs move to 26. Windows drops the
24.16.0 pin in favour of check-latest: true so the runner's cached 24.15.0
(libuv TCP-connect overrun, nodejs/node#63620) is never picked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TcYAoDMav4BPPE9JrMtSvw
buildForWindows.sh downloaded Node 22 and would fail the >=24 check.
buildDebian.sh and bin/deb-src installed Node 0.10.4 with an upstart job
and are superseded by packaging/ (nfpm). Nothing references either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TcYAoDMav4BPPE9JrMtSvw
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TcYAoDMav4BPPE9JrMtSvw
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Make Node 26 the default while testing the Node 24 floor

⚙️ Configuration changes ✨ Enhancement 📝 Documentation 🧪 Tests 🕐 20-40 Minutes

Grey Divider

AI Description

• Test Node 24 and 26 in compatibility matrices; move single-version CI jobs to 26.
• Bundle verified Node 26 tarballs in the snap and avoid cached vulnerable Node builds on Windows.
• Recommend Node 26 in docs and remove obsolete packaging scripts; retain the Node 24 minimum.
Merge Risk 🟡 Medium

Blast radius 🔴 High 💥 4 capabilities

  • 4 affected capabilities span independent functional scopes: legacy Debian package distribution, legacy Windows archive distribution, repository delivery automation, snap-distributed Etherpad service.
  • The changed workflows are separate entry points into the same bounded delivery automation integration: they select the runtime used to validate, package, publish, or exercise the repository.
  • The affected outcome is workflow execution and produced delivery artifacts, not a separate product capability per YAML file.
  • The changed Node binary is part of one bounded snap distribution path: build-time runtime acquisition leads to the snap daemon executing Etherpad.
  • The user-visible outcome is the snap-hosted Etherpad service, not an independent capability for each build command or bundled file.
  • The deleted shell builder, control metadata, maintainer scripts, and init configuration form one end-to-end legacy Debian package path.
  • They are implementation and packaging inputs for the same package output, not separate capabilities.
  • This is a distinct package output and user installation path from the Debian package builder: it creates a Windows ZIP containing the built application and a Node executable.
  • The distinct output and platform-specific installation behavior support treating it as a separate capability.
Sources

.github/workflows/backend-tests.yml[156-164]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).
        # Windows needs libuv >= 1.52.1 (Node >= 24.16.0). Node 24.15.0's
        # bundled libuv 1.51.0 has a stack buffer overrun in the Windows
        # TCP-connect path (uv__tcp_connect) that the backend suite's localhost
        # connection churn hits as a silent ELIFECYCLE crash
        # (nodejs/node#63620, fixed in 24.16.0). The runner image can still
        # pre-cache 24.15.0 for a bare "24", so this job sets check-latest: true
        # to always resolve the newest 24.x / 26.x release instead of pinning.

.github/workflows/backend-tests.yml[29-30]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).
Behavioral complexity 🟡 Medium 🧩 Compatibility cases

  • Before: the workflows primarily selected Node 24, with Windows explicitly pinned to a known Node 24 patch level.
  • After: several jobs select Node 26, while matrix jobs exercise both Node 24 and Node 26 and Windows resolution depends on check-latest.
  • New correctness condition: each affected action, dependency, plugin operation, and release command must behave correctly across the selected Node versions and the Windows toolcache-resolution behavior.
  • The change introduces version-compatibility cases, but it does not introduce a new application algorithm or coordinated runtime state.
Sources

.github/workflows/backend-tests.yml[29-30]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).

.github/workflows/backend-tests.yml[156-164]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).
        # Windows needs libuv >= 1.52.1 (Node >= 24.16.0). Node 24.15.0's
        # bundled libuv 1.51.0 has a stack buffer overrun in the Windows
        # TCP-connect path (uv__tcp_connect) that the backend suite's localhost
        # connection churn hits as a silent ELIFECYCLE crash
        # (nodejs/node#63620, fixed in 24.16.0). The runner image can still
        # pre-cache 24.15.0 for a bare "24", so this job sets check-latest: true
        # to always resolve the newest 24.x / 26.x release instead of pinning.
Potential damage 🟡 Medium 🩹 Recoverable

  • If the changed runtime selection causes a job to fail, the affected validation or delivery workflow is unavailable or degraded until the runtime configuration or incompatible dependency is corrected.
  • Re-running with Node 24 or reverting the workflow is supported code/configuration recovery; a failed publication may require manually rerunning the release.
  • No persistent application state or already-published user data is changed by these workflow definitions.
  • Generally recoverable by correcting the workflow runtime or dependency compatibility and rerunning the affected job.
  • A partially completed release or package publication may require operator verification and compensation, which is not specified here.
Sources

.github/workflows/backend-tests.yml[29-30]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).

.github/workflows/backend-tests.yml[156-164]

        # Etherpad requires Node >= 24 (see package.json engines.node). Test the
        # floor (24) and the current Active LTS (26).
        # Windows needs libuv >= 1.52.1 (Node >= 24.16.0). Node 24.15.0's
        # bundled libuv 1.51.0 has a stack buffer overrun in the Windows
        # TCP-connect path (uv__tcp_connect) that the backend suite's localhost
        # connection churn hits as a silent ELIFECYCLE crash
        # (nodejs/node#63620, fixed in 24.16.0). The runner image can still
        # pre-cache 24.15.0 for a bare "24", so this job sets check-latest: true
        # to always resolve the newest 24.x / 26.x release instead of pinning.
Assessed commit 6fec242
Diagram

graph TD
  policy["Node 24 minimum"] --> matrix["Compatibility matrices"] --> windows["Windows latest releases"]
  policy --> jobs["Node 26 jobs"]
  policy --> snap["Snap build"] --> tarballs["Verified Node tarballs"]
  policy --> docs["Runtime guidance"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Centralize CI Node versions in reusable workflows
  • ➕ Reduces repeated version literals across workflows.
  • ➕ Makes future LTS changes easier to coordinate.
  • ➖ Adds workflow indirection for jobs with different setup and triggers.
  • ➖ Migrating matrix jobs could disrupt required status-check names.

Recommendation: Keep the explicit per-workflow versions for this migration: they preserve existing job identities and make the Node 24 coverage visible. Consider reusable setup only if future version changes justify the added indirection; the snap still needs its own pinned version and per-architecture hashes.

Files changed (22) +92 / -74

Tests (1) +11 / -2
backend-tests-flake-mitigation.test.tsGuard Windows check-latest configuration +11/-2

Guard Windows check-latest configuration

• Adds a source-level test requiring check-latest in both Windows backend jobs, protecting against reuse of cached Node 24.15.0. Updates the existing mitigation explanation.

src/tests/backend-new/specs/backend-tests-flake-mitigation.test.ts

Documentation (5) +9 / -9
AGENTS.MDCorrect contributor runtime guidance +1/-1

Correct contributor runtime guidance

• Replaces the outdated Node 22 minimum with the Node 24 floor, Node 26 recommendation, and CI coverage.

AGENTS.MD

README.mdRecommend Node 26 for installation +3/-3

Recommend Node 26 for installation

• Updates quick-install and requirements guidance to recommend Node 26 LTS while retaining Node 24 as the minimum.

README.md

faq.mdRecommend Node 26 in source-install FAQ +1/-1

Recommend Node 26 in source-install FAQ

• Clarifies that Node 26 LTS is recommended for source installs, although Node 24 remains supported.

doc/faq.md

README.mdDocument Node 26 for Debian builds and installs +3/-3

Document Node 26 for Debian builds and installs

• Updates local build prerequisites and the suggested NodeSource repository to Node 26. The documented package dependency remains nodejs >= 24.

packaging/README.md

README.mdCorrect snap runtime documentation +1/-1

Correct snap runtime documentation

• Describes the bundled runtime as pinned Node 26 LTS and points to snapcraft.yaml for its version.

snap/README.md

Other (16) +72 / -63
backend-tests.ymlTest backend on Node 24 and 26 across Linux and Windows +26/-29

Test backend on Node 24 and 26 across Linux and Windows

• Expands both Linux and Windows backend matrices to Node 24 and 26. Windows setup-node steps use check-latest to avoid the runner's cached Node 24.15.0.

.github/workflows/backend-tests.yml

build-and-deploy-docs.ymlBuild and deploy docs with Node 26 +1/-1

Build and deploy docs with Node 26

• Changes the docs workflow's single Node version from 24 to 26.

.github/workflows/build-and-deploy-docs.yml

deb-package.ymlUse Node 26 for Debian packaging and install smoke tests +4/-4

Use Node 26 for Debian packaging and install smoke tests

• Builds with Node 26 and selects the NodeSource 26 line during the package install test. The package's Node 24 dependency floor is unchanged.

.github/workflows/deb-package.yml

downstream-smoke.ymlRun downstream smoke tests with Node 26 +1/-1

Run downstream smoke tests with Node 26

• Moves the downstream smoke workflow from Node 24 to 26.

.github/workflows/downstream-smoke.yml

frontend-admin-tests.ymlTest admin frontend on Node 24 and 26 +3/-2

Test admin frontend on Node 24 and 26

• Expands the admin test matrix to cover the minimum supported Node version and current LTS.

.github/workflows/frontend-admin-tests.yml

frontend-tests.ymlRun frontend jobs with Node 26 +4/-4

Run frontend jobs with Node 26

• Moves all four Node setup steps in the frontend workflow from 24 to 26.

.github/workflows/frontend-tests.yml

handleRelease.ymlUse Node 26 in release handling +1/-1

Use Node 26 in release handling

• Changes the release-handling job's Node version from 24 to 26.

.github/workflows/handleRelease.yml

installer-test.ymlTest installers with Node 26 +2/-2

Test installers with Node 26

• Moves both installer test jobs to Node 26 without changing the installer's supported Node floor.

.github/workflows/installer-test.yml

load-test.ymlRun load-test jobs with Node 26 +3/-3

Run load-test jobs with Node 26

• Moves the workflow's three Node setup steps from 24 to 26.

.github/workflows/load-test.yml

perform-type-check.ymlType-check with Node 26 +1/-1

Type-check with Node 26

• Moves the type-check workflow to Node 26.

.github/workflows/perform-type-check.yml

rate-limit.ymlRun rate-limit checks with Node 26 +1/-1

Run rate-limit checks with Node 26

• Changes the rate-limit workflow's Node version from 24 to 26.

.github/workflows/rate-limit.yml

release.ymlUse Node 26 in the release workflow +1/-1

Use Node 26 in the release workflow

• Moves release workflow setup from Node 24 to 26.

.github/workflows/release.yml

releaseEtherpad.ymlPublish Etherpad with Node 26 +2/-2

Publish Etherpad with Node 26

• Changes the npm publishing job to Node 26 and updates its trusted-publishing rationale.

.github/workflows/releaseEtherpad.yml

update-plugins.ymlUpdate plugins with Node 26 +1/-1

Update plugins with Node 26

• Moves the plugin-update workflow from Node 24 to 26.

.github/workflows/update-plugins.yml

upgrade-from-latest-release.ymlTest release upgrades on Node 24 and 26 +3/-2

Test release upgrades on Node 24 and 26

• Expands upgrade-test coverage to both the supported floor and current LTS.

.github/workflows/upgrade-from-latest-release.yml

snapcraft.yamlBundle and verify Node 26.13.1 in the snap +18/-8

Bundle and verify Node 26.13.1 in the snap

• Replaces Node 24.15.0 with Node 26.13.1. Adds pinned SHA-256 checks for amd64 and arm64 downloads before extraction.

snap/snapcraft.yaml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@JohnMcLear
JohnMcLear merged commit c592975 into develop Nov 24, 2026
59 checks passed
@JohnMcLear
JohnMcLear deleted the chore/node-26-default branch November 24, 2026 11:58
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