Repository navigation
ci: move Node to 24 LTS everywhere - #1944
Merged
Merged
Conversation
Node 20 is end-of-life. Move every pinned Node version (CI jobs, release and publish workflows, the Dockerfile frontend stage) to the current 24 LTS so CI tests the runtime releases build with, and update the contributor docs.
PR Summary by QodoMove CI, release builds, and Docker to Node 24 LTS
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can route each severity your way: inline, summary, both, or drop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves every pinned Node version to 24 LTS. Node 20 is end-of-life, and Node 22 reaches end-of-life in April 2027, while Node 24 is supported until April 2028.
What changes
ci.yml: Frontend, Settings browser journeys and k8s-ui jobsrelease.yml,release-image.yml,release-desktop.yml(×3),publish-k8s-ui.yml,publish-radar-app.ymlDockerfilefrontend-builderstagenode:20-alpinenode:24-alpineCONTRIBUTING.md,DEVELOPMENT.mdenginesfield,.nvmrcor.node-version.Why now
^22.12 || ^24 || >=26.EBADENGINE), not an error.Release-path notes
npm install -g npm@latestbeforenpm publish --provenance. npm 11 supports Node 24.docker build --target releasefrom prebuilt binaries, so it never runs the Node stage.frontend-builderis used only by a default fulldocker build ..release-desktop.yml) only runs when a release is cut, so the first desktop release after this merges is its first real exercise on Node 24.Verification (local, Node 24.21.0 / npm 11.12.1)
npm ci: OK.npm run build --workspace=web: OK.packages/k8s-uinpm test: 209 files, 4030 passed, 1 skipped.webnpm run test: 151 files, 1764 passed.webnpm run lint: 0 errors, 441 warnings (the same as main).frontend-builderstage (Docker isn't available on this machine). That stage runs the samenpm ci+npm run build --workspace=webverified above.After this merges,
@dependabot rebaseon #1933 should take vitest 5 cleanly.Note
Low Risk
Toolchain and documentation pins only; no runtime application logic changes, though the next release/desktop/npm publish will be the first live exercise on Node 24.
Overview
Standardizes the repo on Node.js 24 LTS so CI, releases, Docker frontend builds, and contributor docs all use the same runtime.
CI (
ci.yml): Frontend, settings browser journeys, and k8s-ui jobs move from Node 20 → 24. Release and publish workflows (release.yml,release-image.yml,release-desktop.ymlon all three platforms,publish-k8s-ui.yml,publish-radar-app.yml) move from 22 → 24. The Dockerfilefrontend-builderstage switches fromnode:20-alpinetonode:24-alpine. CONTRIBUTING.md and DEVELOPMENT.md now list Node.js 24+ instead of 20+.After this merge, PR CI runs on the same Node version used for GoReleaser/npm publish and full Docker builds, which unblocks tooling that expects Node 22.12+ / 24 (e.g. vitest 5).
Reviewed by Cursor Bugbot for commit a97350d. Bugbot is set up for automated code reviews on this repo. Configure here.