-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
stream: finish pipeline if dst closes before src #43701
Conversation
Review requested:
|
@nodejs/streams @vweevers |
If the destination stream is closed before the source has completed the pipeline should finnish with premature close. Fixes: nodejs#43682
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Commit Queue failed- Loading data for nodejs/node/pull/43701 ✔ Done loading data for nodejs/node/pull/43701 ----------------------------------- PR info ------------------------------------ Title stream: finish pipeline if dst closes before src (#43701) Author Robert Nagy (@ronag) Branch ronag:pipeline-finish -> nodejs:main Labels stream Commits 2 - stream: finish pipeline if dst closes before src - fixup Committers 1 - Robert Nagy PR-URL: https://github.com/nodejs/node/pull/43701 Fixes: https://github.com/nodejs/node/issues/43682 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/43701 Fixes: https://github.com/nodejs/node/issues/43682 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - fixup ℹ This PR was created on Wed, 06 Jul 2022 11:25:18 GMT ✔ Approvals: 2 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/43701#pullrequestreview-1029932092 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/43701#pullrequestreview-1029938147 ✖ This PR needs to wait 27 more hours to land ✖ Last GitHub CI failed ✖ No Jenkins CI runs detected -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2628008197 |
Commit Queue failed- Loading data for nodejs/node/pull/43701 ✔ Done loading data for nodejs/node/pull/43701 ----------------------------------- PR info ------------------------------------ Title stream: finish pipeline if dst closes before src (#43701) Author Robert Nagy (@ronag) Branch ronag:pipeline-finish -> nodejs:main Labels stream, commit-queue-squash Commits 2 - stream: finish pipeline if dst closes before src - fixup Committers 1 - Robert Nagy PR-URL: https://github.com/nodejs/node/pull/43701 Fixes: https://github.com/nodejs/node/issues/43682 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/43701 Fixes: https://github.com/nodejs/node/issues/43682 Reviewed-By: Matteo Collina Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - fixup ℹ This PR was created on Wed, 06 Jul 2022 11:25:18 GMT ✔ Approvals: 2 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/43701#pullrequestreview-1029932092 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/43701#pullrequestreview-1029938147 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-07-10T18:43:08Z: https://ci.nodejs.org/job/node-test-pull-request/45277/ - Querying data for job/node-test-pull-request/45277/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2648025585 |
@ronag I don't know why the commit bot is failing, you might want to land this manually. |
@mcollina it's failing because "Commits were pushed since the last review". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Landed in e4bf5dc |
If the destination stream is closed before the source has completed
the pipeline should finnish with premature close.
Fixes: #43682