Skip to content

docs: raise the stated Node version floor to 20 - #7110

Merged
BenTaylorDev merged 1 commit into
mainfrom
ben/docs-node-20-floor
Sep 12, 2026
Merged

BenTaylorDev merged 1 commit into
mainfrom
ben/docs-node-20-floor

Conversation

@BenTaylorDev

@BenTaylorDev BenTaylorDev commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Three documentation pages told readers Node 18 was enough. Node 18 reached end of life on 2025-04-30, and #7108 raised every published package to engines.node: ">=20", so the guidance was wrong on both counts.

File Was Now
docs/cookbook/oracle-agent-spec-memory.mdx:52 Node.js 18+ Node.js 20+
snippets/langgraph-platform-deployment-tabs.mdx:27 # For TypeScript with Node 18 or above # ... Node 20 or above
docs/deploy/aws-lambda.mdx:29 "a Node.js managed runtime (Node.js 18 or later)" states the floor @copilotkit/runtime needs, and keeps the AWS fact

The AWS Lambda page is the one judgment call. Response streaming genuinely works on Node 18 as far as AWS is concerned, so the page was not wrong about AWS — but it was steering CopilotKit users at a floor the runtime no longer supports, while its own examples already deploy nodejs22.x. The new wording keeps both facts:

...and a Node.js managed runtime of version 20 or later. AWS supports response streaming from Node.js 18, but @copilotkit/runtime requires Node.js 20.

Testing

This is a prose-only change to existing MDX. No components, props, or code samples were touched, so there is nothing to execute. The claim that needs evidence is the completeness of the sweep, which I checked two ways against origin/main at 9bf9d4cd3f.

1. Version-claim regex across all of shell-docs/src/content:

$ grep -rn -iE "node(\.js)?[[:space:]]*(v)?1[0-9]" showcase/shell-docs/src/content/
showcase/shell-docs/src/content/docs/deploy/aws-lambda.mdx:29: ...AWS supports response streaming from Node.js 18, but `@copilotkit/runtime` requires Node.js 20.

One hit, and it is the deliberate AWS clause above.

2. A different technique, in case the regex shape was the blind spot — every line containing node, filtered to those carrying a major between 14 and 19, with identifier noise (node_modules, NodeNext, chat_node, ReactNode, …) removed:

$ grep -rn -i "node" showcase/shell-docs/src/content/ | grep -E "1[4-9]" | grep -viE "node_modules|\.node|nodeType|NodeJS\.|nodes|NodeNext"

Same single hit. Every other Node version claim in the docs already reads 20+, 20.6+, or 22+.

3. Format check scope. The format job's file list covers *.md but not *.mdx, so a docs-only change hands it an empty list and the step exits 0 with "No formattable files changed in this PR". Nothing to pre-format here.

Related

Follows #7108 (the engines floor) and #7089 (pino 10), and closes the documentation item noted in #7107.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated the Oracle Agent Memory cookbook prerequisites to require Node.js 20 or later.
    • Clarified AWS Lambda streaming requirements: the runtime requires Node.js 20+, while AWS response streaming is supported from Node.js 18.
    • Updated LangGraph deployment guidance to recommend Node.js 20 or later for local TypeScript deployments.

Three pages told readers Node 18 was enough. Node 18 reached end of life
on 2025-04-30, and #7108 raised every published package to
`engines.node: ">=20"`, so the guidance was wrong on both counts.

The AWS Lambda page keeps the AWS fact that response streaming works from
Node 18, but now states the floor `@copilotkit/runtime` actually needs.
Its own examples already deploy `nodejs22.x`.

Every other Node claim across shell-docs already said 20 or later.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: b7e65bb9-21dc-489d-8d2e-bf998d3f19dc

📥 Commits

Reviewing files that changed from the base of the PR and between 9bf9d4c and 42ad6c8.

📒 Files selected for processing (3)
  • showcase/shell-docs/src/content/docs/cookbook/oracle-agent-spec-memory.mdx
  • showcase/shell-docs/src/content/docs/deploy/aws-lambda.mdx
  • showcase/shell-docs/src/content/snippets/langgraph-platform-deployment-tabs.mdx

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The documentation updates change Node.js guidance from version 18 to version 20 in the Oracle Agent Memory cookbook, AWS Lambda deployment guide, and LangGraph deployment snippet.

Changes

Node.js requirement documentation

Layer / File(s) Summary
Update Node.js requirements
showcase/shell-docs/src/content/docs/cookbook/oracle-agent-spec-memory.mdx, showcase/shell-docs/src/content/docs/deploy/aws-lambda.mdx, showcase/shell-docs/src/content/snippets/langgraph-platform-deployment-tabs.mdx
The documentation now specifies Node.js 20 requirements. The AWS Lambda guide distinguishes AWS streaming support for Node.js 18 from the @copilotkit/runtime requirement for Node.js 20 or later.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 42ad6

The documentation updates are consistent with the current Node.js requirements and introduce no executable-code risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main documentation change: raising the stated Node.js minimum version to 20.
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 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ben/docs-node-20-floor

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.

@github-actions

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 42 services digest-pinned.

Run 2026-09-12 16:39:24 PDT — 0 finding(s).

@BenTaylorDev
BenTaylorDev merged commit aea5573 into main Sep 12, 2026
31 checks passed
@BenTaylorDev
BenTaylorDev deleted the ben/docs-node-20-floor branch September 12, 2026 23:48
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