Uh oh!
There was an error while loading. Please reload this page.
stream: eos premature close - #28720
Conversation
ronag
commented
Jul 16, 2019
I'm unsure how to make tests that actually trigger this... but the semantics I think are more correct like this |
554b8e0 to
291d05cCompareThis actually fixes a bug ( |
ronag
commented
Jul 17, 2019
@benjamingr who's a good ping on this one? |
benjamingr
commented
Jul 18, 2019
I don't mind reviewing it - can you explain the tradeoffs in the new behavior vs. the existing one? |
@benjamincburns |
benjamingr
commented
Jul 18, 2019
@nodejs/streams |
Uh oh!
There was an error while loading. Please reload this page.
mcollina
commented
Jul 18, 2019
Marking it as semver-major as it changes behavior. |
mcollina
commented
Jul 18, 2019
What is the bug this is fixing? What’s the goal of this change? |
Uh oh!
There was an error while loading. Please reload this page.
|
afd02b1 to
1ee52d4Comparebenjamingr
commented
Jul 18, 2019
@ronag just to elaborate on Matteo's comment regarding semverness - changes to the order of the events streams (or in general node APIs) fire are pretty substantial changes with possible big implications on the ecosystem so generally they're all semver-major (means they'll be released in the next major release - in this case 13) |
ronag
commented
Jul 18, 2019
@benjamingr no problem, makes perfect sense |
1ee52d4 to
77ff0d3Compareronag
commented
Aug 28, 2019
updated test |
ronag
commented
Sep 1, 2019
merged into #28748 |
For writable premature close is
closebeforefinish, i.e. it should look forfinishedinstead ofended.Would be better with afinishEmittedbut we don't have that.For readable we should be checking
endEmitted(which we do first but not later).Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes