Skip to content

build: bump Node to 24.22.1 - #5631

Merged
Xrazik1 merged 1 commit into
mainfrom
build/node-24-22-1
Oct 21, 2026
Merged

Xrazik1 merged 1 commit into
mainfrom
build/node-24-22-1

Conversation

@artiom

@artiom artiom commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Bump Node.js from v24.22.0 to v24.22.1, following build: bump Node to 24.22.0 and npm to 11.21.1 #5624.
  • Align .nvmrc, the Docker base default, all six browser test matrices, and the four CI/publishing/release workflow pins.
  • Keep npm at 11.21.1: the npm versions page returned an HTTP 403 challenge, while the public npm registry lists 11.21.1 as the highest stable 11.x version and its next-11 tag. No npm major upgrade is included.
  • Preserve engine minimums, dependencies, lockfile, NVM, and historical changelog entries.

Validation

Using Node.js v24.22.1 and npm 11.21.1:

  • Node binary SHA-256 matched upstream SHASUMS256.txt.
  • npm ci, npm run build:dev, npm run lint, and changed-file Prettier checks passed.
  • node --test scripts/*.test.js: 15 passing.
  • CI=true npm test: 218 passing, 40 pending, then stopped because the Chrome binary is absent. This is not a complete integration-suite pass.
  • Local Docker validation is unavailable because no Docker daemon is running. Browser integration and leak validation are delegated to repository CI because the required browser installation is absent.
  • Exact-byte comparison confirmed only the 12 intended Node version substitutions; the lockfile is unchanged.

GitHub CI must cover all six Docker browser jobs, leak check, lint, formatting, title validation, and CodeQL. No packages or images have been published.

Summary by CodeRabbit

  • Chores
    • Updated the project’s supported Node.js runtime from version 24.22.0 to 24.22.1.
    • Updated development, testing, linting, publishing, release, and Docker environments to use the same Node.js version.
    • Docker-based browser testing and builds now run with Node.js 24.22.1 for Chrome, Chromium, Edge, Firefox, and WebKit.

Devin Review

@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review in 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: 73c5763c-e0db-41b8-8b32-8c6cf4775161
📥 Commits

Reviewing files that changed from the base of the PR and between 007be3f and e080d9c.

📒 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: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The repository’s Node.js version pins change from 24.22.0 to 24.22.1 in Docker workflows, other CI workflows, .nvmrc, and the Docker base image.

Changes

Node.js version pins

Layer / File(s) Summary
Update Node.js version pins
.nvmrc, docker/base/Dockerfile, .github/workflows/docker-*.yml, .github/workflows/leak-check.yml, .github/workflows/lint.yml, .github/workflows/npm-publish.yml, .github/workflows/release-please.yml
These files now specify Node.js 24.22.1 instead of 24.22.0.

Priority: ⬇️ Low

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

Change: Other

Possibly related PRs

Suggested reviewers: ahmedamien

Merge Risk: ⚪ Minimal · up to e080d

The version-only update is ready to merge; normal CI checks remain appropriate.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: updating Node.js to version 24.22.1 across workflows, Docker configuration, and .nvmrc.
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.
Full details: Docstring Coverage

Explanation

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 files. (12 skipped: 12 unsupported.)

✨ 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 version file,
The workflows match it row by row.
The Docker base pins the same,
24.22.1 is now the name.
Then hops away, content with the change.

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

@artiom
artiom marked this pull request as ready for review October 21, 2026 11:22

@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

@Xrazik1
Xrazik1 merged commit d2e948c into main Oct 21, 2026
17 checks passed
@Xrazik1
Xrazik1 deleted the build/node-24-22-1 branch October 21, 2026 11:32
artiom pushed a commit that referenced this pull request Oct 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.57.2](v2.57.1...v2.57.2)
(2026-10-21)


### Bug Fixes

* make CDP browser shutdown reentrant
([#5626](#5626))
([19841b6](19841b6))
* preserve launch arguments alongside legacy switches
([#5630](#5630))
([eff44d1](eff44d1))


### Build System & Runtime

* bump Node to 24.22.1
([#5631](#5631))
([d2e948c](d2e948c))

---
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>
Xrazik1 pushed a commit that referenced this pull request Oct 29, 2026
## Summary

- Update Node.js from v24.22.1 to
[v24.22.2](https://nodejs.org/en/download/archive/v24.22.2), following
#5631 and #5624.
- Align the same 12 pins: `.nvmrc`, Docker base default, six browser
test matrices, and four CI/publishing/release workflows.
- Preserve npm 11.21.1, NVM, dependencies, engine minimums, lockfile,
and historical changelog entries.
- Pin Ubuntu 26.04 (`resolute`) to its multi-architecture index digest.
Use the codename to avoid Dependabot's experimental suppression of
digest-only updates for numeric tags. Point Dependabot at
`/docker/base`, check daily without a Docker cooldown, and use
releasable `build` commit messages. Retain existing Dependabot
auto-merge behavior.
- Upgrade installed APT packages during base builds and disable
layer-cache reuse for published base/browser images. Browser publishing
explicitly pulls the published parent image.
- No new release schedule or rolling channel is introduced; existing
release approval and publishing triggers remain unchanged.

## Validation

Using Node.js v24.22.2 and npm 11.21.1:

- Downloaded Node binary verified against upstream SHA-256 checksums.
- `npm ci`, `npm run build:dev`, `npx eslint .`, and changed-workflow
Prettier checks passed.
- `node --test scripts/*.test.js`: 20 passed.
- `CI=true npm test`: 221 passed, 44 pending, then failed because the
Chrome browser binary is absent. This is not a complete
integration-suite pass.
- Docker image builds and browser/leak validation require CI; the local
environment has no running Docker daemon or installed application
browsers.
- Final head a3eac60 passed all six
Docker browser jobs, leak check, lint, formatting, title validation,
CodeQL, and GitHub's Dependabot configuration validation. The
Dependabot-only automerge job was skipped as expected.
- Dependabot configuration passes its JSON schema; changed YAML passes
Prettier. Verified the Ubuntu index digest against the raw registry
response and confirmed both linux/amd64 and linux/arm64 are present.
Checked the watched Dockerfile path and uncached publish settings.
- Verified `resolute` and `26.04` resolve to identical index bytes.
Dependabot keeps non-versioned tags unchanged while checking their
digests; the codename is explicitly exempt from numeric-tag
digest-update suppression. Hosted Dependabot PR creation still needs
verification after merge.
- The lockfile is unchanged. PR tests and release publishing still build
separately, so APT packages may change between them.
- Exercised release-please 17.6.0's Node strategy with the repository's
changelog configuration: a sole `build:` or `build(deps):` digest-update
commit generates a 2.57.4 release PR from 2.57.3. A hidden `chore:`
control produces no release PR. No release was published by this local
check.


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

## Summary by CodeRabbit

* **Chores**
* Updated the Node.js version from 24.22.1 to 24.22.2 across browser
builds, tests, publishing, and development.
* Updated the Docker base image and package installation process, and
adjusted image build settings.
* Updated automated dependency update settings for the Docker base
image.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

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

---

<a href="https://app.devin.ai/review/browserless/browserless/pull/5645"
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]>
ahmedAmien pushed a commit that referenced this pull request Nov 3, 2026
## Summary

- Update Node.js from v24.22.2 to
[v26.13.0](https://nodejs.org/en/download/archive/v26.13.0) (LTS),
following #5645 and #5631.
- Align the same 12 pins: `.nvmrc`, Docker base default, six browser
test matrices, and four CI/publishing/release workflows. npm stays at
11.21.1; `engines.node` stays `>=24`.
- Add `libatomic1` to the base image: official Node ≥ 25 Linux binaries
link against libatomic, and the base build fails without it
(`libatomic.so.1: cannot open shared object file`).
- Rewrite `scripts/install-playwright-ffmpeg.js` to download and unzip
each pinned Playwright package's FFmpeg archive itself. playwright-core
< 1.60 deadlocks in its yauzl-based extractor on Node 24.16–24.17 and
Node ≥ 26 (microsoft/playwright#40724, nodejs/node#63487; the stream
change was reverted on 24.x but kept on 26). The script now runs
`install ffmpeg --dry-run` to learn the install directory and ordered
mirror URLs, fetches the archive, extracts it through the existing
`scripts/extract-zip-native.js` (system `unzip`, the same workaround as
`install-versioned-browsers.sh`), writes `INSTALLATION_COMPLETE` only
after a verified extraction, then lets `playwright install ffmpeg`
validate the finished install under a timeout. The published images
bundle 1.60–1.64 and were not affected; SDK consumers that pin older
`playwrightVersions` were (the unmodified script hangs after the
download completes until its own 600 s timeout kills it).
- Drop the obsolete `esbuild-plugins-node-modules-polyfill` override
(its peer range already accepts the installed esbuild; lockfile
byte-identical) and approve esbuild's install script so `npm ci` no
longer warns.
- Update the `extract-zip-native.js` comment to describe the affected
Node ranges.

## Validation

Using Node.js v26.13.0 and npm 11.20.0/11.21.1 (host/image), on an arm64
host with Docker:

- `npm ci` (no install-script warnings), `npm run build:dev`, `npm run
lint`, and `npx prettier --check .` passed.
- `node --test scripts/install-playwright-ffmpeg.test.js`: 6 passed,
including first-mirror fallback, no re-download on re-run, unreachable
mirrors leaving the cache untouched, and a corrupt archive never being
marked installed.
- `npm pack --dry-run`: 0 warnings.
- `docker/base` built with the new script; `docker/chromium` image test
suite: 580 passing, 0 failing; `docker/multi` image test suite: 607
passing, 0 failing (run twice, before and after the FFmpeg script
rewrite). In-image `node -v` is v26.13.0 and `ldd` shows libatomic
linked.
- SDK smoke test against the packed tarball inside the multi image:
scaffolded project builds and starts; a custom route, Playwright
WebSocket connections to chromium/firefox/webkit, puppeteer-core
WebSocket connect, and `/chromium/screenshot`, `/pdf`, `/content`,
`/function`, `/scrape`, `/sessions`, `/pressure`, `/docs` all return
200.
- Reproduced the extraction deadlock under Node 26.13.0 with
playwright-core 1.59 (`install ffmpeg` hangs after download; completes
on 1.60 and on Node 24.18/25.0), and confirmed that with the completion
marker present `install ffmpeg` exits in well under a second without
extracting.
- Not covered locally: amd64 builds and the chrome/edge images
(amd64-only); CI on this PR is the amd64 evidence.


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

## Summary by CodeRabbit

* **Updates**
* Updated the project’s Node.js version to 26.13.0 across development,
browser testing, Docker builds, and publishing.
  * Updated the base Docker image to support Node.js 26.13.0.

* **Bug Fixes**
* Improved Playwright FFmpeg installation reliability with proxy
support, download mirror fallback, and recovery from incomplete
downloads.

* **Documentation**
* Clarified which Node.js versions are affected by the stream-close
issue and when it was reverted on the 24.x line.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/browserless/browserless/pull/5653"
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