FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: fix broken pipeline error propagation by ronag · Pull Request #31835 · nodejs/node · GitHub

/ node Public

stream: fix broken pipeline error propagation - #31835

Closed
ronag wants to merge 4 commits into
nodejs:masterfrom
nxtedition:stream-pipeline-broken-test
Closed

stream: fix broken pipeline error propagation#31835
ronag wants to merge 4 commits into
nodejs:masterfrom
nxtedition:stream-pipeline-broken-test

Conversation

ronag commented Feb 17, 2020
edited
Loading

Copy link
Copy Markdown
Member

If the destination was an async function any error thrown from that function would be swallowed.

EDITED

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

ronag requested review from mafintosh and mcollina February 17, 2020 20:15
Comment thread lib/internal/streams/pipeline.js Outdated
Comment thread test/parallel/test-stream-pipeline.js Outdated
ronag force-pushed the stream-pipeline-broken-test branch from 2b052e0 to ca5b7ff Compare February 17, 2020 20:29
ronag added the stream Issues and PRs related to the stream subsystem. label Feb 17, 2020
ronag requested review from BridgeAR and lpinca February 17, 2020 21:05
Comment thread test/parallel/test-stream-pipeline.js Outdated
Comment thread lib/internal/streams/pipeline.js Outdated
ronag requested a review from mcollina February 20, 2020 19:47
ronag force-pushed the stream-pipeline-broken-test branch from eae965f to d1533fe Compare February 21, 2020 11:50

ronag commented Feb 21, 2020

Copy link
Copy Markdown
Member Author

Confusion resolved. There was a .catch(...) after .then(...) which was swallowing errors.

@nodejs/streams PTAL

ronag force-pushed the stream-pipeline-broken-test branch from 22b2dd6 to d0860a6 Compare February 21, 2020 11:54
ronag added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 21, 2020

Copy link
Copy Markdown
Collaborator

ronag force-pushed the stream-pipeline-broken-test branch 3 times, most recently from ce8e95d to d3df498 Compare February 21, 2020 13:47
ronag changed the title stream: fix broken pipeline tests stream: fix broken pipeline error propagation Feb 21, 2020
If the destination was an async function any
error thrown from that function would be swallowed.
ronag force-pushed the stream-pipeline-broken-test branch from d3df498 to f07a2d1 Compare February 21, 2020 18:15

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

Copy link
Copy Markdown
Collaborator

ronag requested a review from lundibundi February 22, 2020 19:55

Copy link
Copy Markdown
Collaborator

ronag requested a review from benjamingr February 22, 2020 20:59
ronag and others added 2 commits February 22, 2020 22:23
Co-Authored-By: Denys Otrishko <shishugi@gmail.com>

Copy link
Copy Markdown
Collaborator

ronag added a commit that referenced this pull request Feb 24, 2020
If the destination was an async function any
error thrown from that function would be swallowed.

PR-URL: #31835
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>

ronag commented Feb 24, 2020

Copy link
Copy Markdown
Member Author

Landed in db28739

ronag closed this Feb 24, 2020
ronag added a commit to nxtedition/node that referenced this pull request Feb 27, 2020
If the destination was an async function any
error thrown from that function would be swallowed.

Backport-PR-URL: nodejs#31975
PR-URL: nodejs#31835
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
codebytere pushed a commit that referenced this pull request Mar 1, 2020
If the destination was an async function any
error thrown from that function would be swallowed.

Backport-PR-URL: #31975
PR-URL: #31835
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
codebytere mentioned this pull request Mar 1, 2020

targos commented Apr 20, 2020

Copy link
Copy Markdown
Member

Should this land on v12.x-staging? If so, please open a backport PR.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL