Skip to content

ci: use latest patched Node LTS for build and registry sync - #2464

Merged
benbrandt merged 1 commit into
mainfrom
ci/use-latest-node-lts
Oct 23, 2026
Merged

benbrandt merged 1 commit into
mainfrom
ci/use-latest-node-lts

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

  • Use node-version: "lts/*" instead of latest in the build and registry-doc synchronization workflows.
  • Enable check-latest: true so LTS selection does not reuse a runner-cached patch without checking for a newer release.
  • Keep action pins, npm caching, Rust toolchains, package metadata and generated protocol artifacts unchanged.

Why

latest selects Node Current (26), not the latest LTS (24). Node here is build/docs tooling, so LTS is the intended default and matches the other ACP repositories.

This is a runtime-policy alignment, not a claim that the previous selection was vulnerable: the sampled build and sync jobs already resolved patched Node 26.12.1. The new selector should resolve patched LTS 24.22.1 today.

Validation

  • Downloaded official Node 24.22.1 for macOS/arm64 and verified its archive SHA-256 against the official release checksums.
  • npm ci: passed.
  • npm run check: passed, including all three Clippy configurations, formatting, spelling, 497 unit tests and 2 doctests.
  • Parsed workflow YAML and verified both setup-node steps retain npm caching, use lts/*, and enable check-latest.
  • git diff --check: passed; only the two workflow files changed.
  • Actual GitHub runner selection remains to be confirmed by PR CI. Registry synchronization was not dispatched and no release was published.

Risk / rollout

CI-only change from Node Current to the supported LTS line; no SDK/runtime/API changes. Full local checks passed on the selected LTS patch. Check the next build and synchronization setup-node logs for a patched LTS release. Reverting restores the previous Current-release policy, not a production rollback.

@benbrandt
benbrandt requested a review from a team as a code owner October 23, 2026 09:16
@benbrandt
benbrandt enabled auto-merge (squash) October 23, 2026 09:17
@benbrandt
benbrandt merged commit 1a628b9 into main Oct 23, 2026
10 checks passed
@benbrandt
benbrandt deleted the ci/use-latest-node-lts branch October 23, 2026 09:21
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