Skip to content

[pull] main from denoland:main#591

Merged
pull[bot] merged 4 commits intozys-contrib:mainfrom
denoland:main
Mar 3, 2026
Merged

[pull] main from denoland:main#591
pull[bot] merged 4 commits intozys-contrib:mainfrom
denoland:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

bartlomieju and others added 4 commits March 3, 2026 16:56
## Summary

- Fix silent data truncation when piping >64KB through `process.stdout`
in Node compat mode
- The `_write` handler in `createWritableStdioStream` discarded the
return value of `writer.writeSync()`, assuming all bytes were always
written. When stdout is a pipe and the OS buffer is near capacity
(~64KB), `writeSync` returns a short count and the remaining bytes were
silently lost.
- The fix loops on partial writes until the entire buffer is flushed.

Closes #26784

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Updates:

1. Allows providing initial cwd for resolving the deno_dir (faster)
2. Uses deno_maybe_sync crate.
Actually fixed in #32381
Closes #31059

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Mar 3, 2026
@pull pull bot added the ⤵️ pull label Mar 3, 2026
@pull pull bot merged commit 2334e53 into zys-contrib:main Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants