Skip to content

chore: update Node.js version to 20.19.5 - #4629

Merged
koladilip merged 1 commit into
developfrom
update-node-version-20.19.5
Sep 15, 2025
Merged

koladilip merged 1 commit into
developfrom
update-node-version-20.19.5

Conversation

@koladilip

@koladilip koladilip commented Sep 11, 2025 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

Update Node.js version from 20.19.4 to 20.19.5 in both .nvmrc and Dockerfile base image.

What is the related Linear task?

Resolves https://linear.app/rudderstack/issue/INT-4108/on-call-sep-10-16-dilip-progress-on-following-tasks

Please explain the objectives of your changes below

This PR updates the Node.js version to the latest patch release (20.19.5) to ensure we're using the most recent security patches and bug fixes.

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

No changes to existing capabilities. This is a patch version update that maintains backward compatibility.

Any new dependencies introduced with this change?

No new dependencies introduced.

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

This is a patch version update that should not introduce any performance changes or breaking changes.

@coderabbitai review


Developer checklist

  • My code follows the style guidelines of this project
  • No breaking changes are being introduced.
  • All related docs linked with the PR?
  • All changes manually tested?
  • Any documentation changes needed with this change?
  • Is the PR limited to 10 file changes?
  • Is the PR limited to one linear task?
  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?
  • Verified that there are no credentials or confidential data exposed with the changes.

- Update .nvmrc to use Node.js 20.19.5
- Update Dockerfile base image to node:20.19.5-alpine3.21
@koladilip
koladilip requested a review from a team September 11, 2025 13:48
@coderabbitai

coderabbitai Bot commented Sep 11, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Upgraded Node.js runtime to 20.19.5 across development and container environments for consistency and latest security/performance updates.
    • Updated Docker base image to Node 20.19.5 (Alpine 3.21) to align build/runtime environments.
    • No user-facing functionality changes.

Walkthrough

Bumps Node.js versions: .nvmrc updated from 20.19.2 to 20.19.5, and Docker base image updated from node:20.19.4-alpine3.21 (pinned digest) to node:20.19.5-alpine3.21 (new pinned digest). No functional code, API, or control-flow changes included.

Changes

Cohort / File(s) Summary of Changes
Node version bump (.nvmrc)
`.nvmrc`
Updated Node version string from 20.19.2 → 20.19.5.
Docker base image bump
`Dockerfile`
Updated base image from `node:20.19.4-alpine3.21@sha256:4802...` → `node:20.19.5-alpine3.21@sha256:f838...`. No other Dockerfile lines changed in diff.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • sivashanmukh
  • utsabc

Suggestions

  • Verify CI runs against Node 20.19.5 locally and in containers.
  • Confirm digest matches the intended image and is trusted.
  • Ensure any runtime images (if multi-stage) also reference 20.19.5.
  • Consider automating Node version bumps (e.g., Renovate) to keep .nvmrc and Docker tags in sync.

Pre-merge checks (3 passed)

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The current title "chore: update Node.js version to 20.19.5" succinctly and accurately summarizes the primary change (a Node.js patch-version bump) and follows conventional commit style. It is short, focused, and free of noise or unrelated details, making it easy for teammates scanning history to understand the change. Therefore it meets the repository's title guidance.
Description Check ✅ Passed The PR description follows the repository template: it explains the change, cites the related Linear task (INT-4108) via link, states objectives and compatibility expectations, and fills the developer and reviewer checklists. All required informational sections are present and sufficiently detailed for a routine patch-level dependency update, so the description is mostly complete. This satisfies the pass criteria for the description check.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-node-version-20.19.5

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.

@devops-github-rudderstack

Copy link
Copy Markdown
Contributor

Allure Test reports for this run are available at:

@codecov

codecov Bot commented Sep 11, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.78%. Comparing base (63bd4e3) to head (18ee509).
⚠️ Report is 14 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4629   +/-   ##
========================================
  Coverage    91.78%   91.78%           
========================================
  Files          642      642           
  Lines        33941    33941           
  Branches      8035     8045   +10     
========================================
  Hits         31152    31152           
  Misses        2559     2559           
  Partials       230      230           

☔ 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.

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai 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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
Dockerfile (1)

5-6: Consider dropping apk update/upgrade for tighter reproducibility.

Running apk update and apk upgrade can drift base packages beyond the pinned image and slow builds. For minimal, reproducible images, rely on apk add --no-cache … only, unless you intentionally need upgrades.

-RUN apk update
-RUN apk upgrade
+# Rely on pinned base image packages; keep installs minimal
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6b30364 and 18ee509.

📒 Files selected for processing (2)
  • .nvmrc (1 hunks)
  • Dockerfile (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
  • GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
  • GitHub Check: Code Coverage
  • GitHub Check: UT Tests
  • GitHub Check: test_and_publish
  • GitHub Check: Analyze (go)
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (2)
.nvmrc (1)

1-1: .nvmrc bump to 20.19.5 — CI & Docker consistent; confirm package.json engines

  • .nvmrc = 20.19.5. GitHub Actions workflows use actions/setup-node with node-version-file: '.nvmrc'.
  • Dockerfile FROM node:20.19.5-alpine3.21 matches.
  • No .node-version or .tool-versions found. No package.json engines.node entries found in the repo — confirm any workspace/package package.json files and update engines to match 20.19.5 if present.
Dockerfile (1)

2-2: Base image bumped to node:20.19.5-alpine3.21 with pinned digest — LGTM (verified)

Verified: Docker Hub manifest digest for node:20.19.5-alpine3.21 matches pinned sha256:f838a8eabffcfbdf4276294401a56e6e1ce02a638865a1f6ef1e9556f3bd0786. Suggest adding a CI assertion or a brief Dockerfile comment with verification date to detect future drift.

@koladilip
koladilip merged commit b8d1102 into develop Sep 15, 2025
@koladilip
koladilip deleted the update-node-version-20.19.5 branch September 15, 2025 06:04
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.

4 participants