-
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: fix Readable stream state properties #34886
Conversation
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.
The properties are already defined below? Also would need tests.
EDIT: Something is weird here. I think you should remove the properties from Readable
and like you do add them to ReadableState
instead. Looks like a mistake in #31144.
One definition is on |
I think it was moved to |
I'm 👍 on keeping these only on |
The change on #31144 was unintentional and broken anyway. |
I'm good with keeping them on state only but since they were present (though broken) on Readable I thought it'd be better to leave them on Readable as well. Though I've used |
|
@ronag oh, that makes sense 😄 |
Looks like they have been accidentally moved in nodejs#31144.
caeb4e8
to
9cc6c1f
Compare
What's |
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
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.
Looks like I missed it somehow :/
Commit Queue failed- Loading data for nodejs/node/pull/34886 ✔ Done loading data for nodejs/node/pull/34886 ----------------------------------- PR info ------------------------------------ Title stream: fix Readable stream state properties (#34886) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch lundibundi:fix-stream-getter-props -> nodejs:master Labels stream Commits 2 - stream: fix Readable stream state properties - fixup! stream: fix Readable stream state properties Committers 1 - Denys Otrishko PR-URL: https://github.com/nodejs/node/pull/34886 Reviewed-By: Robert Nagy Reviewed-By: Luigi Pinca Reviewed-By: Matteo Collina Reviewed-By: Zeyu Yang Reviewed-By: Anto Aravinth ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/34886 Reviewed-By: Robert Nagy Reviewed-By: Luigi Pinca Reviewed-By: Matteo Collina Reviewed-By: Zeyu Yang Reviewed-By: Anto Aravinth -------------------------------------------------------------------------------- ℹ Last Full PR CI on 2020-08-23T10:56:51Z: https://ci.nodejs.org/job/node-test-pull-request/32901/ - Querying data of job/node-test-pull-request/32901/ ✔ Build data downloaded ℹ This PR was created on Sun, 23 Aug 2020 09:24:58 GMT ✔ Approvals: 5 ✔ - Robert Nagy (@ronag): https://github.com/nodejs/node/pull/34886#pullrequestreview-472999909 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/34886#pullrequestreview-472996953 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/34886#pullrequestreview-473001353 ✔ - Zeyu Yang (@himself65): https://github.com/nodejs/node/pull/34886#pullrequestreview-473012786 ✔ - Anto Aravinth (@antsmartian): https://github.com/nodejs/node/pull/34886#pullrequestreview-473059639 ✖ This PR needs to wait 27 more hours to land -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu |
Landed in e2ffa45 |
Looks like they have been accidentally moved in #31144. PR-URL: #34886 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
Looks like they have been accidentally moved in #31144. PR-URL: #34886 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
Looks like they have been accidentally moved in #31144. PR-URL: #34886 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
Looks like they have been accidentally moved in nodejs#31144. PR-URL: nodejs#34886 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
Looks like they have been accidentally moved in
#31144. This also adds the proxy
properties to Readable since they have been present all this time
and removing them would be breaking.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes/cc @nodejs/streams @antsmartian