Zen Upgrade: All models getting stuck/unable to complete sessions #7237

Open
opened 2026-02-16 18:06:32 -05:00 by yindo · 3 comments
Owner

Originally created by @johnellison on GitHub (Jan 22, 2026).

Originally assigned to: @fwang on GitHub.

Issue Description

After upgrading to OpenCode Zen, every single model is getting stuck and unable to complete sessions. Models become unresponsive and hang indefinitely without completing coding tasks.

Expected Behavior

Models should respond and complete sessions normally as they did before the Zen upgrade.

Actual Behavior

All Zen models freeze/hang and cannot complete tasks. Sessions hang indefinitely with no resolution.

Steps to Reproduce

  1. Upgrade to OpenCode Zen (version 1.1.31)
  2. Attempt to use any Zen model (GPT-5.2, Claude Sonnet, GLM, etc.)
  3. Models become unresponsive and cannot complete sessions

System Information

  • OS: macOS 15.6.1 (Darwin 24.6.0, arm64)
  • OpenCode Version: 1.1.31
  • Node Version: v25.2.1
  • Shell: /bin/zsh
  • Architecture: arm64 (Apple Silicon)
  • Install Location: /Users/iamjohndass/.bun/bin/opencode
  • Config Location: ~/.opencode/
  • Provider: OpenCode Zen

Additional Context

  • Issue affects ALL Zen models, not specific to one model
  • OpenCode installed via bun: /Users/iamjohndass/.bun/bin/opencode
  • Using OpenCode Zen provider with API key
  • Previously working fine before Zen upgrade

Related Issues

This appears related to several existing issues about Zen hanging/freezing:

  • #2839 - Rate limit errors causing stuck in "Generating..."
  • #3335 - Login with zen provider freezes entirely
  • #1618 - Hangs indefinitely when sending to Anthropic API
  • #2940 - Random hanging after receiving instructions
  • #731 - Critical Stability Issues: App Freezing & Hanging

Debugging Attempts

I'm happy to provide additional debug logs if needed. I can run with --print-logs --log-level DEBUG to capture more details.

Questions

  1. Are there known rate limits on Zen that might be causing this?
  2. Is this a recent regression in a specific version?
  3. Are there specific debugging steps or workarounds I should try?
  4. Should I try clearing the cache (~/.opencode/cache)?
Originally created by @johnellison on GitHub (Jan 22, 2026). Originally assigned to: @fwang on GitHub. ## Issue Description After upgrading to OpenCode Zen, every single model is getting stuck and unable to complete sessions. Models become unresponsive and hang indefinitely without completing coding tasks. ## Expected Behavior Models should respond and complete sessions normally as they did before the Zen upgrade. ## Actual Behavior All Zen models freeze/hang and cannot complete tasks. Sessions hang indefinitely with no resolution. ## Steps to Reproduce 1. Upgrade to OpenCode Zen (version 1.1.31) 2. Attempt to use any Zen model (GPT-5.2, Claude Sonnet, GLM, etc.) 3. Models become unresponsive and cannot complete sessions ## System Information - **OS:** macOS 15.6.1 (Darwin 24.6.0, arm64) - **OpenCode Version:** 1.1.31 - **Node Version:** v25.2.1 - **Shell:** /bin/zsh - **Architecture:** arm64 (Apple Silicon) - **Install Location:** `/Users/iamjohndass/.bun/bin/opencode` - **Config Location:** `~/.opencode/` - **Provider:** OpenCode Zen ## Additional Context - Issue affects ALL Zen models, not specific to one model - OpenCode installed via bun: `/Users/iamjohndass/.bun/bin/opencode` - Using OpenCode Zen provider with API key - Previously working fine before Zen upgrade ## Related Issues This appears related to several existing issues about Zen hanging/freezing: - #2839 - Rate limit errors causing stuck in "Generating..." - #3335 - Login with zen provider freezes entirely - #1618 - Hangs indefinitely when sending to Anthropic API - #2940 - Random hanging after receiving instructions - #731 - Critical Stability Issues: App Freezing & Hanging ## Debugging Attempts I'm happy to provide additional debug logs if needed. I can run with `--print-logs --log-level DEBUG` to capture more details. ## Questions 1. Are there known rate limits on Zen that might be causing this? 2. Is this a recent regression in a specific version? 3. Are there specific debugging steps or workarounds I should try? 4. Should I try clearing the cache (`~/.opencode/cache`)?
Author
Owner

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

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

  • #9038: Provider 520 errors surface as MessageAbortedError with no diagnostics (zero tokens, repeated retries)
  • #9003: main agent hangs because of subagent (explore)
  • #6886: Gemini 3 models hang due to conflicting thinkingConfig in smallOptions()
  • #2940: [BUG] OpenCode just hangs randomly after receiving instructions
  • #4061: Session hangs after file write tool execution with massive latency spike
  • #9954: OpenCode GitHub Action hangs indefinitely at "Sending message to opencode…" (no output)

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

@github-actions[bot] commented on GitHub (Jan 22, 2026): This issue might be a duplicate of existing issues. Please check: - #9038: Provider 520 errors surface as MessageAbortedError with no diagnostics (zero tokens, repeated retries) - #9003: main agent hangs because of subagent (explore) - #6886: Gemini 3 models hang due to conflicting thinkingConfig in smallOptions() - #2940: [BUG] OpenCode just hangs randomly after receiving instructions - #4061: Session hangs after file write tool execution with massive latency spike - #9954: OpenCode GitHub Action hangs indefinitely at "Sending message to opencode…" (no output) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 22, 2026):

Upgrading zen, hmm wdym by this?

@rekram1-node commented on GitHub (Jan 22, 2026): Upgrading zen, hmm wdym by this?
Author
Owner

@pierrecorsini commented on GitHub (Jan 23, 2026):

Upgrading zen, hmm wdym by this?

That's probably AI content, the guys messed up his prompt. There is no Upgrade to OpenCode Zen, he upgraded Opencode to 1.1.31 that's it.

I'm also getting stuck session, usually on long running sessions, can anyone advice on how to investigate that (without having to add verbosity that would make the TUI session unreadable/unusable) ?

@pierrecorsini commented on GitHub (Jan 23, 2026): > Upgrading zen, hmm wdym by this? That's probably AI content, the guys messed up his prompt. There is no `Upgrade to OpenCode Zen`, he upgraded Opencode to `1.1.31` that's it. I'm also getting stuck session, usually on long running sessions, can anyone advice on how to investigate that (without having to add verbosity that would make the TUI session unreadable/unusable) ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7237