Skip to content

build: add --shared-v8-zlib to share the zlib copy in V8 - #67828

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:shared-v8-zlib
Dec 2, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joyeecheung:shared-v8-zlib

Conversation

@joyeecheung

Copy link
Copy Markdown
Member

Previously, --shared-zlib only affects the Node.js internals, but V8 still uses a bundled copy. This new configure option makes that part shared as well. This is implied by --shared-zlib by default but can be turned off independently with --no-shared-v8-zlib.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Nov 27, 2026
@aduh95

aduh95 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Related: #33848

Previously, --shared-zlib only affects the Node.js internals, but V8
still uses a bundled copy. This new configure option makes that part
shared as well. This is implied by --shared-zlib by default but
can be turned off independently with --no-shared-v8-zlib.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor
Platform Number of requisites Proportion of new derivations
x86_64-linux 519 -> 518 => -1 1 / 518 = 0.1%
aarch64-linux 520 -> 519 => -1 1 / 519 = 0.1%
x86_64-darwin 447 -> 446 => -1 1 / 446 = 0.2%
aarch64-darwin 449 -> 448 => -1 1 / 448 = 0.2%
Total 1935 -> 1931 => -4 4 / 1931 = 0.2%
Version changes
Package Version Platforms
mock-zlib.pc removed: unversioned aarch64-darwin, aarch64-linux, x86_64-darwin, x86_64-linux
non-v8-deps-mock.mock no version change: 0.0.0 aarch64-darwin, aarch64-linux, x86_64-darwin, x86_64-linux

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

I wonder if it's fine to backport

@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue PRs queued for automated landing through the Commit Queue. labels Dec 2, 2026
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Dec 2, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Commit Queue failed

   ✖  This PR needs to wait 53 more hours to land (or 0 minutes if there is one more approval)
   ✖  GitHub CI is still running

The pull request was removed from the Commit Queue and labeled commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. . After resolving the failure, remove that label and add commit-queue PRs queued for automated landing through the Commit Queue. to retry.

Full Commit Queue output
�[36m⠋�[39m Loading data for nodejs/node/pull/67828
�[36m⠋�[39m Loading data for nodejs/node/pull/67828
�[36m⠋�[39m Getting collaborator contacts from README of nodejs/node
�[36m⠋�[39m Getting PR from nodejs/node/pull/67828
�[36m⠋�[39m Getting reviews from nodejs/node/pull/67828
�[36m⠋�[39m Getting comments from nodejs/node/pull/67828
�[36m⠋�[39m Getting commits from nodejs/node/pull/67828
✔  Done loading data for nodejs/node/pull/67828
----------------------------------- PR info ------------------------------------
Title      build: add --shared-v8-zlib to share the zlib copy in V8 (#67828)
Author     Joyee Cheung <joyeec9h3@gmail.com> (@joyeecheung)
Branch     joyeecheung:shared-v8-zlib -> nodejs:main
Labels     build, v8 engine, tools, author ready, needs-ci, commit-queue
Commits    1
 - build: add --shared-v8-zlib to share the zlib copy in V8
Committers 1
 - Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/67828
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/67828
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Fri, 27 Nov 2026 15:26:00 GMT
   ✔  Approvals: 1
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/67828#pullrequestreview-6147534329
   ✖  This PR needs to wait 53 more hours to land (or 0 minutes if there is one more approval)
   ✖  GitHub CI is still running
   ℹ  Last Full PR CI on 2026-12-02T01:30:54Z: https://ci.nodejs.org/job/node-test-pull-request/79644/
�[36m⠙�[39m Querying data for job/node-test-pull-request/79644/
�[36m⠙�[39m Querying data for job/node-test-pull-request/79644/
�[36m⠙�[39m Querying API for job/node-test-pull-request/79644/
✔  Build data downloaded
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu

View workflow run

@richardlau richardlau added commit-queue PRs queued for automated landing through the Commit Queue. and removed commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. labels Dec 2, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 8612d93 into nodejs:main Dec 2, 2026
97 of 100 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 8612d93

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants