Run on Node 22 (Node.js Oct 2026 security release) #69
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
symphony
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/borodutch-stats!69
Loading…
Reference in a new issue
No description provided.
Delete branch "node-22-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moves borodutch-stats from Node 20 (EOL) to Node 22 for the Node.js October 2026 security release (fixed lines are 22.23.4 / 24.22.1).
Changes
.nvmrc:v20→v22nixpacks.toml: pin[phases.setup] nixpkgsArchiveto a nixos-26.05 rev withnodejs_22. This rev ships 22.23.3. It will be bumped to a rev with 22.23.4 before merge.No dependency or code changes.
package.jsonhas noenginesfield.Smoke test
nixpacks build .givesnodejs_22. The image reportsnode -v=v22.23.3(OpenSSL 3.6.5). Every entrypoint was run against throwawaymongo:7+postgres:16with fake tokens:node dist/app.js(nixpacks start):Koa application is up and running on port 1339. Stats update ran.GET /stats,/summary,/count,/reachabilityreturned 200./arrreturned 500 (Stripe 401 on the fake key).yarn collect-stats: Mongo queries ran, pg authenticated (SCRAM) and then failed onrelation ... does not exist(empty DB).yarn collect-stats-shadow:Shadow collection failed: relation "known_chats" does not exist(empty DB).yarn test(tsc + jest) on Node 22.23.3: 14 suites / 93 tests passed.Both Easypanel services (
borodutch-stats,borodutch-stats-counter-shadow) build from this repo. Whichever start command each one uses, all of the entrypoints above load on Node 22.🤖 Generated with Claude Code