Skip to content

build: update Node.js to 24.21.0 and align CI toolchains - #965

Merged
matt2e merged 3 commits into
mainfrom
node-and-ts-updates
Oct 2, 2026
Merged

matt2e merged 3 commits into
mainfrom
node-and-ts-updates

Conversation

@matt2e

@matt2e matt2e commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump Hermit Node.js and Staged’s managed runtime to 24.21.0, refreshing artifact checksums and version examples.
  • Trigger crates and app CI on changes to bin/.
  • Use Hermit-managed pnpm in CI and release workflows instead of enabling Corepack.

Validation

  • Pre-push checks passed: crates-fmt, crates-lint, crates-test, differ-ci, and staged-ci.

🤖 Generated with Claude Code

matt2e and others added 3 commits October 2, 2026 14:55
Move the hermit-managed dev/CI Node from 24.15.0 to 24.21.0 (current
24.x LTS): bin/.node-24.15.0.pkg -> bin/.node-24.21.0.pkg, with the
node/npm/npx/corepack shims retargeted. No other hermit package changes;
the shipped runtime pin (node-runtime.lock.json) is left for a separate
commit.

Drop the `corepack enable pnpm` steps from the five workflows that use
pnpm (staged-ci, staged-release, differ-ci, penpal-ci, penpal-release).
Hermit already puts a standalone pnpm 10.33.0 on PATH, matching the
`packageManager` field, so the step adds nothing. Worse, under the hermit
PATH `corepack` resolves to bin/corepack, so `corepack enable` overwrote
hermit's bin/pnpm symlink with a corepack shim that re-downloaded the
same pnpm from the registry on every CI run. Node >= 25 no longer ships
corepack, so the step would also break the upcoming Node 26 move.

Add `bin/**` to the push and pull_request path filters of staged-ci,
differ-ci and penpal-ci so a hermit toolchain bump triggers CI instead
of merging untested.

Verified on Node 24.21.0: pnpm install --frozen-lockfile; staged build,
check (3392 files, 0 errors) and vitest (81 files, 1118 tests); differ
check (3993 files, 0 errors) and build; penpal frontend vitest (25 files,
257 tests). No other references to Node 24.15 exist in the repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Move the Node runtime that Staged downloads onto users' machines to run
the ACP bridges (@agentclientprotocol/claude-agent-acp, codex-acp) from
v24.11.0 to v24.21.0, the current 24.x LTS, matching the hermit dev/CI
Node bumped in 6e7523b. node-runtime.lock.json was regenerated with
`just bump-node-runtime v24.21.0`; the same four target triples are
pinned and every sha256 was cross-checked against the official
https://nodejs.org/dist/v24.21.0/SHASUMS256.txt (the recipe reads the
checksum file through the Artifactory mirror).

On next launch users download the new runtime (~55 MiB) and both
bridges are reinstalled under it. The reconciler keeps the old runtime
until the new one installs successfully and only then prunes it, and
both bridges accept Node >= 22, so a plain revert rolls this back.

Also refresh the stale comments next to the pin: the MAX_ARCHIVE_BYTES
note now reflects the largest pinned tarball (linux-x64, ~55 MiB; the
old "~49 MB" was the darwin-arm64 size) and the two "e.g. v24.11.0"
examples in the lock struct doc and the bump script cite the current
pin.

Verified: cargo test managed_node in apps/staged/src-tauri, 15 passed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
crates-ci.yml runs through cashapp/activate-hermit, so cargo, rustfmt,
clippy and just all resolve via the hermit symlinks in bin/
(bin/.rustup-*.pkg, bin/.just-*.pkg), but its paths filters only watched
rust-toolchain.toml. A hermit rustup or just bump could therefore merge
without running the crates checks. Add "bin/**" to both the pull_request
and push filters, matching what 6e7523b did for staged-ci, differ-ci
and penpal-ci.

Also update the bump-node-runtime recipe comment in apps/staged/justfile
from `v24.12.0` to `v24.21.0` so the example matches the current
node-runtime.lock.json pin and the other "e.g." examples refreshed in
174535f.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@matt2e
matt2e merged commit 580e49c into main Oct 2, 2026
7 checks passed
@matt2e
matt2e deleted the node-and-ts-updates branch October 2, 2026 06:07
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