Skip to content

zlib: remove mentions of unexposed Z_TREES constant #58371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hkleungai
Copy link
Contributor

Z_TREES is never exposed on DefineZlibConstants(), hence it shall be
removed.

This fix is applicable to v18+.

Refs: https://github.com/nodejs/node/blob/main/src/node_zlib.cc

`Z_TREES` is never exposed on `DefineZlibConstants()`, hence it shall be
removed.

This fix is applicable to v18+.

Refs: https://github.com/nodejs/node/blob/main/src/node_zlib.cc
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. zlib Issues and PRs related to the zlib subsystem. labels May 17, 2025
Copy link

codecov bot commented May 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.23%. Comparing base (4edb139) to head (a603fe5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #58371      +/-   ##
==========================================
- Coverage   90.24%   90.23%   -0.01%     
==========================================
  Files         633      633              
  Lines      186860   186860              
  Branches    36675    36684       +9     
==========================================
- Hits       168623   168615       -8     
- Misses      11035    11047      +12     
+ Partials     7202     7198       -4     
Files with missing lines Coverage Δ
lib/zlib.js 98.22% <100.00%> (ø)

... and 23 files with indirect coverage changes

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

Copy link
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@juanarbol juanarbol added the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 18, 2025
@nodejs-github-bot
Copy link
Collaborator

@hkleungai
Copy link
Contributor Author

Not sure why test fails. The report in https://ci.nodejs.org/job/node-test-commit-linuxone/nodes=rhel8-s390x/49510/testReport/junit/(root)/parallel/test_http2_debug/ does not tell me much. Would reviewers want to take a look on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. zlib Issues and PRs related to the zlib subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants