TUI hangs when shell outputs massive log #2802

Open
opened 2026-02-16 17:37:18 -05:00 by yindo · 1 comment
Owner

Originally created by @conradkoh on GitHub (Nov 12, 2025).

Originally assigned to: @kommander on GitHub.

Description

When I ran a test in project that was outputting many lines (~35k lines), the whole TUI just hangs. It will eventually work.

Additionally, I found that if I have an extension like Kilo Code installed, the error escalates and causes VSCode to lose track of the terminal process that requires a hard restart of all VSCode instances.

OpenCode version

1.0.61

Steps to reproduce

Ask opencode to execute a command that writes a lot of data to stdout

Screenshot and/or share link

No response

Operating System

MacOS Sequoia 15.7

Terminal

iTerm2 / VSCode

Originally created by @conradkoh on GitHub (Nov 12, 2025). Originally assigned to: @kommander on GitHub. ### Description When I ran a test in project that was outputting many lines (~35k lines), the whole TUI just hangs. It will eventually work. Additionally, I found that if I have an extension like Kilo Code installed, the error escalates and causes VSCode to lose track of the terminal process that requires a hard restart of all VSCode instances. ### OpenCode version 1.0.61 ### Steps to reproduce Ask opencode to execute a command that writes a lot of data to stdout ### Screenshot and/or share link _No response_ ### Operating System MacOS Sequoia 15.7 ### Terminal iTerm2 / VSCode
yindo added the opentuibug labels 2026-02-16 17:37:18 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #731: Critical Stability Issues: App Freezing & Hanging Analysis - This comprehensive analysis specifically mentions "File System Bottlenecks" where "Large files (multi-GB .tar.gz) cause indefinite hangs" and "Synchronous file operations without size limits" causing "Complete app freeze". Your 35k line output issue falls into similar category of large output handling problems.
  • #811: Text rendering is VERY slow (and CPU usage is really high even when idle) - Reports similar symptoms where "text rendering is incredibly slow" and "operations are happening quickly but don't see the messages in opencode until minutes after", which matches your description of TUI hanging but eventually working.
  • #3213: Bug: opencode run and TUI exits hang on v0.15+ - Reports TUI hanging issues where "the process keeps running until interrupted with Ctrl+C"

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #731: Critical Stability Issues: App Freezing & Hanging Analysis - This comprehensive analysis specifically mentions "File System Bottlenecks" where "Large files (multi-GB .tar.gz) cause indefinite hangs" and "Synchronous file operations without size limits" causing "Complete app freeze". Your 35k line output issue falls into similar category of large output handling problems. - #811: Text rendering is VERY slow (and CPU usage is really high even when idle) - Reports similar symptoms where "text rendering is incredibly slow" and "operations are happening quickly but don't see the messages in opencode until minutes after", which matches your description of TUI hanging but eventually working. - #3213: Bug: opencode run and TUI exits hang on v0.15+ - Reports TUI hanging issues where "the process keeps running until interrupted with Ctrl+C" Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2802