Skip to content

chore(docs): use Node.js 24 for docs builds and runtime - #30615

Merged
nwparker merged 1 commit into
mainfrom
nwparker/docs-node24
Oct 19, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/docs-node24

Conversation

@nwparker

@nwparker nwparker commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

The documentation site now uses Node.js 24, matching the rest of the repository's current runtime.

What Changed

Move the docs package from Node.js 22 to 24 and update its Node types and lockfile. Both pull request checks and release builds read the version from the package manifest. Update the existing package contract and setup documentation.

Why

Keeping the docs on the same supported Node major reduces separate setup requirements. Reading the manifest in both workflow jobs prevents another pair of version pins from drifting; no framework upgrade is needed.

Linked Issue

Maintainer-requested standardization; no existing issue.

Visual Proof

N/A — runtime and build configuration only; no page or interaction changes.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

On macOS with Node.js 24.20.0 and pnpm 12.14.0, from docs/site:

  • Clean pnpm install --frozen-lockfile passed.
  • pnpm test: all 16 tests passed.
  • pnpm lint: passed with five existing warnings.
  • pnpm exec tsc --noEmit --incremental false: passed.
  • NEXT_TELEMETRY_DISABLED=1 pnpm build: passed, including all 121 static pages.

All test/build commands used ORCA_BACKGROUND_LAUNCH=1. The docs workflow also passed its install, tests, lint, typecheck, and production build on Linux for this PR commit. Production deployment remains behind the existing stable-release gate and was not invoked.

Review

Self-reviewed the manifest, generated lockfile, and both workflow jobs. The lockfile changes are limited to the Node types, their Undici types dependency, and affected peer-dependency references.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No desktop, mobile, remote/SSH, keyboard, or path-handling changes. Vercel selects Node.js 24 from the docs package's engines.node field.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 057400c0-4682-4c4e-ac55-6940987fbe8d
📥 Commits

Reviewing files that changed from the base of the PR and between c68c84f and 03e4383.

⛔ Files ignored due to path filters: 1
  • docs/site/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 4
  • .github/workflows/docs.yml
  • docs/site/README.md
  • docs/site/package.json
  • docs/site/tests/docs-package.test.mjs

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📝 Walkthrough

The docs site package now declares Node.js 24 and updates its Node.js type dependency. The package engine test and README instructions reflect the version change. The pull-request and production deployment workflows now read the Node.js version from the package.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 03e43

The docs site’s runtime and its version consumers are aligned on Node 24. No specific user-facing or deployment regression is established; the change is ready for normal CI validation.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely identifies the main change: using Node.js 24 for documentation builds and runtime.
Description check Passed The description is complete and covers the change, reason, testing, visual proof, review, compatibility notes, and checklist. It explains that no existing issue is linked, which is acceptable for a ma…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description is complete and covers the change, reason, testing, visual proof, review, compatibility notes, and checklist. It explains that no existing issue is linked, which is acceptable for a maintainer-requested change, although the template normally expects an issue reference.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit d893cf5 into main Oct 19, 2026
28 checks passed
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