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
Intermittent hang: session stays running forever until manual interrupt #14769
I occasionally hit a hang where OpenCode stays in running / thinking forever.
When it happens, no new tool output or assistant text appears, but the session does not return to idle. If I press Esc twice to interrupt, it usually recovers, and retrying the same prompt often works.
This is low-frequency (intermittent), so I don't have a deterministic repro yet, but it keeps happening in normal usage.
It might be related to stream/network interruptions, but I can't confirm.
No issue template was used. Please use one of the three required templates: Bug Report, Feature Request, or Question.
The issue reads as AI-generated (extensive structured analysis, code file references with line numbers, multi-section breakdown). We do not accept AI-generated walls of text — please describe your actual experience in your own words.
Bug reports should include your system/environment info and concrete steps or context for reproduction.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing open issues. Please check:
changed the title [-]Intermittent session hangs indefinitely (shows running forever) when stream stalls[/-][+]Intermittent hang: session stays running forever until manual interrupt[/+]on Feb 23, 2026
I updated this issue to the Bug Report template format and added my real usage context (environment + repro steps).\n\nIf you want stricter repro data, I can attach DEBUG logs from the next occurrence.
Thanks for updating the issue! It now follows the contributing guidelines with a proper Bug Report template, real description, steps to reproduce, and system information. The needs:compliance label has been removed.
Activity
github-actions commentedon Feb 23, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing open issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]Intermittent session hangs indefinitely (shows running forever) when stream stalls[/-][+]Intermittent hang: session stays running forever until manual interrupt[/+]nyl199310 commentedon Feb 23, 2026
I updated this issue to the Bug Report template format and added my real usage context (environment + repro steps).\n\nIf you want stricter repro data, I can attach DEBUG logs from the next occurrence.
github-actions commentedon Feb 23, 2026
Thanks for updating the issue! It now follows the contributing guidelines with a proper Bug Report template, real description, steps to reproduce, and system information. The needs:compliance label has been removed.
github-actions commentedon Apr 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.