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
This issue might be a duplicate of existing issues. Please check:
Background agents cannot be force-interrupted/stopped via ESC #22638: Background agents cannot be force-interrupted/stopped via ESC — similar issue where canceling/stopping sub-agents does not actually terminate them, resulting in continued activity (in that case, ESC doesn't stop the agent; here, the inference API continues being called after cancel)
If your issue is specifically about API usage/billing continuing after you cancel a sub-agent (rather than purely the UI not responding to stop), it may be worth noting that distinction to help prioritize the fix.
OpenCode Server needs to offer a systematic way to kill all agents and subagents on interrupt, otherwise zombie sessions can continue being open in the background or at least the sessions status may not be reflecting the true session state because of zombie sessions that cannot be killed.
Having a way to force kill a session completely would allow the user to manually reset a session state in case of any error happening, this is extremely important just as task managers are crucial for any OS.
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is specifically about API usage/billing continuing after you cancel a sub-agent (rather than purely the UI not responding to stop), it may be worth noting that distinction to help prioritize the fix.
tadghh commentedon Apr 21, 2026
YES
lrq3000 commentedon Apr 26, 2026
OpenCode Server needs to offer a systematic way to kill all agents and subagents on interrupt, otherwise zombie sessions can continue being open in the background or at least the sessions status may not be reflecting the true session state because of zombie sessions that cannot be killed.
Having a way to force kill a session completely would allow the user to manually reset a session state in case of any error happening, this is extremely important just as task managers are crucial for any OS.
github-actions commentedon Jul 3, 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.