chess-tactics states Node 22 in engines.node and its image runs Node 22 (PIPT-12) #1002

Merged
merge-queue merged 3 commits from PIPT-12-engines-node into main 2026-11-17 22:16:07 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/PIPT-12

Sets engines.node to "22.x" in backend/package.json and frontend/package.json (and the matching root entry in each package-lock.json), the major fleet.json lists as web.node, so CI's setup-node can read it from package.json. This moves the image from Node 20 to Node 22, the version CI already tests on: every FROM goes from node:20-alpine@sha256:fb4cd12c… (Node 20.20.2) to node:22-alpine@sha256:1314fb30ec37592d5845e5a160d522c0e680972aa534549940b8d73bde88481a (Node 22.23.5, the same version actions/pins.txt pins for CI), still pulled through artifacts.home.romaine.life. packages/board-render and tools/bgm aren't in fleet.json's web.packages, so they're unchanged; the image still builds board-render, now under Node 22.

Also: vitest allows 30s per test (frontend/vite.config.js). CPU-bound tests (the enemy reply in store.test.ts, then texel tuneK) passed the 5s default while the shared runner was busy with a burst of PRs; both pass in seconds alone. This PR does not change the Node version CI tests on (still 22 from fleet.json).

Work package: https://openproject.home.romaine.life/wp/PIPT-12 Sets `engines.node` to `"22.x"` in backend/package.json and frontend/package.json (and the matching root entry in each package-lock.json), the major fleet.json lists as `web.node`, so CI's setup-node can read it from package.json. This moves the image from Node 20 to Node 22, the version CI already tests on: every `FROM` goes from `node:20-alpine@sha256:fb4cd12c…` (Node 20.20.2) to `node:22-alpine@sha256:1314fb30ec37592d5845e5a160d522c0e680972aa534549940b8d73bde88481a` (Node 22.23.5, the same version actions/pins.txt pins for CI), still pulled through artifacts.home.romaine.life. packages/board-render and tools/bgm aren't in fleet.json's `web.packages`, so they're unchanged; the image still builds board-render, now under Node 22. Also: vitest allows 30s per test (frontend/vite.config.js). CPU-bound tests (the enemy reply in store.test.ts, then texel tuneK) passed the 5s default while the shared runner was busy with a burst of PRs; both pass in seconds alone. This PR does not change the Node version CI tests on (still 22 from fleet.json).
The web packages state Node 22 in engines.node, which CI's setup-node reads, and the image runs Node 22 to match (PIPT-12)
Some checks failed
Checks / check-docs (pull_request) Successful in 45s
Suite cluster-service / scope (pull_request) Successful in 47s
Suite cluster-service / reused-checks (pull_request) Successful in 18s
Suite cluster-service / check-manifests (pull_request) Has been skipped
Suite cluster-service / check-image (pull_request) Has been skipped
Suite cluster-service / publish (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 50s
Suite default / check-fetches (pull_request) Successful in 20s
Suite tofu / scope (pull_request) Successful in 48s
Suite default / check-rules (pull_request) Has been skipped
Suite tofu / reused-checks (pull_request) Successful in 23s
Suite tofu / check-plan (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite web-app / check-image (pull_request) Successful in 3m27s
Suite web-app / scope (pull_request) Successful in 48s
Suite default / reused-checks (pull_request) Successful in 23s
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / publish-static (pull_request) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite web-app / scope (push) Has been skipped
Suite web-app / check-test (push) Has been skipped
Suite web-app / check-image (push) Has been skipped
Suite web-app / publish (push) Has been skipped
Suite web-app / publish-static (push) Has been skipped
Suite web-app / reused-checks (push) Has been skipped
Suite web-app / check-test (pull_request) Failing after 10m4s
merge-queue CI failed: Suite web-app / check-test (pull_request)
Suite web-app / reused-checks (pull_request) Has been cancelled
84ef702624
First-time contributor

merge-queue stopped this at 84ef702: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the queue label.

merge-queue stopped this at 84ef702: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the `queue` label.
The resumed-reply test allows 30s: the enemy's search inside runAllTimers passed 5s on a loaded runner (PIPT-12)
Some checks failed
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite web-app / scope (push) Has been skipped
Suite web-app / check-test (push) Has been skipped
Suite web-app / check-image (push) Has been skipped
Suite web-app / publish (push) Has been skipped
Suite web-app / publish-static (push) Has been skipped
Suite web-app / reused-checks (push) Has been skipped
Checks / check-docs (pull_request) Successful in 39s
Suite cluster-service / scope (pull_request) Successful in 43s
Suite cluster-service / check-manifests (pull_request) Has been skipped
Suite cluster-service / check-image (pull_request) Has been skipped
Suite cluster-service / publish (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 42s
Suite default / check-rules (pull_request) Has been skipped
Suite tofu / scope (pull_request) Successful in 43s
Suite tofu / check-plan (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite web-app / scope (pull_request) Successful in 42s
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / publish-static (pull_request) Has been skipped
Suite cluster-service / reused-checks (pull_request) Successful in 14s
Suite default / check-fetches (pull_request) Successful in 19s
Suite tofu / reused-checks (pull_request) Successful in 21s
Suite web-app / check-image (pull_request) Successful in 1m0s
Suite default / reused-checks (pull_request) Successful in 18s
Suite web-app / check-test (pull_request) Failing after 10m36s
merge-queue CI failed: Suite web-app / check-test (pull_request)
Suite web-app / reused-checks (pull_request) Has been cancelled
5a90275e4d
First-time contributor

merge-queue stopped this at 5a90275: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the queue label.

merge-queue stopped this at 5a90275: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the `queue` label.
Vitest allows 30s per test: CPU-bound tests passed the 5s default on a busy runner (PIPT-12)
All checks were successful
merge-queue landed on main
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite web-app / scope (push) Has been skipped
Suite web-app / check-test (push) Has been skipped
Suite web-app / check-image (push) Has been skipped
Suite web-app / publish (push) Has been skipped
Suite web-app / publish-static (push) Has been skipped
Suite web-app / reused-checks (push) Has been skipped
Checks / check-docs (pull_request) Successful in 39s
Suite cluster-service / scope (pull_request) Successful in 48s
Suite cluster-service / check-manifests (pull_request) Has been skipped
Suite cluster-service / check-image (pull_request) Has been skipped
Suite cluster-service / publish (pull_request) Has been skipped
Suite tofu / scope (pull_request) Successful in 43s
Suite tofu / check-plan (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite default / scope (pull_request) Successful in 49s
Suite default / check-rules (pull_request) Has been skipped
Suite web-app / scope (pull_request) Successful in 42s
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / publish-static (pull_request) Has been skipped
Suite cluster-service / reused-checks (pull_request) Successful in 18s
Suite tofu / reused-checks (pull_request) Successful in 19s
Suite default / check-fetches (pull_request) Successful in 23s
Suite web-app / check-image (pull_request) Successful in 1m16s
Suite default / reused-checks (pull_request) Successful in 19s
Suite web-app / check-test (pull_request) Successful in 13m7s
Suite web-app / reused-checks (pull_request) Successful in 23s
1c6705bfbf
merge-queue deleted branch PIPT-12-engines-node 2026-11-17 22:16:09 -08:00
Sign in to join this conversation.
No description provided.