| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 90.90909% with 4 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #63297 +/- ##
=======================================
Coverage 90.05% 90.06%
=======================================
Files 714 714
Lines 225490 225532 +42
Branches 42633 42650 +17
=======================================
+ Hits 203072 203125 +53
+ Misses 14193 14188 -5
+ Partials 8225 8219 -6
... and 26 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
PushWriter in block backpressure mode can return false from writeSync() and writevSync() after accepting data. Treat that false return as backpressure and wait for drain instead of retrying the same chunks asynchronously. Fixes: nodejs#63296 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
Sorry, something went wrong.
|
I'd assumed that CI will wait for a re-review from @Ethan-Arrowood again before attempting to merge. |
Sorry, something went wrong.
PushWriter in block backpressure mode can return false from writeSync() and writevSync() after accepting data. Treat that false return as backpressure and wait for drain instead of retrying the same chunks asynchronously. Fixes: #63296 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63297 Fixes: #63296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
PushWriter in block backpressure mode can return false from writeSync() and writevSync() after accepting data. Treat that false return as backpressure and wait for drain instead of retrying the same chunks asynchronously. Fixes: #63296 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63297 Fixes: #63296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
PushWriter in block backpressure mode can return false from writeSync() and writevSync() after accepting data. Treat that false return as backpressure and wait for drain instead of retrying the same chunks asynchronously. Fixes: nodejs#63296 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: nodejs#63297 Fixes: nodejs#63296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
PushWriter in block backpressure mode can return false from writeSync() and writevSync() after accepting data. Treat that false return as backpressure and wait for drain instead of retrying the same chunks asynchronously. Fixes: #63296 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63297 Backport-PR-URL: #64675 Fixes: #63296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
| Back | FazBrowse Home | New Git URL |
pipeTo() treated writeSync() / writevSync() returning false as a
failed sync write and retried the same chunk(s) through the async path.
That is incorrect for PushWriter with backpressure: 'block', where
false means the data was accepted but the writer is now backpressured. This
caused duplicated output such as abcdcd instead of abcd, and abbb
instead of ab.
This updates pipeTo() to detect that internal writer case and wait for drain
instead of retrying accepted data. It also adds regression coverage for both
the single-chunk writeSync() path and the multi-chunk writevSync() path.
Fixes: #63296
Assisted-by: openai:gpt-5.5