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
From the description, potentially this is not a throughput issue but its just that the code is buffering before it sends to main process stdout. We don't see this when we have an interactive session via console command but perhaps
This looks fixed by changes made after the issue was filed:
84a8c04 (Sep 2025, released in 1.3.1) wraps the child command in stdbuf -oL -eL in expose.py. That forces line buffering in the child, which is the "buffered before it reaches the main process stdout" symptom described here, and explains why an interactive console session (a TTY, so already line buffered) didn't show it.
4f03bce (Jan 2026, 1.4.0) makes sure stdout is flushed correctly on exit.
cef7167 (Jun 2026, 1.4.1) fixes stdout going non-blocking after connect_read_pipe(). That could crash do_stdout and stall output on large bursts, and a PTY regression test was added.
Caveat: stdbuf only affects programs that use libc stdio defaults. It does nothing for a child that sets its own buffering, or for a statically linked one. Can someone who saw the original problem (Slack thread above) confirm it's gone with stdio-socket >= 1.4.1? If so, this can be closed.
Activity
gilesknap commentedon Sep 23, 2026
This looks fixed by changes made after the issue was filed:
stdbuf -oL -eLinexpose.py. That forces line buffering in the child, which is the "buffered before it reaches the main process stdout" symptom described here, and explains why an interactiveconsolesession (a TTY, so already line buffered) didn't show it.connect_read_pipe(). That could crashdo_stdoutand stall output on large bursts, and a PTY regression test was added.Caveat:
stdbufonly affects programs that use libc stdio defaults. It does nothing for a child that sets its own buffering, or for a statically linked one. Can someone who saw the original problem (Slack thread above) confirm it's gone with stdio-socket >= 1.4.1? If so, this can be closed.Triage comment drafted by Claude Code.
gilesknap commentedon Sep 25, 2026
Fixed in 1.3.1 / 1.4.0; ioc-template requires stdio-socket>=1.4.0.