Conversation
|
PR author is not in the allowed authors list. |
|
@0xferrous is attempting to deploy a commit to the Modem Team on Vercel. A member of the Team first needs to authorize it. |
|
Good find, thank you! |
|
failure seems unrelated |
When Hunk wrote a large plain-text document through process.stdout, Bun could report success before all of the data had reached the pipe. Hunk then called process.exit(0), discarding the unwritten remainder. Large output was silently truncated for commands such as Git, LazyGit, and `hunk pager | less`. Write directly to stdout's file descriptor and keep writing until all bytes are delivered. Treat EPIPE as a normal early exit when a downstream command stops reading, such as `hunk pager | head`.
2cf40a1 to
440297f
Compare
|
Reviewed and rebased onto current Validation: This comment was generated by Pi using gpt-6.1-sol |
When Hunk wrote a large plain-text document through process.stdout, Bun could report success before all of the data had reached the pipe. Hunk then called process.exit(0), discarding the unwritten remainder. Large output was silently truncated for commands such as Git, LazyGit, and
hunk pager | less.Write directly to stdout's file descriptor and keep writing until all bytes are delivered. Treat EPIPE as a normal early exit when a downstream command stops reading, such as
hunk pager | head.