Uh oh!
There was an error while loading. Please reload this page.
stream: skip null output from stateful transforms - #64462
Conversation
Treat null yielded by sync and async stateful transforms as no output, consistent with transform normalization semantics. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
nodejs-github-bot
commented
Jul 12, 2026
Review requested:
|
nodejs-github-bot
commented
Jul 12, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #64462 +/- ##
==========================================
+ Coverage 90.23% 90.67% +0.43%
==========================================
Files 741 744 +3 Lines 241375 245072 +3697 Branches 45483 50711 +5228 ==========================================
+ Hits 217800 222207 +4407 + Misses 15129 14459 -670 + Partials 8446 8406 -40
🚀 New features to boost your workflow:
|
Renegade334
commented
Jul 16, 2026
I was under the impression that stateful transformers should not be yielding |
A
And the bug is explained in #64461 @Renegade334 Would you like to create an issue on the specification? I don't see a block from you, but I've removed |
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Jul 23, 2026
Landed in 68dc116 |
Treat null yielded by sync and async stateful transforms as no output, consistent with transform normalization semantics. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> PR-URL: #64462Fixes: #64461 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Treat null yielded by sync and async stateful transforms as no output, consistent with transform normalization semantics. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> PR-URL: #64462Fixes: #64461 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Fixes: #64461
Stateful transforms currently pass
nulloutput to the flatteninghelpers, causing
ERR_INVALID_ARG_TYPE. Transform outputnormalization defines
nullas no output.Skip
nullbefore flattening stateful transform output in both thesync and async paths.