Edit operation stuck after version 0.4.16 #2774

Closed
opened 2026-02-16 17:37:11 -05:00 by yindo · 2 comments
Owner

Originally created by @zhonguoq on GitHub (Nov 11, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

After my testing, I found two issues with opencode since version 0.4.16:

After this version, opencode often gets stuck when performing edit operations. There is no failure message — it just keeps showing as “processing” indefinitely.

Pressing Esc to interrupt has no effect — it still shows as “working.” However, if I send a new message, that new message will be processed normally.

OpenCode version

1.0.55

Steps to reproduce

Environment

Version: 0.4.16 and above

Platform: Windows 10, WSL2, Arch

Expected Behavior

Edit should complete or fail with a visible error message, and Esc should properly interrupt the process.

Actual Behavior

Edit stays in a “processing” state indefinitely and cannot be interrupted.

Notes

Thanks for maintaining this great project! Hope this can be reproduced and fixed.,

Screenshot and/or share link

Image

Operating System

Windows10

Terminal

WezTerm

Originally created by @zhonguoq on GitHub (Nov 11, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description After my testing, I found two issues with opencode since version 0.4.16: After this version, opencode often gets stuck when performing edit operations. There is no failure message — it just keeps showing as “processing” indefinitely. Pressing Esc to interrupt has no effect — it still shows as “working.” However, if I send a new message, that new message will be processed normally. ### OpenCode version 1.0.55 ### Steps to reproduce Environment Version: 0.4.16 and above Platform: Windows 10, WSL2, Arch Expected Behavior Edit should complete or fail with a visible error message, and Esc should properly interrupt the process. Actual Behavior Edit stays in a “processing” state indefinitely and cannot be interrupted. Notes Thanks for maintaining this great project! Hope this can be reproduced and fixed., ### Screenshot and/or share link <img width="1602" height="322" alt="Image" src="https://github.com/user-attachments/assets/163a7d03-f97d-4553-8008-88f2f2cb2870" /> ### Operating System Windows10 ### Terminal WezTerm
yindo added the opentuibug labels 2026-02-16 17:37:11 -05:00
yindo closed this issue 2026-02-16 17:37:11 -05:00
Author
Owner

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

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

  • #3699: Both report ESC interruption not working in v1.0+ versions - same core problem with interrupt functionality
  • #1734: Similar issue where ESC not working on agent hangs with 'working...' state - identical symptoms
  • #2438: Reports being stuck on 'Working...' forever with ESC/double ESC having no effect - same behavior
  • #1418: Describes getting stuck on 'working' with double ESC not exiting - very similar symptoms
  • #682: TUI becomes unresponsive with ESC key having no effect - same interrupt failure
  • #2512: Stuck in 'generating' state and unresponsive to double-esc - similar hanging behavior

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

@github-actions[bot] commented on GitHub (Nov 11, 2025): This issue might be a duplicate of existing issues. Please check: - #3699: Both report ESC interruption not working in v1.0+ versions - same core problem with interrupt functionality - #1734: Similar issue where ESC not working on agent hangs with 'working...' state - identical symptoms - #2438: Reports being stuck on 'Working...' forever with ESC/double ESC having no effect - same behavior - #1418: Describes getting stuck on 'working' with double ESC not exiting - very similar symptoms - #682: TUI becomes unresponsive with ESC key having no effect - same interrupt failure - #2512: Stuck in 'generating' state and unresponsive to double-esc - similar hanging behavior Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 11, 2025):

@zhonguoq I know whats causing ur issue and we are about to fix. For now put this in ~/.config/opencode/opencode.json:

{
  "lsp": {
    "clangd": {
      "disabled": true
    }
  }
}
@rekram1-node commented on GitHub (Nov 11, 2025): @zhonguoq I know whats causing ur issue and we are about to fix. For now put this in ~/.config/opencode/opencode.json: ``` { "lsp": { "clangd": { "disabled": true } } } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2774