Uh oh!
There was an error while loading. Please reload this page.
stream: don't destroy on async iterator success - #35122
Conversation
ronag
commented
Sep 9, 2020
@richardlau can you give this a try? |
mcollina
commented
Sep 9, 2020
As you probably now, this needs a test. |
ronag
commented
Sep 9, 2020
Yes, building... needs another 20 min or so 😄 |
richardlau
commented
Sep 9, 2020
|
ronag
commented
Sep 9, 2020
@nodejs/streams |
ronag
commented
Sep 9, 2020
@richardlau Sorry can you start another one. Turns out the first version of this broke a test. |
nodejs-github-bot
commented
Sep 9, 2020
Uh oh!
There was an error while loading. Please reload this page.
richardlau
commented
Sep 9, 2020
The job is still queued and hasn't started yet. I specified |
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Sep 9, 2020
richardlau
commented
Sep 9, 2020
in addition to the time outs there now appear to be two unhandled rejections that weren't seen in an equivalent run against |
richardlau
commented
Sep 9, 2020
ronag
commented
Sep 9, 2020
I will dig some more tonight. |
richardlau
commented
Sep 9, 2020
Also if you want to run CITGM locally this is what I do:
|
ronag
commented
Sep 12, 2020
@nodejs/streams this needs another review |
ronag
commented
Sep 17, 2020
@nodejs/streams |
ronag
commented
Sep 21, 2020
@nodejs/tsc Tomorrow is the cutoff for 15 and I believe it is important that this lands in 15. |
Destroying on async iterator completion ignores autoDestroy.
ronag
commented
Sep 21, 2020
rebased to fix conflicts |
nodejs-github-bot
commented
Sep 21, 2020
Landed in 2b9003b |
Destroying on async iterator completion ignores autoDestroy. PR-URL: #35122 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
commented
Sep 24, 2020
@ronag this doesn't land cleanly on v14.x, should we backport? |
ronag
commented
Sep 24, 2020
@MylesBorins there is already a different WIP PR for that. |
includes: * stream: simpler and faster Readable async iterator * stream: don't destroy on async iterator success * stream: async iterator stop read if destroyed PR-URL: #34887 Refs: #34035 Refs: #35122 Refs: #35640 Refs: #34680 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Destroying on async iterator completion ignores autoDestroy. PR-URL: nodejs#35122 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>

Destroying on async iterator completion ignores autoDestroy.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes