Skip to content
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: handle enqueuing chunks when a pending BYOB pull request exists #44770

Merged

Conversation

daeyeon
Copy link
Member

@daeyeon daeyeon commented Sep 24, 2022

This handles enqueuing chunks when there is a pending BYOB pull request demanded from a released reader.

Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue (step 8,9)

Signed-off-by: Daeyeon Jeong [email protected]

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. web streams labels Sep 24, 2022
@daeyeon
Copy link
Member Author

daeyeon commented Sep 24, 2022

/cc @nodejs/whatwg-stream

@daeyeon daeyeon force-pushed the main.rbstream-enqueue-220925.Sun.c9a6 branch from d172d2c to f4bb2a9 Compare September 25, 2022 03:43
@daeyeon daeyeon force-pushed the main.rbstream-enqueue-220925.Sun.c9a6 branch from f4bb2a9 to 3c6b203 Compare September 26, 2022 15:17
@daeyeon
Copy link
Member Author

daeyeon commented Sep 26, 2022

Rebased to apply the fix for test-asan failure.

@daeyeon daeyeon added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Sep 26, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 26, 2022
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@daeyeon daeyeon added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 30, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 30, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/44770
✔  Done loading data for nodejs/node/pull/44770
----------------------------------- PR info ------------------------------------
Title      stream: handle enqueuing chunks when a pending BYOB pull request exists (#44770)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     daeyeon:main.rbstream-enqueue-220925.Sun.c9a6 -> nodejs:main
Labels     author ready, needs-ci, web streams
Commits    1
 - stream: handle enqueuing chunks when a pending BYOB pull request exists
Committers 1
 - Daeyeon Jeong 
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - stream: handle enqueuing chunks when a pending BYOB pull request exists
   ℹ  This PR was created on Sat, 24 Sep 2022 16:08:15 GMT
   ✔  Approvals: 1
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/44770#pullrequestreview-1119407923
   ✖  This PR needs to wait 28 more hours to land (or 0 hours if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-09-27T06:52:34Z: https://ci.nodejs.org/job/node-test-pull-request/46854/
- Querying data for job/node-test-pull-request/46854/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3158324345

@daeyeon daeyeon added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Oct 2, 2022
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 2, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/44770
✔  Done loading data for nodejs/node/pull/44770
----------------------------------- PR info ------------------------------------
Title      stream: handle enqueuing chunks when a pending BYOB pull request exists (#44770)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     daeyeon:main.rbstream-enqueue-220925.Sun.c9a6 -> nodejs:main
Labels     author ready, needs-ci, web streams
Commits    1
 - stream: handle enqueuing chunks when a pending BYOB pull request exists
Committers 1
 - Daeyeon Jeong 
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - stream: handle enqueuing chunks when a pending BYOB pull request exists
   ℹ  This PR was created on Sat, 24 Sep 2022 16:08:15 GMT
   ✔  Approvals: 1
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/44770#pullrequestreview-1119407923
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-09-30T11:15:31Z: https://ci.nodejs.org/job/node-test-pull-request/46854/
- Querying data for job/node-test-pull-request/46854/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3167117966

@daeyeon daeyeon added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Oct 2, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 2, 2022
@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Oct 2, 2022
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/44770
✔  Done loading data for nodejs/node/pull/44770
----------------------------------- PR info ------------------------------------
Title      stream: handle enqueuing chunks when a pending BYOB pull request exists (#44770)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     daeyeon:main.rbstream-enqueue-220925.Sun.c9a6 -> nodejs:main
Labels     author ready, needs-ci, web streams
Commits    1
 - stream: handle enqueuing chunks when a pending BYOB pull request exists
Committers 1
 - Daeyeon Jeong 
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/44770
Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-enqueue
Reviewed-By: Benjamin Gruenbaum 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - stream: handle enqueuing chunks when a pending BYOB pull request exists
   ℹ  This PR was created on Sat, 24 Sep 2022 16:08:15 GMT
   ✔  Approvals: 1
   ✔  - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/44770#pullrequestreview-1119407923
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2022-10-02T03:14:39Z: https://ci.nodejs.org/job/node-test-pull-request/46854/
- Querying data for job/node-test-pull-request/46854/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/3167235974

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Oct 2, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 2, 2022
@nodejs-github-bot nodejs-github-bot merged commit 43e2f60 into nodejs:main Oct 2, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 43e2f60

danielleadams pushed a commit that referenced this pull request Oct 11, 2022
@daeyeon daeyeon deleted the main.rbstream-enqueue-220925.Sun.c9a6 branch April 26, 2023 15:35
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 pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. web streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants