Skip to content

node v26 support; node v20 desupport#25

Open
gms1 wants to merge 1 commit into
mainfrom
node-v26
Open

node v26 support; node v20 desupport#25
gms1 wants to merge 1 commit into
mainfrom
node-v26

Conversation

@gms1
Copy link
Copy Markdown
Owner

@gms1 gms1 commented May 15, 2026

Summary by CodeRabbit

  • Chores

    • Raised the minimum Node.js requirement from v20.17.0 to v22.1.0
    • Updated build infrastructure and CI pipelines to target Node.js v22 and v26
    • Upgraded GitHub Actions and related tooling to newer major versions
  • Documentation

    • Updated docs and README to reflect the new Node.js version requirements and CI changes

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ac0d10ef-0369-45d4-bf4d-72c4583a7baa

📥 Commits

Reviewing files that changed from the base of the PR and between 972a104 and 130bb52.

📒 Files selected for processing (14)
  • .github/workflows/ci.yml
  • .github/workflows/publish.yml
  • .github/workflows/test-electron-package.yml
  • .github/workflows/test-npm-package.yml
  • README.md
  • memory-bank/build-system.md
  • memory-bank/custom-instructions.md
  • memory-bank/decisionLog.md
  • memory-bank/development.md
  • memory-bank/project-overview.md
  • package.json
  • tools/BinaryBuilder.Dockerfile
  • tools/benchmark-drivers/README.md
  • tools/semver-check.js
✅ Files skipped from review due to trivial changes (8)
  • package.json
  • tools/semver-check.js
  • .github/workflows/publish.yml
  • tools/benchmark-drivers/README.md
  • README.md
  • memory-bank/development.md
  • memory-bank/build-system.md
  • memory-bank/decisionLog.md
🚧 Files skipped from review as they are similar to previous changes (3)
  • .github/workflows/test-npm-package.yml
  • .github/workflows/test-electron-package.yml
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

This pull request raises the Node.js baseline from 20.17.0 to 22.1.0 and updates CI/workflow defaults to use Node 22 for prebuilts and Node 26 as the default runtime; several GitHub Actions versions are also bumped.

Changes

Node.js Version Bump

Layer / File(s) Summary
CI Workflow Configuration
.github/workflows/ci.yml, memory-bank/build-system.md
PREBUILD_NODE_VERSION changed to 22, DEFAULT_NODE_VERSION to 26; build job matrix updated from Node 20/24 to 22/26.
GitHub Actions Version Updates
.github/workflows/ci.yml, .github/workflows/test-*.yml
Bumped microsoft/setup-msbuild v2→v3, codecov/codecov-action v5→v6, and actions/download-artifact v5→v8 in CI and test workflows.
Test and Publish Workflows
.github/workflows/publish.yml, .github/workflows/test-electron-package.yml, .github/workflows/test-npm-package.yml
Workflow input defaults and actions/setup-node defaults changed from 20→26; publish workflow token usage updated.
Package Configuration and Build Tools
package.json, tools/BinaryBuilder.Dockerfile, tools/semver-check.js
engines.node updated to >=22.1.0; Dockerfile NODE_VERSION arg default set to 22; semver-check supportedVersions updated to 22.1.0.
Documentation & Internal Guidance
README.md, memory-bank/*, tools/benchmark-drivers/README.md, memory-bank/custom-instructions.md
Docs updated to state Node >=22.1.0, describe N-API v9 baseline on Node 22, reflect CI matrix changes, and add a “Verify claims” instruction for agents.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main objectives of the changeset: adding Node v26 support and removing Node v20 support across all CI workflows, documentation, and configuration files.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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 and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@memory-bank/build-system.md`:
- Around line 320-321: Update the Node version values so all docs use the same
canonical versions: change the definitions for PREBUILD_NODE_VERSION and
DEFAULT_NODE_VERSION to match the build matrix and reusable workflow (or vice
versa) so there is a single consistent set; specifically reconcile the entries
around PREBUILD_NODE_VERSION and DEFAULT_NODE_VERSION with the build matrix
"Node versions" list and the reusable workflow default so they all reference the
same numeric versions (e.g., set PREBUILD_NODE_VERSION, DEFAULT_NODE_VERSION,
the build matrix list, and the reusable workflow default to the agreed single
pair of Node versions).

In `@memory-bank/decisionLog.md`:
- Line 18: The decision entry header was updated to "Node 22/26" but the
rationale still references coverage being uploaded from a "Node-24" matrix row;
update that rationale text in memory-bank/decisionLog.md so all mentions of
"Node-24" are changed to "Node 22/26" (look for the entry with the header text
"12-target build matrix (macOS x64/arm64, Linux x64/arm64, Windows x64/arm64 x
Node 22/26)" and edit its rationale block to be self-consistent).

In `@memory-bank/development.md`:
- Line 374: The CI summary mixes Node versions: update the preceding "lint" line
to match the "Builds & tests — 12-target matrix across 6 OS/arch combos x 2 Node
versions (22, 26)" change by replacing any mention of Node 24 with Node 22
and/or 26 as appropriate so both the "lint" line and the "Builds & tests" line
consistently reference the same Node versions; locate the "lint" heading/content
near the "Builds & tests" line in development.md and make the Node version
numbers consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f214e5f7-8f58-44c0-be1f-151c710c1034

📥 Commits

Reviewing files that changed from the base of the PR and between a912290 and 972a104.

📒 Files selected for processing (13)
  • .github/workflows/ci.yml
  • .github/workflows/publish.yml
  • .github/workflows/test-electron-package.yml
  • .github/workflows/test-npm-package.yml
  • README.md
  • memory-bank/build-system.md
  • memory-bank/decisionLog.md
  • memory-bank/development.md
  • memory-bank/project-overview.md
  • package.json
  • tools/BinaryBuilder.Dockerfile
  • tools/benchmark-drivers/README.md
  • tools/semver-check.js

Comment thread memory-bank/build-system.md
Comment thread memory-bank/decisionLog.md
Comment thread memory-bank/development.md
@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a912290) to head (130bb52).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          344       344           
=========================================
  Hits           344       344           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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