Skip to content

Stream opencode child stdout live instead of buffering to job exit#4

Merged
imaustink merged 1 commit into
mainfrom
worktree-swe-agent-log-output
Jul 17, 2026
Merged

Stream opencode child stdout live instead of buffering to job exit#4
imaustink merged 1 commit into
mainfrom
worktree-swe-agent-log-output

Conversation

@imaustink

Copy link
Copy Markdown
Owner

kubectl logs on the swe-agent pod showed nothing until the job finished because opencode's stdout was only ever written once, in a giant blob when the child process closed. Write it to our own stdout as each chunk arrives instead.

kubectl logs on the swe-agent pod showed nothing until the job
finished because opencode's stdout was only ever written once, in a
giant blob when the child process closed. Write it to our own stdout
as each chunk arrives instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@imaustink
imaustink merged commit f9e8e7a into main Jul 17, 2026
@imaustink
imaustink deleted the worktree-swe-agent-log-output branch July 17, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant