Skip to content

Recurring issue with opencode hanging but immediately restarting after ESC/ESC interruption #14676

@doberkofler

Description

@doberkofler

Description

I have a recurring problem that might be opencode related:
After issuing a prompt in opencode TUI the Thinking starts but at a certain point it stops indeterminately.
I then interrupt using ESC/ESC and enter continue and it immediately continues working.

Example:
...
Thinking: Analyzing Boundaries Script
I've begun analyzing scripts/eslint/boundaries.ts and can see the areas that need improvement. I'm focusing on clarifying its purpose and identifying potential optimizations. Next, I will delve into the documentation, aiming to make it more accessible and comprehensive. Furthermore, I will dissect the import {isValid} from 'date-fns'; line found in src.
→ Read scripts/eslint/boundaries.ts
→ Read src/framework/UiTable/UiTableSelectedRow.ts
▣ Plan · gemini-3-pro-preview · interrupted
continue
Thinking: Analyzing Boundaries
I'm currently focused on scripts/eslint/boundaries.ts. I'm analyzing the script to identify potential improvements and how the logic flows. My next step will be to suggest some practical ways to improve it and clarify how it works. I intend to enhance its documentation for greater clarity. I also need to understand import {isValid} from 'date-fns'; as it relates to other scripts.
...

This clearly could also be some delay on the gemini-3-pro-preview engine but given the fact that after waiting for quite some time, it immediately continues after being interrupted rather suggests some problem in opencode itself.

Plugins

opencode-gemini-auth@latest

OpenCode version

1.2.10

Steps to reproduce

  1. Enter prompt
  2. Wait until it hangs
  3. Interrupt using ESC/ESC
  4. Enter "continue"

Screenshot and/or share link

No response

Operating System

macOS 15.7.4

Terminal

Warp

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions