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

stream: unify writableErrored and readableErrored by ronag · Pull Request #40799 · nodejs/node · GitHub

/ node Public

stream: unify writableErrored and readableErrored - #40799

Closed
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:errored
Closed

stream: unify writableErrored and readableErrored#40799
ronag wants to merge 2 commits into
nodejs:masterfrom
nxtedition:errored

Conversation

ronag commented Nov 13, 2021
edited
Loading

Copy link
Copy Markdown
Member

Both of these should always refer to the same error, hence there is no reason to separate them.

Refs: #40696

Both of these should always refer to the same error, hence
there is no reason to separate them.
ronag added the stream Issues and PRs related to the stream subsystem. label Nov 13, 2021
ronag requested a review from mcollina November 13, 2021 12:43

ronag commented Nov 13, 2021

Copy link
Copy Markdown
Member Author

@nodejs/streams

nodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 13, 2021
mscdex added the semver-major PRs that contain breaking changes and should be released in the next major version. label Nov 13, 2021
Comment thread doc/api/stream.md
called in order to fully uncork the stream.

##### `writable.writableErrored`
##### `writable.errored`

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

needs changes: entries?

Copy link
Copy Markdown
Member Author

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

These props have never made it to any release... is that really necessary?

},

readableErrored: {
errored: {

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

Do the readableErrored and writableErrored need to go through a deprecation cycle first? Those should likely be runtime deprecated aliases, yes?

Copy link
Copy Markdown
Member Author

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

Not really. They haven’t been in any release.

lpinca removed the semver-major PRs that contain breaking changes and should be released in the next major version. label Nov 13, 2021

lpinca commented Nov 13, 2021
edited
Loading

Copy link
Copy Markdown
Member

I've remove the semver-major label as per #40799 (comment).

ronag added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Nov 13, 2021

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

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

ronag commented Nov 18, 2021

Copy link
Copy Markdown
Member Author

Landed in 340b770

ronag closed this Nov 18, 2021
ronag added a commit that referenced this pull request Nov 18, 2021
Both of these should always refer to the same error, hence
there is no reason to separate them.

PR-URL: #40799
Refs: #40696
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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. 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.

8 participants


Back | FazBrowse Home | New Git URL