Node 22 everywhere: engines, README, drop the Node 20 job #88

Merged
jared merged 1 commits from node22-finish into main 2026-11-23 22:35:46 -05:00
Owner

Part of #45, the last step of the Node 22 move.

What happened in production (2026-11-23)

Both hosts now run Node 22.23.5 from NodeSource's node_22.x apt repository:

  • Worker (CT 153) first. I watched it complete Gandalf's commands in 183 ms and 446 ms on Node 22.
  • Then the server (CT 122). It reconnected to MariaDB and the worker reconnected within a second. /healthz was ok, spoofed SSO headers still got a 401, commands ran end to end, and the server logged no warnings.
  • Rollback: the Node 20 package and the old keyring and repo line are saved in /root/node20-rollback/ on both hosts.

A snag worth knowing about: the first attempt on CT 153 changed nothing, because apt-get update called the node_22.x repository unsigned. The keyring on our hosts was an older copy of NodeSource's key, which binds the key with SHA-1, and Debian 13 has rejected SHA-1 since February 2026. NodeSource's current key has a new SHA-512 binding.

  • I tested it first in a separate apt configuration, then installed it on both hosts.
  • CT 153 was restored to its original state between the attempts, and the worker stayed on Node 20 and connected throughout.

This PR

  • engines: node >= 22.
  • The README prerequisites say Node 22, with a note on the NodeSource key for any new Debian 13 host.
  • The Test (Node 20) job is removed.

🤖 Generated with Claude Code

Part of #45, the last step of the Node 22 move. ## What happened in production (2026-11-23) Both hosts now run **Node 22.23.5** from NodeSource's `node_22.x` apt repository: - **Worker (CT 153) first.** I watched it complete Gandalf's commands in 183 ms and 446 ms on Node 22. - **Then the server (CT 122).** It reconnected to MariaDB and the worker reconnected within a second. `/healthz` was ok, spoofed SSO headers still got a 401, commands ran end to end, and the server logged no warnings. - **Rollback:** the Node 20 package and the old keyring and repo line are saved in `/root/node20-rollback/` on both hosts. **A snag worth knowing about:** the first attempt on CT 153 changed nothing, because `apt-get update` called the `node_22.x` repository unsigned. The keyring on our hosts was an older copy of NodeSource's key, which binds the key with SHA-1, and Debian 13 has rejected SHA-1 since February 2026. NodeSource's current key has a new SHA-512 binding. - I tested it first in a separate apt configuration, then installed it on both hosts. - CT 153 was restored to its original state between the attempts, and the worker stayed on Node 20 and connected throughout. ## This PR - `engines`: `node >= 22`. - The README prerequisites say Node 22, with a note on the NodeSource key for any new Debian 13 host. - The `Test (Node 20)` job is removed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 22:22:36 -05:00
Node 22 everywhere: engines, README, drop the Node 20 job (#45)
CI / Lint (eslint) (pull_request) Successful in 36s
CI / Test (jest) (pull_request) Successful in 36s
CI / Security (npm audit) (pull_request) Successful in 37s
CI / Integration (api) (pull_request) Successful in 2m18s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m45s
CI / UI screenshots (before/after) (pull_request) Successful in 7s
CI / UI (playwright) (pull_request) Successful in 2m50s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
57e4d7527f
Production moved to Node 22.23.5 on 2026-11-23: the worker (CT 153)
first, then the server (CT 122), each from NodeSource's node_22.x repo
and checked with real commands end to end. So:
- package.json engines: node >= 22.
- README prerequisites say Node 22, with a note on NodeSource's signing
  key: copies from before January 2026 bind it with SHA-1, which Debian
  13 rejects, so apt reports the repository as unsigned.
- The Test (Node 20) job is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 567941cec4 into main 2026-11-23 22:35:46 -05:00
jared deleted branch node22-finish 2026-11-23 22:35:47 -05:00
Sign in to join this conversation.