Skip to content

ci: run on Node 22 - #409

Merged
devin-ai-integration[bot] merged 2 commits into
mainfrom
feat/node-22-minimum
Nov 26, 2026
Merged

devin-ai-integration[bot] merged 2 commits into
mainfrom
feat/node-22-minimum

Conversation

@pyramation

@pyramation pyramation commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Node 20 is end of life, so this moves CI to Node 22:

  • CI jobs move from Node 20 to 22.
  • The root @types/node moves to ^22, and the lockfile is regenerated.

There's no engines floor, so older Node versions can still install the packages; they just aren't supported. No published package code changes. A local build and full test run on Node 22 passed: 414 suites, 4,013 tests.


libpg-query and parser opened this PR for Dan
Implemented in session Audit parser repos for Node 22 minimum
Review with Devin · Open in Devin Desktop


Summary by CodeRabbit

  • Chores
    • Updated the automated test workflows to use Node.js 22.
    • Updated the Node.js type definitions development dependency to version 22.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@luxor-code-review

luxor-code-review Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This PR updates the GitHub Actions test workflow so both jobs run on Node.js 22 instead of 20, matching the engines.node constraint declared in package.json. No application code is touched.

Files Change
.github/workflows/run-tests.yaml Bumps the node-version matrix value from 20 to 22 for both CI jobs.
package.json No functional change in this PR; the file confirms the existing engines.node requirement that motivates the CI bump.

Reviewed commit: 3b41b29

@socket-security

socket-security Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​node@​20.19.25 ⏵ 22.20.7100 +110081 +196 +3100

View full report

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The parser-tests and generated-files CI jobs now use Node.js 22. The @types/node development dependency range changes to ^22.

Changes: Node.js version alignment

Layer / File(s) Summary
Update CI and Node.js type definitions
.github/workflows/run-tests.yaml, package.json
The parser-tests and generated-files jobs use Node.js 22. The @types/node development dependency range changes to ^22.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to 44a4b · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Security architecture risk: Minimal · up to 3b41b

The workspace now declares Node.js 22 or later, and the two affected CI jobs run on Node.js 22. The change does not alter published package manifests, expand CI permissions, or require a state migration.

Retained concerns
No architecture-level concerns identified.

Security review details

Trust Boundaries and Controls

  • observed — The only workflow edits are the two Node.js version selectors; no workflow trust or authority settings change.
Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: require Node 22" matches the main change. The PR changes CI workflows to use Node.js 22, sets the root engines.node requirement to >=22 according to the objectives, and moves the root @…
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: Title check

Explanation

The title "ci: require Node 22" matches the main change. The PR changes CI workflows to use Node.js 22, sets the root engines.node requirement to >=22 according to the objectives, and moves the root @types/node dependency to ^22. The title is short, specific, and follows the conventional commit style. It does not cover the lockfile regeneration, but that is expected.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3b41b29 and 44a4be7.

Files selected for processing: 1

  • package.json
Files with no reviewable changes: 1

  • package.json

Limit details: You’ve used all 10 included reviews currently available.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration devin-ai-integration Bot changed the title ci: require Node 22 ci: run on Node 22 Nov 26, 2026
@devin-ai-integration
devin-ai-integration Bot merged commit c5cfc21 into main Nov 26, 2026
23 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