Skip to content

stream: remove redundant method check from iter.pipeToSync#63099

Open
Renegade334 wants to merge 1 commit intonodejs:mainfrom
Renegade334:iterstream-pipetosync-deduplicate-check
Open

stream: remove redundant method check from iter.pipeToSync#63099
Renegade334 wants to merge 1 commit intonodejs:mainfrom
Renegade334:iterstream-pipetosync-deduplicate-check

Conversation

@Renegade334
Copy link
Copy Markdown
Member

The presence of the writeSync method is already validated by parsePipeToArgs, as per the spec, so this is redundant.

Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

@Renegade334 Renegade334 requested a review from jasnell May 3, 2026 12:34
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem. labels May 3, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.65%. Comparing base (13e90d0) to head (223a970).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #63099      +/-   ##
==========================================
- Coverage   91.49%   89.65%   -1.84%     
==========================================
  Files         360      712     +352     
  Lines      151674   220507   +68833     
  Branches    23919    42281   +18362     
==========================================
+ Hits       138772   197698   +58926     
- Misses      12625    14658    +2033     
- Partials      277     8151    +7874     
Files with missing lines Coverage Δ
lib/internal/streams/iter/pull.js 85.16% <100.00%> (+0.24%) ⬆️

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

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels May 4, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 4, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@Renegade334 Renegade334 added the commit-queue Add this label to land a pull request using GitHub Actions. label May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants