You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI text output waits for the entire response instead of forwarding received bytes #47299
Text responses are buffered entirely before output, preventing a pipe from receiving early bytes and continuing to read the entire response after its consumer is gone.
Expected behavior and proposed fix
Write raw byte chunks through the IO service with awaited backpressure; async iteration cancels the response on output failure.
Verification
Base 2 failed; complete pnpm test 678 passed, 42 skipped. Actual Response/ReadableStream tests verify output before EOF, lossless split/invalid UTF-8 bytes, and cancellation on write failure. Complete CLI type checking with tsrs --noEmit and formatting with the repository's Oxfmt options passed. The full CLI suite ran under the repository's Vite+ / Vitest tooling (Node 24.22.3; local Bun 1.4.5). Whole-repository backend/web checks and type-aware lint were not run.
Related work
#44271 is PHP SDK workflow/TTS streaming argument forwarding, not CLI text rendering.
Activity