Skip to content

Update dependencies: node24 actions, Bun 1.4.4, npm to latest - #34

Open
mathewdunne wants to merge 2 commits into
mainfrom
deps/update-2026-11
Open

mathewdunne wants to merge 2 commits into
mainfrom
deps/update-2026-11

Conversation

@mathewdunne

@mathewdunne mathewdunne commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

Dependency refresh across CI, images, and npm. The main driver: every GitHub Action pinned at a v2–v4 major (except setup-bun) declared node20, which GitHub has deprecated.

GitHub Actions → node24 majors

Action Before After
actions/checkout v4 v7
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
actions/upload-pages-artifact v3 v5
actions/deploy-pages v4 v5
docker/login-action v3 v4
docker/setup-buildx-action v3 v4
docker/build-push-action v6 v7
google-github-actions/auth v2 v3
google-github-actions/setup-gcloud v2 v3
cloudflare/wrangler-action v3 v4

I read the release notes for every major version in between. None of the breaking changes touch inputs we use:

  • download-artifact v5 changed downloads by artifact ID; we download by name/pattern.
  • auth v3 only dropped the retries/backoff inputs.
  • buildx v4 removed deprecated inputs we don't pass.

wrangler-action v4 now uses Wrangler 4 by default, so watch the first Cloudflare deploy.

Images and runtimes

  • Bun 1.3.13 → 1.4.4 in all four pinned places: .bun-version, packageManager, the control Dockerfile BUN_VERSION, and @types/bun.
  • VSIX builder stages (spotless, coderunner-debug) move from node:16/node:22-bookworm-slim to node:24-slim, a floating tag. The produced VSIXes unzip to byte-identical contents compared with the old builds.
  • PathPlanner download stage moves from debian:bookworm-slim to debian:stable-slim, also floating.
  • Alloy prod default moves from v1.5.1 to v1.22.0. The prod config template (from cloud-init) passes alloy validate on v1.22.0.

npm (all to latest)

  • Includes TypeScript 7, Vite 8 + @vitejs/plugin-react 6, Vitest 5, jsdom 31, react-router 8, @testing-library/jest-dom 7, React 19.3, zod 4.6, Biome 2.6.8, and Docusaurus 3.10.2.
  • Code changes the bumps required:
    • nt4-auto.ts: Uint8Array<ArrayBuffer> return type, for TypeScript 7's stricter buffer typing.
    • vite.config.ts / vitest.config.ts: __dirname → import.meta.dirname, which clears a Vite 8 warning.
    • Biome 2.6's new test.each formatting, in 3 test files.
    • Biome 2.6 lint warnings (useOptionalChain / useMathMinMax, 7 sites) fixed in a follow-up commit; behavior-preserving.
    • biome.json: migrated to the 2.6 schema ("preset": "recommended"). The new Markdown/YAML formatters are turned off; leaving them on would have rewritten 66 docs files.

Omitted / held back

What Held at Why
better-auth 1.6.20 (exact pin; was 1.6.10, latest 1.7.25) 1.6.21+: better-auth stops applying sign-up profile values to fields marked input: false (#10196). role is one, so every Auth0 user, admins included, lands as student. Bisected with auth0.test.ts. 1.7 goes further and removes the plugin's /api/auth/oauth2/callback/auth0 route, which is the callback URL registered in the Auth0 tenant. That also silently breaks the path check in auth.ts:38 and signIn.oauth2 in LoginPage.tsx. Both need a rework of how the Auth0 role is written, so it's a follow-up. Note this pin also skips the security fixes in 1.6.21+.
TypeScript (website only) 6.0.3 @docusaurus/tsconfig 3.10.2 still sets baseUrl, which TypeScript 7 removed (TS5102). The rest of the repo is on TypeScript 7.
VSCodium base (linuxserver/vscodium-web) 1.126.04524-ls35 Kept deliberately. The jump to 1.143 would leave the pinned extensions running on an editor 17 releases newer, and the VSCODE_WEBVIEW_COMMIT patch would need re-investigating. A same-editor OS rebuild (-ls37) is available if wanted.
VS Code extensions (redhat.java, WPILib, vscjava.*, spotless) and JDK 17/21 unchanged Kept deliberately: the extension/JDK combination is fragile together.
@types/vscode 1.90.0 Matches coderunner-debug's engines.vscode.
Docker CLI in the control image 27.5.1 Kept deliberately. The 29.x client should be checked against the prod VM's daemon version first.
emscripten/emsdk 4.0.12 AdvantageScope v26.0.2 upstream requires exactly 4.0.12.
caddy 2 (floating) Already floats.

Test plan

  • bun run verify on Bun 1.4.4 after a clean node_modules install: Biome CI, typecheck, 559 Bun tests, 164 Vitest, 80 mocked E2E, 12 security E2E
  • Control image builds with Bun 1.4.4: CLI runs, web and AdvantageScope dists present, better-auth 1.6.20 resolved
  • VSIX builder stages on node:24-slim: output contents identical to the old builds
  • PathPlanner stage builds on debian:stable-slim
  • Docs site: tsc and docusaurus build pass
  • Alloy v1.22.0 validate passes on the prod config template
  • release.yml / deploy.yml / deploy-docs.yml: only run on a tag push, manual dispatch, or docs change; first real run is the next release (an -rc tag would exercise them safely)
  • e2e:workspace-java was not run. The workspace image changed only in its VSIX builder stages, whose output is identical.

🤖 Generated with Claude Code

mathewdunne and others added 2 commits November 16, 2026 17:13
- GitHub Actions to node24 majors (checkout v7, upload-artifact v7,
  download-artifact v8, pages, docker, google, wrangler)
- Bun 1.3.13 -> 1.4.4 (.bun-version, packageManager, control image)
- VSIX builder stages to node:24-slim (VSIX contents verified identical),
  PathPlanner stage to debian:stable-slim, Alloy default v1.22.0
- npm to latest incl. TypeScript 7, Vite 8, Vitest 5, react-router 8,
  Biome 2.6.8 (markdown/yaml formatters left off)
- better-auth held at 1.6.20: 1.6.21+ ignores input:false profile fields,
  dropping Auth0 roles; 1.7 removes the oauth2 callback route
- website stays on TypeScript 6 (@docusaurus/tsconfig still sets baseUrl)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Behavior-preserving: optional chains take the same branch when the value
is missing, and Math.min(n, hi) matches the old ternary for all reals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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