stream: fix Readable stream state properties#34886
stream: fix Readable stream state properties#34886lundibundi wants to merge 2 commits intonodejs:masterfrom
Conversation
There was a problem hiding this comment.
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 |
antsmartian
left a comment
There was a problem hiding this comment.
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 <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Looks like they have been accidentally moved in #31144. PR-URL: #34886 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Looks like they have been accidentally moved in #31144. PR-URL: #34886 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
Looks like they have been accidentally moved in nodejs#31144. PR-URL: nodejs#34886 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
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