Skip to content

Conversation

@lundibundi
Copy link
Member

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

/cc @nodejs/streams @antsmartian

@lundibundilundibundi added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@nodejs-github-botnodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label Aug 23, 2020
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@ronagronag left a 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.

@lpinca
Copy link
Member

lpinca commented Aug 23, 2020

The properties are already defined below? Also would need tests.

One definition is on Readable, the other is on ReadableState. It looks like no reviewer noticed this in #31144 :/

@ronag
Copy link
Member

ronag commented Aug 23, 2020

One definition is on Readable

I think it was moved to Readable by mistake and should have been on ReadableState. Any chance we could remove it from Readable?

@lpinca
Copy link
Member

I'm 👍 on keeping these only on ReadableState as it originally was before #31144.

@lpinca
Copy link
Member

The change on #31144 was unintentional and broken anyway.

@lundibundi
Copy link
MemberAuthor

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 .paused to remove the readable state usage in http #34888, can we replace it with something else?

@ronag
Copy link
Member

Though I've used .paused to remove the readable state usage in http #34888, can we replace it with something else?

isPaused()?

@lundibundi
Copy link
MemberAuthor

@ronag oh, that makes sense 😄

Looks like they have been accidentally moved in nodejs#31144.
@lundibundilundibundiforce-pushed the fix-stream-getter-props branch from caeb4e8 to 9cc6c1fCompareAugust 23, 2020 10:30
@lundibundilundibundi added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@nodejs-github-bot
Copy link
Collaborator

@ronag
Copy link
Member

What's request-ci label? Is there some bot that looks at that and starts ci automatically?

@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@nodejs-github-bot
Copy link
Collaborator

@lundibundi
Copy link
MemberAuthor

@ronag yep, #34594

@lundibundilundibundi added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 23, 2020
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mcollinamcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@antsmartianantsmartian left a 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 :/

@mcollinamcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 24, 2020
@github-actionsgithub-actionsbot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 24, 2020
@github-actions
Copy link
Contributor

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

@github-actionsgithub-actionsbot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 24, 2020
@lundibundilundibundi removed the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 25, 2020
@lundibundilundibundi added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 1, 2020
@github-actionsgithub-actionsbot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 1, 2020
@github-actions
Copy link
Contributor

Landed in e2ffa45

nodejs-github-bot pushed a commit that referenced this pull request Sep 1, 2020
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]>
@lundibundilundibundi deleted the fix-stream-getter-props branch September 1, 2020 20:43
richardlau pushed a commit that referenced this pull request Sep 2, 2020
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]>
@richardlaurichardlau mentioned this pull request Sep 2, 2020
4 tasks
richardlau pushed a commit that referenced this pull request Sep 3, 2020
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]>
joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
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]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@lundibundi@nodejs-github-bot@lpinca@ronag@mcollina@antsmartian@himself65@rickyes