Description
Description
On 1.4.2, interrupting a long-running shell/session action can leave OpenCode stuck instead of returning cleanly to idle.
Observed behavior:
- Esc twice does not reliably interrupt
- the session can remain busy/stuck
- TUI shutdown can end with:
worker shutdown failed
- downgrading to 1.3.17 fixes it
This appears to be a regression in shell/session cancellation behavior introduced after 1.3.17.
Plugins
Custom plugin present in my normal setup (rexd-target), but the same setup works on 1.3.17 and breaks on 1.4.2.
OpenCode version
1.4.2
Steps to reproduce
- Start a long-running shell/session action in TUI
- Press Esc twice to interrupt
- Observe that interruption is unreliable and the session may remain stuck
- Exit TUI
- Observe possible shutdown timeout / worker shutdown failure
Screenshot and/or share link
No response
Operating System
macOS
Terminal
Safari for web repro; TUI repro in normal terminal usage
Description
Description
On 1.4.2, interrupting a long-running shell/session action can leave OpenCode stuck instead of returning cleanly to idle.
Observed behavior:
worker shutdown failedThis appears to be a regression in shell/session cancellation behavior introduced after 1.3.17.
Plugins
Custom plugin present in my normal setup (
rexd-target), but the same setup works on 1.3.17 and breaks on 1.4.2.OpenCode version
1.4.2
Steps to reproduce
Screenshot and/or share link
No response
Operating System
macOS
Terminal
Safari for web repro; TUI repro in normal terminal usage