Skip to content

stream: copyedit webstreams/adapter.js - #63034

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
aduh95:copyedit-adapters
May 4, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
aduh95:copyedit-adapters

Conversation

@aduh95

@aduh95 aduh95 commented Apr 29, 2026

Copy link
Copy Markdown
Contributor
  • Simplify ZLIB_FAILURES creation.
  • Cache cause.code in handleKnownInternalErrors in case of a getter.
  • Replace SafePromiseAll with SafePromiseAllReturnVoid to reduce the number of allocated promises.

- Simplify `ZLIB_FAILURES` creation.
- Cache `cause.code` in `handleKnownInternalErrors` in case of a getter.
- Replace `SafePromiseAll` with `SafePromiseAllReturnVoid` to reduce the
  number of allocated promises.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. web streams Issues and PRs related to the Web Streams API. labels Apr 29, 2026
@codecov

codecov Bot commented Apr 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.64%. Comparing base (2a601eb) to head (11e2a51).
⚠️ Report is 46 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/webstreams/adapters.js 95.45% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #63034      +/-   ##
==========================================
- Coverage   89.65%   89.64%   -0.01%     
==========================================
  Files         708      708              
  Lines      220374   220369       -5     
  Branches    42264    42275      +11     
==========================================
- Hits       197584   197560      -24     
- Misses      14656    14671      +15     
- Partials     8134     8138       +4     
Files with missing lines Coverage Δ
lib/internal/webstreams/adapters.js 86.54% <95.45%> (-0.07%) ⬇️

... and 40 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.

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels May 1, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label May 1, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@aduh95 aduh95 added the commit-queue PRs queued for automated landing through the Commit Queue. label May 4, 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 May 4, 2026
@aduh95 aduh95 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 May 4, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label May 4, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 7eab492 into nodejs:main May 4, 2026
101 of 103 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 7eab492

@aduh95
aduh95 deleted the copyedit-adapters branch May 4, 2026 16:33
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. needs-ci PRs that need a full CI run. web streams Issues and PRs related to the Web Streams API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants