Uh oh!
There was an error while loading. Please reload this page.
lib: fix to add resolve() before return at Blob.stream()'s source.pull() - #48935
lib: fix to add resolve() before return at Blob.stream()'s source.pull()#48935bellbind wants to merge 2 commits into
Conversation
debadree25
commented
Jul 27, 2023
I do not think this solves it ref: #48668 (comment) |
bellbind
commented
Jul 27, 2023
Reopened to fix the first commit message error and add test case of URL.createObjectURL(blob) in #48668 |
@debadree25 , In my macos env(M1 MacBook), $ make test
....
[05:18|% 100|+ 3901|- 0]: Done
All tests passed.
$and especially: $ ./out/Release/node --expose-internals test/parallel/test-blob.js --expose-internals
$Which test file failed do you think? |
debadree25
commented
Jul 27, 2023
Weird in my device i had seen atleast 2 failed tests lets wait for github actions run to complete, also would please apply the updates to this PR only, one PR is easier to maintain instead of multiple ones😅 |
bellbind
commented
Jul 27, 2023
Sorry, I don't know how to fix the error check of |
debadree25
commented
Jul 27, 2023
thats fine we can fix it with rebasing do the following this will open up vim and you can see something like this now go to insert mode in vim by typing i go to the first line and type r instead of pick then escape and :wq from vim you will next be greeted with this here rewrite the commit message and proceed to exit vim and then do git push -f this should rebase and fix the commit although we can do this later too, or i can do it for you too we can first get he issue fixed and all and then fix this 😄 |
5a661b9 to
a3af3cbComparebellbind
commented
Jul 27, 2023
I done |
debadree25
commented
Jul 27, 2023
great! i think one small typo it will be 'lib' instead of 'ib' |
a3af3cb to
cdf9d1aComparebellbind
commented
Jul 27, 2023
ok |
cdf9d1a to
121f759CompareRemoved |
121f759 to
8c60c33Comparedebadree25
commented
Jul 30, 2023
So sorry for the delays left some comments overall i think this would indeed resolve the i was probably doing it wrong locally |
debadree25
commented
Jul 30, 2023
Also cc @nodejs/whatwg-stream |
nodejs-github-bot
commented
Jul 30, 2023
86df27f to
dba9615Comparenodejs-github-bot
commented
Aug 12, 2023
nodejs-github-bot
commented
Aug 12, 2023
Commit Queue failed- Loading data for nodejs/node/pull/48935 ✔ Done loading data for nodejs/node/pull/48935 ----------------------------------- PR info ------------------------------------ Title lib: fix to add resolve() before return at Blob.stream()'s source.pull() (#48935) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch bellbind:pullreq-fix-lib-internal-blob -> nodejs:main Labels author ready, needs-ci, web streams, commit-queue-squash Commits 2 - lib: fix to add resolve() before return at Blob.stream()'s source.pull() - fixup! test only if crypto is present and an additional test from bug… Committers 1 - Debadree Chatterjee PR-URL: https://github.com/nodejs/node/pull/48935 Fixes: https://github.com/nodejs/node/issues/48668 Fixes: https://github.com/nodejs/node/issues/48916 Fixes: https://github.com/nodejs/node/pull/48232 Refs: https://github.com/nodejs/node/commit/8cc14387a2e77d7a2b411e7edaed690d43ea3809 Reviewed-By: Debadree Chatterjee Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum Reviewed-By: Matthew Aitken ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/48935 Fixes: https://github.com/nodejs/node/issues/48668 Fixes: https://github.com/nodejs/node/issues/48916 Fixes: https://github.com/nodejs/node/pull/48232 Refs: https://github.com/nodejs/node/commit/8cc14387a2e77d7a2b411e7edaed690d43ea3809 Reviewed-By: Debadree Chatterjee Reviewed-By: Matteo Collina Reviewed-By: Benjamin Gruenbaum Reviewed-By: Matthew Aitken -------------------------------------------------------------------------------- ℹ This PR was created on Thu, 27 Jul 2023 02:21:50 GMT ✔ Approvals: 4 ✔ - Debadree Chatterjee (@debadree25): https://github.com/nodejs/node/pull/48935#pullrequestreview-1553662906 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/48935#pullrequestreview-1553664563 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/48935#pullrequestreview-1575213696 ✔ - Matthew Aitken (@KhafraDev): https://github.com/nodejs/node/pull/48935#pullrequestreview-1566518697 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-08-12T10:58:16Z: https://ci.nodejs.org/job/node-test-pull-request/53232/ - Querying data for job/node-test-pull-request/53232/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 48935 From https://github.com/nodejs/node * branch refs/pull/48935/merge -> FETCH_HEAD ✔ Fetched commits as 87af913b66ea..dba96155a1f1 -------------------------------------------------------------------------------- [main 5e571055a9] lib: fix to add resolve() before return at Blob.stream()'s source.pull() Author: bellbind Date: Wed Jul 26 22:24:02 2023 +0900 2 files changed, 28 insertions(+) [main 55f5598f08] fixup! test only if crypto is present and an additional test from bug report Author: Debadree Chatterjee Date: Fri Aug 11 23:34:30 2023 +0530 1 file changed, 42 insertions(+), 7 deletions(-) ✔ Patches applied There are 2 commits in the PR. Attempting to fixup everything into first commit. [main 5c6095c50a] lib: fix to add resolve() before return at Blob.stream()'s source.pull() Author: bellbind Date: Wed Jul 26 22:24:02 2023 +0900 2 files changed, 63 insertions(+) ⚠ Found Fixes: https://github.com/nodejs/node/issues/48668, skipping.. ⚠ Found Fixes: https://github.com/nodejs/node/issues/48916, skipping.. ⚠ Found Refs: https://github.com/nodejs/node/commit/8cc14387a2e77d7a2b411e7edaed690d43ea3809, skipping.. --------------------------------- New Message ---------------------------------- lib: fix to add resolve() before return at Blob.stream()'s source.pull()https://github.com/nodejs/node/actions/runs/5842162142 |
debadree25
commented
Aug 12, 2023
Landing it manually |
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: #48668Fixes: #48916Fixes: #48232 Refs: 8cc1438 PR-URL: #48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
debadree25
commented
Aug 12, 2023
Landed in 3224527 |
debadree25
commented
Aug 12, 2023
Thank you for your contribution @bellbind 🥳 |
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: nodejs#48668Fixes: nodejs#48916Fixes: nodejs#48232 Refs: nodejs@8cc1438 PR-URL: nodejs#48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: nodejs#48668Fixes: nodejs#48916Fixes: nodejs#48232 Refs: nodejs@8cc1438 PR-URL: nodejs#48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: #48668Fixes: #48916Fixes: #48232 Refs: 8cc1438 PR-URL: #48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: nodejs#48668Fixes: nodejs#48916Fixes: nodejs#48232 Refs: nodejs@8cc1438 PR-URL: nodejs#48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: #48668Fixes: #48916Fixes: #48232 Refs: 8cc1438 PR-URL: #48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Add lacked calling resolve() for finish ReadableStream source.pull(). Fixes: #48668Fixes: #48916Fixes: #48232 Refs: 8cc1438 PR-URL: #48935 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
This PR reverts the workaround for the [bug](nodejs/node#48916) in nodejs 20.5 (and below) which was [resolved](nodejs/node#48935) in nodejs 20.6. --------- Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
This PR reverts the workaround for the [bug](nodejs/node#48916) in nodejs 20.5 (and below) which was [resolved](nodejs/node#48935) in nodejs 20.6. --------- Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
Add lacked calling resolve() for finish ReadableStream source.pull().
Fixes: #48668
Fixes: #48916
Fixes: #48232
Refs: 8cc1438