Skip to content

build: bump Node to 24.21.0 and NVM to 0.40.7 - #5581

Merged
ahmedAmien merged 1 commit into
mainfrom
chore/node-24-21-nvm-0-40-7
Sep 10, 2026
Merged

ahmedAmien merged 1 commit into
mainfrom
chore/node-24-21-nvm-0-40-7

Conversation

@artiom

@artiom artiom commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Update the Docker base image to Node.js v24.21.0 and NVM v0.40.7.
  • Pin .nvmrc, all six Docker test matrices, and setup-node workflows to Node.js 24.21.0.
  • Preserve npm 11.19.1, supported Node compatibility ranges, historical changelog entries, and third-party dependency metadata. No lockfile regeneration is needed for runtime-only pins.

Verification

  • Installed Node.js 24.21.0 using NVM 0.40.7; upstream checksum matched.
  • npm ci, npm run build:dev, ESLint, and changed-file Prettier checks passed.
  • CI=true xvfb-run -a npm test: 731 passing, 3 pending.
  • Leak check passed all six waves with zero request errors using an isolated temporary directory. An initial concurrent run shared temporary directories with the integration suite and failed its directory-count assertion.
  • Built the base and multi-browser Docker images locally. The base runtime reports Node v24.21.0, NVM 0.40.7, and npm 11.19.1.
  • The multi-browser image's CI test entrypoint passed: 731 passing, 3 pending. The first run timed out in a Chromium /kill teardown; the focused three-test rerun and the full rerun both passed without code changes.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 39c50b27-d1c4-4951-8789-3d2579074610

📥 Commits

Reviewing files that changed from the base of the PR and between 1d83f8c and dc06822.

📒 Files selected for processing (12)
  • .github/workflows/docker-chrome.yml
  • .github/workflows/docker-chromium.yml
  • .github/workflows/docker-edge.yml
  • .github/workflows/docker-firefox.yml
  • .github/workflows/docker-multi.yml
  • .github/workflows/docker-webkit.yml
  • .github/workflows/leak-check.yml
  • .github/workflows/lint.yml
  • .github/workflows/npm-publish.yml
  • .github/workflows/release-please.yml
  • .nvmrc
  • docker/base/Dockerfile

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


Walkthrough

The change updates Node.js to 24.21.0 in repository, Docker, and GitHub Actions configuration. The Docker base image also updates NVM from 0.40.5 to 0.40.7.

Changes

Node.js version alignment

Layer / File(s) Summary
Runtime version configuration
.nvmrc, docker/base/Dockerfile
The repository and Docker base image use Node.js 24.21.0. The Docker base image uses NVM 0.40.7.
Workflow version configuration
.github/workflows/docker-*.yml, .github/workflows/leak-check.yml, .github/workflows/lint.yml, .github/workflows/npm-publish.yml, .github/workflows/release-please.yml
The workflows use the pinned Node.js version 24.21.0.

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

Suggested reviewers: joelgriffith

Merge Risk: ⚪ Minimal · up to dc068

This change aligns Node.js and NVM versions across local, Docker, and CI configuration. Verified builds and tests show no merge-blocking impact; remaining CI and multi-browser checks are routine follow-up.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main changes: updating Node.js to 24.21.0 and NVM to 0.40.7.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/node-24-21-nvm-0-40-7

A rabbit checks the Node version bright
Twenty-four twenty-one hops into sight
Docker follows with a careful stride
Workflows match on every side
NVM joins the update ride

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

@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

@artiom artiom changed the title chore: bump Node to 24.21.0 and NVM to 0.40.7 build: bump Node to 24.21.0 and NVM to 0.40.7 Sep 10, 2026

artiom commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Ready for human review at dc068226869e6a8b70421f727733fc1fb0ee3a4b.

All 14 checks pass; the optional Dependabot automerge job is skipped. This includes all six Docker image build/test jobs, leak checking, lint, formatting, title validation, and CodeQL. CodeRabbit and Devin reviewed this exact head with no actionable findings; no review threads remain unresolved. No CI reruns or review-driven code changes were needed.

Local verification: clean install, full development build, lint/format checks, isolated six-wave leak check, and base/multi Docker builds passed. Both the host and multi-container full suites finished with 731 passing and 3 pending. An initial container teardown timeout passed on focused and full reruns without code changes; the PR body records it.

The title now uses build: for the configured Build System & Runtime release category. The branch is conflict-free; human approval is still required. No merge or deployment was performed.

@ahmedAmien
ahmedAmien merged commit 7b83722 into main Sep 10, 2026
19 checks passed
@ahmedAmien
ahmedAmien deleted the chore/node-24-21-nvm-0-40-7 branch September 10, 2026 12:31
artiom pushed a commit that referenced this pull request Sep 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.56.7](v2.56.6...v2.56.7)
(2026-09-10)


### Build System & Runtime

* bump Node to 24.21.0 and NVM to 0.40.7
([#5581](#5581))
([7b83722](7b83722))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: browserless-actions-bot[bot] <186328842+browserless-actions-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Gikoskos pushed a commit that referenced this pull request Oct 16, 2026
## Summary

- Update Node.js to v24.22.0 and npm to 11.21.1.
- Keep `.nvmrc`, Docker defaults, all six browser test matrices, and
CI/publishing/release workflows aligned, following the prior runtime
upgrades in #5581 and #5553.
- Preserve engine minimums, dependency versions, the lockfile, NVM, and
historical changelog entries.

## Validation

Using Node.js v24.22.0 and npm 11.21.1:

- Verified the Node download against the upstream SHA-256 checksum.
- `npm ci`, `npm run build:dev`, `npm run lint`, and changed-workflow
Prettier checks passed.
- `CI=true xvfb-run -a npm test`: **785 passing, 3 pending**.
- `node --test scripts/*.test.js`: **15 passing**.
- Leak check: **6 waves passed, zero request errors**, no remaining
sessions, timers, queued requests, or data directories. The initial
isolated temporary path exceeded Chromium's Unix socket length limit;
rerunning with a shorter path passed without source changes.
- Built the base and multi-browser Docker images. The base image reports
exactly Node v24.22.0 and npm 11.21.1.
- The multi-browser image's CI test entrypoint passed: **785 passing, 3
pending**.
- Verified the final committed tree contains exactly the intended
version substitutions across 12 files, with a clean worktree and no
lockfile changes.

GitHub CI passed all six Docker browser jobs, leak check, lint,
Prettier, title validation, and CodeQL. CodeRabbit reported no
actionable findings. The Dependabot-only automerge job was skipped as
expected. No packages or images have been published.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated the Node.js version used across development, builds, tests,
and releases to v24.22.0.
* Updated the npm version used in relevant workflows and Docker builds
to 11.21.1.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/browserless/browserless/pull/5624"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

Co-authored-by: Amp <[email protected]>
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.

3 participants