Skip to content

[DEVA11Y-828] fix(security): install Node 22.23.4 instead of end-of-life Node 20 - #2

Merged
Crash0v3rrid3 merged 1 commit into
mainfrom
DEVA11Y-828-setup-node-22
Oct 26, 2026
Merged

Crash0v3rrid3 merged 1 commit into
mainfrom
DEVA11Y-828-setup-node-22

Conversation

@Crash0v3rrid3

@Crash0v3rrid3 Crash0v3rrid3 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Jira: https://browserstack.atlassian.net/browse/DEVA11Y-828

Node 20 is end-of-life. This pins actions/setup-node to Node 22.23.4.

  • action.yml: node-version: '20' → '22.23.4'
  • .github/workflows/release.yml: node-version: '20' → '22.23.4', and the esbuild example comment --target=node20 → --target=node22

3-line change, no behavior change beyond the Node runtime version.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the Node.js version used by the release workflow and composite action to 22.23.4.
    • Updated the commented build-target example to Node.js 22.

…ife Node 20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: f585ddbd-264c-4733-b50e-6f02c7cccdbf
Commits

Reviewing files that changed from the base of the PR and between f7f1412 and 3f9b626.

Files selected for processing: 2
  • .github/workflows/release.yml
  • action.yml

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

Recent review details
Additional comments: 2
.github/workflows/release.yml: 1

34-34: LGTM!

Also applies to: 46-46

action.yml: 1

244-244: LGTM!

Walkthrough

The release workflow and composite action now use Node.js 22.23.4 instead of Node.js 20. The commented esbuild example now targets node22.

Changes: Node.js Runtime Update

Layer / File(s) Summary
Update Node.js runtime versions
.github/workflows/release.yml, action.yml
The release workflow and composite action now select Node.js 22.23.4. The commented esbuild example targets node22.

Priority: Low

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

Change: Other

Merge Risk: Minimal · up to 3f9b6

No actionable merge-blocking risk is identified; proceed with normal CI checks.

Security architecture risk: Low · up to 3f9b6

The upgrade does not change configured permissions, credential inputs, or scanner invocation. No introduced security issue was identified. Availability of the exact runtime version and compatibility of the published scanner remain unverified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The changed runtime executes within each consuming scanner job's existing credential and OIDC context. The release workflow retains contents: read. The comparison shows no new privilege grant or destination; the number and configuration of downstream consuming repositories are not established.

Trust Boundaries and Controls

  • observed — Existing controls remain unchanged: preflight checks credential and OIDC endpoint presence, and PR checkout disables persisted checkout credentials. The manual permission pre-check can defer to server-side authorization; that downstream enforcement was not independently verified.
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 names the main change: the PR moves the Node runtime from end-of-life Node 20 to Node 22.23.4 in action.yml and the release workflow. The raw summary confirms that change, and the objectives…
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 names the main change: the PR moves the Node runtime from end-of-life Node 20 to Node 22.23.4 in action.yml and the release workflow. The raw summary confirms that change, and the objectives describe it as a three-line version bump with the esbuild comment updated to node22. The title's security framing is a reasonable reason for the change, and the ticket prefix is acceptable. The title is slightly long at 80 characters, but it stays specific and readable.

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

A rabbit checks the runtime chart,
Node twenty-two now takes its part.
The build hops on with node22,
The action follows, steady too.
One neat update, then off I bound,
To nibble clover on the ground.

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

@Crash0v3rrid3

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@Crash0v3rrid3
Crash0v3rrid3 merged commit 7e19592 into main Oct 26, 2026
2 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