Release builds use `lts/*` and will switch to Node 26 around Oct 28, while PR checks stay on Node 24
.node-version says 24, and the PR checks, the Android/Linux/iOS builds and the Docker image all use 24. release.yml and build-windows.yml ask for lts/* instead, which switches from 24 to 26 once Node 26 becomes LTS (scheduled for October 28). After that, every desktop release and the server tarball would be built with a Node version that no PR check runs. I tried Node 26 locally: the release build steps pass, but 59 frontend tests fail because Node 26's built-in localStorage global is undefined unless --localstorage-file is set, and the tests pick that up. While checking this I also found that the devcontainer is on Node 22 and the Dockerfile installs pnpm 9.9.0 instead of the 10.33.4 in package.json. It's low risk and the fix is 11 one-line changes (diff below); happy to open a PR if that's useful.
Details
Everything below is pinned to 6ee11b1 (main on 2026-09-29). I went through all 11 workflow files, the Dockerfile, the devcontainer, package.json / pnpm-workspace.yaml, AGENTS.md, rust-toolchain.toml and the docs.
Where the versions are set today
| Tool | Where | Value |
|---|---|---|
| Node | .node-version L1 |
24 |
| Node | pr-check.yml L53, L70, L92 |
"24" |
| Node | build-android.yml L19, build-linux.yml L29, build-mobile.yml L37 |
"24" |
| Node | Dockerfile L6 |
node:24-alpine |
| Node | release.yml L78 (desktop matrix), L225 (server tarball) |
"lts/*" |
| Node | build-windows.yml L57 |
"lts/*" |
| Node | .devcontainer/devcontainer.json L66 |
ivangabriele/tauri:debian-bookworm-22 (Node 22.23.2) |
| pnpm | package.json L5 |
[email protected] (every pnpm/action-setup@v4 step reads this; none of them sets version) |
| pnpm | Dockerfile L20 |
[email protected] |
AGENTS.md already names the intended sources of truth (L104-L106):
Use the Node version in
.node-version, pnpm version inpackage.json, and Rust toolchain inrust-toolchain.toml.
The other five workflows (cache-warm, docker-publish, http-client-policy, native-secret-store, server-secret-store) don't install Node. docker-publish gets its Node from the Dockerfile.
1. lts/* in the release and Windows builds
How lts/* resolves. actions/setup-node@v4 (currently v4.4.0) resolves an lts/... spec against the actions/node-versions manifest (official_builds.ts L22-L33). For lts/* it takes the newest release that has an LTS codename and returns its major (L196-L237). Right now that's 24.21.0 ("Krypton"). The manifest already has 26.x builds, but without a codename, because 26 is still "Current" (nodejs.org/dist/index.json lists v26.10.0 with lts: false).
When it changes. From Node's release schedule: 24 has been LTS since 2025-10-28 and goes to maintenance on 2026-10-20; 26 becomes LTS on 2026-10-28. On or shortly after that date, once actions/node-versions publishes a 26.x build with an LTS codename, lts/* resolves to 26.
Today it still gives 24. In the v3.9.1 release run all seven lts/* jobs got 24.x. Linux and Windows got 24.21.0; the macOS runners got 24.20.0, which was already in their tool cache (raw log below).
What would move to 26:
- The whole
releasematrix inrelease.yml(L16-L34): macOS x64/arm64, Windows x64/arm64, Linux x64/arm64. - The
prebuild-server-linuxjob (L187-L236), which builds the web frontend that goes into the self-host tarball. - The on-demand
build-windows.yml.
The PR checks stay on 24 (pr-check.yml), and so does the Docker image (node:24-alpine, published from the same v*.*.* tags by docker-publish.yml). So after Oct 28, the Docker image and the desktop apps from the same tag would have their frontends built by different Node majors. A rebuild of an older tag would also get whatever LTS is current at the time, rather than the Node it was tested with.
To be clear about how big this is: Node isn't shipped inside the app. In these jobs it runs pnpm install, the Tauri beforeBuildCommand (tauri.conf.json L4, the Vite build of the UI) and two small helpers (release.yml L95-L98, L259). The realistic failure is a release job breaking, or the bundle coming out slightly different. Users wouldn't be running a different Node.
Does Node 26 actually behave differently here? I ran the same steps on Node 26.10.0 against 6ee11b1:
pnpm install --frozen-lockfile,pnpm run build:types,pnpm build, and the releasebeforeBuildCommand(node ./apps/tauri/scripts/sync-ios-composer-icon.mjs && pnpm --filter frontend build:tauri) all pass.pnpm testfails: 59 of 2,888 tests, in 11 files. They all fail the same way:localStorageisundefined(TypeError: Cannot read properties of undefined (reading 'clear')), and Node printsExperimentalWarning: localStorage is not available because --localstorage-file was not provided.Node 25 turned its built-in Web Storage on by default (nodejs/node#57666, CHANGELOG_V25.md L1333), and Node 26.0.0 madelocalStoragereturnundefinedwhen no--localstorage-fileis given (nodejs/node#61333, listed as SEMVER-MAJOR in CHANGELOG_V26.md L2482). In between, 25.2.0 made the getter throw instead (nodejs/node#60351, CHANGELOG_V25.md L1098). ThelocalStorageentry indoc/api/globals.mdat v26.10.0 still describes that "throws aDOMException" behavior, so the changelog is the better reference; locally,node -e "console.log(typeof localStorage)"on 26.10.0 printsundefinedplus the warning above. With this repo's Vitest 4.1.11 + jsdom 28 setup (vite.config.ts L108), the tests end up with an undefinedlocalStorage.- To rule out my machine, I ran those 11 files in
node:24andnode:26containers with the samenode_modules. On 24.21.0, 134 of 134 pass. On 26.10.0, 59 of 134 fail. WithNODE_OPTIONS=--no-experimental-webstorage, all 134 pass on 26.10.0.
So I'd expect the first 26-based release to build fine. The problem is that the switch would happen without anyone choosing it, and nothing would test it: the release jobs don't run the frontend tests, and the PR checks would stay on 24. The test failures above are the kind of difference that would go unnoticed. I'm not suggesting moving to 26 now, just keeping every build on the same version so that moving later is one deliberate change (at which point the test setup needs a small change, for example setting NODE_OPTIONS=--no-experimental-webstorage for Vitest, as in the container run above).
2. The Dockerfile installs pnpm 9.9.0
RUN npm install -g [email protected] && pnpm install --frozen-lockfileEverywhere else, pnpm comes from "packageManager": "[email protected]". None of the pnpm/action-setup@v4 steps pass version, and in that case the action uses packageManager (README L11-L15: "Optional when there is a packageManager field in the package.json"). The CI logs confirm it: Done in 3.5s using pnpm v10.33.4.
pnpm 9.9.0 doesn't complain about the mismatch. Its version check only runs when package-manager-strict-version is on (main.ts L361-L365), and that defaults to false (config L158). Automatically switching to the packageManager version also defaults to false in 9.x (config L151). In 10.x that switch defaults to true (pnpm 10.x docs).
The difference you can actually see is dependency build scripts. pnpm 10 stopped running dependency lifecycle scripts by default (v10.0.0 release notes). This repo also lists @tailwindcss/oxide, esbuild and msw under ignoredBuiltDependencies (pnpm-workspace.yaml L5-L8), a setting added in pnpm 10.1.0. The two logs from the same PR head (10a2844, 2026-09-29) disagree:
- Docker job (pnpm 9.9.0): runs the
postinstallscripts of@swc/core,mswandesbuild. - PR Check / Frontend Check (pnpm 10.33.4): runs none, and prints
Ignored build scripts: @swc/[email protected].
Nothing is broken: both Docker jobs in that run succeeded, including the "Test encryption in the built image" step. The image is just built by a different pnpm major than the one CI tests with. The [email protected] line dates from 861c9fb (2025-09-04); packageManager was added later, in cb869b1 (2026-05-15).
I built the Dockerfile's frontend stage locally with the one-line change below. pnpm 10.33.4 installs and the web build finishes on Alpine (log below).
3. The devcontainer is on Node 22
devcontainer.json L66 uses ivangabriele/tauri:debian-bookworm-22. Docker Hub describes that tag as "Debian v12 ("bookworm") + Rust v1 + Node v22". Its Dockerfile installs Node from NodeSource's setup_22.x, and the current image reports v22.23.2. The image has no Node 24 variant (tags: -18, -20, -22). It has been on 22 since the devcontainer was added in #200.
Node 22 is still supported (maintenance until 2027-04-30), so this is about matching the rest of the repo, not about EOL.
The smallest fix I found is the official Node feature (ghcr.io/devcontainers/features/node:2, currently 2.1.0) pinned to Node 24. I built the devcontainer with that one line added (@devcontainers/cli build); inside it, node -v prints v24.21.0 and pnpm -v prints 10.33.4. The feature's pnpmVersion option defaults to latest (feature definition, v2.1.0); setting it to none leaves pnpm as the base image already provides it (a Corepack shim at /usr/bin/pnpm), and that follows packageManager. I did not test the X11/VNC parts of the devcontainer.
Suggested fix
- Workflows. In all 9
actions/setup-nodesteps, replacenode-versionwithnode-version-file: .node-version. The step has to replace the input, not add a second one, because setup-node ignoresnode-version-filewhennode-versionis also set (main.ts L85-L118). A file that just says24is read as24(util.ts L59-L60), so the PR checks resolve exactly as they do today. - Dockerfile. Take pnpm's version from
package.json, or just bump the literal to[email protected]if you prefer. - Devcontainer. Add the Node 24 feature.
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -76,5 +76,5 @@ jobs:
uses: actions/setup-node@v4
with:
- node-version: "lts/*"
+ node-version-file: .node-version
cache: "pnpm" # Set this to npm, yarn or pnpm.
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,5 +18,5 @@ COPY . .
ENV CI=1
ENV BUILD_TARGET=web
-RUN npm install -g [email protected] && pnpm install --frozen-lockfile
+RUN npm install -g "$(node -p "require('./package.json').packageManager")" && pnpm install --frozen-lockfile
# Build only the main app to avoid building workspace addons in this image
RUN pnpm --filter frontend... build && mv dist /web-dist
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -118,4 +118,5 @@
"features": {
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, // Shell history persistence
+ "ghcr.io/devcontainers/features/node:2": { "version": "24", "pnpmVersion": "none" }, // Keep in sync with .node-version
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {The same one-line workflow change applies to release.yml L225, build-windows.yml L57, build-android.yml L19, build-linux.yml L29, build-mobile.yml L37 and pr-check.yml L53/L70/L92. The full patch is below. It applies cleanly to 6ee11b1, and all 11 workflow files still parse.
Today a Node bump means editing .node-version, six "24" lines across pr-check.yml, build-android.yml, build-linux.yml and build-mobile.yml, and the Dockerfile, and remembering that release.yml and build-windows.yml follow lts/* instead. After this, it is .node-version, the Dockerfile FROM tag (a FROM line can't read a file), and the devcontainer feature. #761 added .node-version for this purpose ("to specify Node.js 22 as the project's target version"); at the time, pr-check.yml was the only workflow pinning a number. The Windows workflow and the Android/Linux/mobile workflows came later (02e148e on 2026-07-05 and 2111f60 on 2026-09-15), each with its own node-version line.
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -118,4 +118,5 @@
"features": {
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, // Shell history persistence
+ "ghcr.io/devcontainers/features/node:2": { "version": "24", "pnpmVersion": "none" }, // Keep in sync with .node-version
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
// Install required packages
diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml
--- a/.github/workflows/build-android.yml
+++ b/.github/workflows/build-android.yml
@@ -17,5 +17,5 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: "24"
+ node-version-file: .node-version
cache: pnpm
- uses: actions/setup-java@v4
diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml
--- a/.github/workflows/build-linux.yml
+++ b/.github/workflows/build-linux.yml
@@ -27,5 +27,5 @@ jobs:
- uses: actions/setup-node@v4
with:
- node-version: "24"
+ node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.yml
--- a/.github/workflows/build-mobile.yml
+++ b/.github/workflows/build-mobile.yml
@@ -35,5 +35,5 @@ jobs:
- uses: actions/setup-node@v4Source: wealthfolio/wealthfolio