Skip to content

stream: avoid premature close when will not emit close - #45301

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
nxtedition:fix45281
Nov 20, 2022
Merged

stream: avoid premature close when will not emit close#45301
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
nxtedition:fix45281

Conversation

@ronag

@ronagronag commented Nov 3, 2022

Copy link
Copy Markdown
Member

Fixes: #45281

@ronagronag added the stream Issues and PRs related to the stream subsystem. label Nov 3, 2022
@ronag
ronag requested a review from mcollinaNovember 3, 2022 14:12
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

@ronag

ronag commented Nov 3, 2022

Copy link
Copy Markdown
MemberAuthor

@nodejs/streams

@nodejs-github-botnodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 3, 2022

@mcollinamcollina 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

@ronagronag 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. and removed needs-ci PRs that need a full CI run. labels Nov 18, 2022
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 18, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollinamcollina added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Nov 20, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 20, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/45301
✔ Done loading data for nodejs/node/pull/45301
----------------------------------- PR info ------------------------------------
Title stream: avoid premature close when will not emit close (#45301)
Author Robert Nagy (@ronag)
Branch ronag:fix45281 -> nodejs:main
Labels stream, author ready, commit-queue-squash
Commits 2
- stream: avoid premature close when will not emit close
- fixup lint
Committers 1
- Robert Nagy PR-URL: https://github.com/nodejs/node/pull/45301
Fixes: https://github.com/nodejs/node/issues/45281
Reviewed-By: Luigi Pinca Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum Reviewed-By: Minwoo Jung ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/45301
Fixes: https://github.com/nodejs/node/issues/45281
Reviewed-By: Luigi Pinca Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum Reviewed-By: Minwoo Jung --------------------------------------------------------------------------------
⚠ Commits were pushed since the last review:
⚠ - fixup lint
ℹ This PR was created on Thu, 03 Nov 2022 14:12:28 GMT
✔ Approvals: 4
✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/45301#pullrequestreview-1167360992
✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/45301#pullrequestreview-1167527484
✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/45301#pullrequestreview-1167745607
✔ - Minwoo Jung (@JungMinu): https://github.com/nodejs/node/pull/45301#pullrequestreview-1185647423
✔ Last GitHub CI successful
ℹ Last Full PR CI on 2022-11-20T11:00:52Z: https://ci.nodejs.org/job/node-test-pull-request/48042/
- Querying data for job/node-test-pull-request/48042/
✔ Last Jenkins CI successful
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3508098605

@nodejs-github-botnodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Nov 20, 2022

@mcollinamcollina 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

@mcollinamcollina added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Nov 20, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 20, 2022
@nodejs-github-bot
nodejs-github-bot merged commit 5664822 into nodejs:mainNov 20, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 5664822

ruyadorno pushed a commit that referenced this pull request Nov 21, 2022
Fixes: #45281
PR-URL: #45301
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
@ruyadornoruyadorno mentioned this pull request Nov 24, 2022
@xdc0

xdc0 commented Dec 16, 2022

Copy link
Copy Markdown

Is this patch planned for release on node 18 LTS?

danielleadams pushed a commit that referenced this pull request Dec 30, 2022
Fixes: #45281
PR-URL: #45301
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
Fixes: #45281
PR-URL: #45301
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
danielleadams pushed a commit that referenced this pull request Jan 5, 2023
Fixes: #45281
PR-URL: #45301
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stream.finished throws ERR_STREAM_PREMATURE_CLOSE when it shouldn't

7 participants

@ronag@nodejs-github-bot@xdc0@mcollina@benjamingr@lpinca@JungMinu