anomalyco / anomalyco/opencode
UI freeze: Accumulation of pending requests blocks the interface (potential I/O bottleneck)
@Hona is already working on this.
Since Jul 23, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When using OpenCode Desktop, the user interface freezes completely and becomes unresponsive. Checking the Developer Tools (Network tab), a flood of fetch requests to paths like agent?directory=... and diff?mode=git... are observed, which remain permanently in a "pending" state.
Furthermore, preflight (CORS) requests return a fast 204 status, but the endpoint health request hangs and is marked as "canceled" after more than 30 seconds. This suggests that the web server/proxy is responding, but the backend worker or internal process is experiencing a severe block (possibly a deadlock or saturation due to disk operations/orphaned Git processes), which exhausts the browser's connection limit and paralyzes the client.
Plugins
No response
OpenCode version
1.18.4
Steps to reproduce
Open OpenCode Desktop and initialize a workspace pointing to a local directory (e.g., C:\Users...\Documents...).
Perform actions that trigger concurrent Git analysis or directory reading.
Open Developer Tools and go to the Network tab.
Observe how requests to agent?directory= and diff?mode=git accumulate in the pending state.
Attempt to interact with the interface while the health request fails due to a timeout (approximately 30 seconds). The UI will freeze completely.
Screenshot and/or share link
Operating System
windows 11
Terminal
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.