| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 87.14286% with 9 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #63360 +/- ##
=======================================
Coverage 90.05% 90.05%
=======================================
Files 714 714
Lines 225704 225768 +64
Branches 42714 42727 +13
=======================================
+ Hits 203250 203321 +71
- Misses 14225 14242 +17
+ Partials 8229 8205 -24
... and 42 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
PushWriter can return false after accepting a chunk when block backpressure is active. Teach the classic Writable adapter to treat that case as accepted backpressure instead of retrying through the async write path. Fixes: nodejs#63359 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/63360 ✔ Done loading data for nodejs/node/pull/63360 ----------------------------------- PR info ------------------------------------ Title stream: avoid duplicate writes in toWritable (#63360) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch trivikr:stream-iter-towritable-write -> nodejs:main Labels stream, author ready, needs-ci Commits 2 - stream: avoid duplicate writes in toWritable - doc: describe kSyncWriteAcceptedOnFalse stream sentinel Committers 1 - Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/63360 Fixes: https://github.com/nodejs/node/issues/63359 Reviewed-By: James M Snell <jasnell@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/63360 Fixes: https://github.com/nodejs/node/issues/63359 Reviewed-By: James M Snell <jasnell@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Sat, 16 May 2026 02:41:57 GMT ✔ Approvals: 1 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/63360#pullrequestreview-4342429217 ✘ This PR needs to wait 13 more hours to land (or 0 minutes if there is one more approval) ✔ Last GitHub CI successful ℹ Last Full PR CI on 2026-05-22T04:50:23Z: https://ci.nodejs.org/job/node-test-pull-request/73613/ - Querying data for job/node-test-pull-request/73613/ ✔ Build data downloaded ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/26292186844 |
Sorry, something went wrong.
PushWriter can return false after accepting a chunk when block backpressure is active. Teach the classic Writable adapter to treat that case as accepted backpressure instead of retrying through the async write path. Fixes: #63359 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63360 Fixes: #63359 Reviewed-By: James M Snell <jasnell@gmail.com>
PushWriter can return false after accepting a chunk when block backpressure is active. Teach the classic Writable adapter to treat that case as accepted backpressure instead of retrying through the async write path. Fixes: nodejs#63359 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: nodejs#63360 Fixes: nodejs#63359 Reviewed-By: James M Snell <jasnell@gmail.com>
PushWriter can return false after accepting a chunk when block backpressure is active. Teach the classic Writable adapter to treat that case as accepted backpressure instead of retrying through the async write path. Fixes: #63359 Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63360 Backport-PR-URL: #64675 Fixes: #63359 Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
toWritable() currently treats writeSync() / writevSync() returning
false as meaning the data was not accepted and retries through the async
writer method.
For PushWriter with backpressure: 'block', false can instead mean the
chunk was accepted and backpressure is active. Retrying through
write() / writev() writes the same data twice.
This updates the adapter to recognize that accepted-backpressure case and wait
for drain instead of retrying the chunk.
Fixes: #63359
Assisted-by: openai:gpt-5.5