[BUG] Opencode desktop hangs after every edit. #6989

Open
opened 2026-02-16 18:05:50 -05:00 by yindo · 6 comments
Owner

Originally created by @sadbath on GitHub (Jan 20, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

On any model, after it has edited some code (whether it be a few hundred lines, to 1-2 lines.) the editor hangs till I manually kill it. This is for the latest updated OpenCdoe Desktop

Plugins

No response

OpenCode version

Latest available on Desktop

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Originally created by @sadbath on GitHub (Jan 20, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description On any model, after it has edited some code (whether it be a few hundred lines, to 1-2 lines.) the editor hangs till I manually kill it. This is for the latest updated OpenCdoe Desktop ### Plugins _No response_ ### OpenCode version Latest available on Desktop ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:05:50 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

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

  • #6959: lsp bug: edit tool stalls after first diff; assistant hangs
  • #9622: windows vscode opencode extension process freeze
  • #8937: OpenCode hangs when working directory has trailing space in name

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

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #6959: lsp bug: edit tool stalls after first diff; assistant hangs - #9622: windows vscode opencode extension process freeze - #8937: OpenCode hangs when working directory has trailing space in name Feel free to ignore if none of these address your specific case.
Author
Owner

@aditi27004 commented on GitHub (Jan 20, 2026):

Last few releases have been mad unstable.

@aditi27004 commented on GitHub (Jan 20, 2026): Last few releases have been mad unstable.
Author
Owner

@itzrnvr commented on GitHub (Jan 20, 2026):

It happens for me randomly. I was using antigravity sonnet 4.5 and then when I switched to gh copilor sonnet, it kept getting stuck.

@itzrnvr commented on GitHub (Jan 20, 2026): It happens for me randomly. I was using antigravity sonnet 4.5 and then when I switched to gh copilor sonnet, it kept getting stuck.
Author
Owner

@RogerYe commented on GitHub (Feb 10, 2026):

me too.
Win10, 1.1.53, 1.1.55, 1.1.56

How can i get the old version?

@RogerYe commented on GitHub (Feb 10, 2026): me too. Win10, 1.1.53, 1.1.55, 1.1.56 How can i get the old version?
Author
Owner

@RogerYe commented on GitHub (Feb 10, 2026):

I found the 1.1.52 works fine.
get that from : https://github.com/anomalyco/opencode/releases/tag/v1.1.52

@RogerYe commented on GitHub (Feb 10, 2026): I found the 1.1.52 works fine. get that from : https://github.com/anomalyco/opencode/releases/tag/v1.1.52
Author
Owner

@RogerYe commented on GitHub (Feb 11, 2026):

以下是用opencode分析此问题后得到的结论:

根据我的分析,最可能导致问题的是这个改动:

"Hide prompt input when there are permissions requests or questions"

问题机制:

  1. 编辑文件后,系统需要权限确认(如写入外部目录)
  2. v1.1.53 引入了新的逻辑:当有权限请求时隐藏提示输入
    3.在 Windows 桌面端,这个逻辑可能存在问题:
    权限请求被触发但 UI 没有正确显示
    或者提示输入被隐藏后没有正确恢复
    导致整个流程阻塞等待用户响应,但用户看不到请求
@RogerYe commented on GitHub (Feb 11, 2026): 以下是用opencode分析此问题后得到的结论: ------------------------------------------------------------- 根据我的分析,最可能导致问题的是这个改动: "Hide prompt input when there are permissions requests or questions" 问题机制: 1. 编辑文件后,系统需要权限确认(如写入外部目录) 2. v1.1.53 引入了新的逻辑:当有权限请求时隐藏提示输入 3.在 Windows 桌面端,这个逻辑可能存在问题: 权限请求被触发但 UI 没有正确显示 或者提示输入被隐藏后没有正确恢复 导致整个流程阻塞等待用户响应,但用户看不到请求
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6989