Skip to content

TUI prompt can fail with Worker has been terminated after backend worker RPC error on MacOS #33269

Closed as duplicate

Description

@zheli

Description

When using the TUI, sending a second prompt after a while can fail with:

Failed to send prompt
Worker has been terminated

This appears to happen after an earlier backend worker RPC request throws. The original error is not surfaced to the caller, and the worker can terminate. A later prompt then only reports that the worker is already terminated, which hides the actual failure cause.

The last working version was 1.16.2

Plugins

None

OpenCode version

1.17.8

Steps to reproduce

  1. Start opencode on MacOS
  2. Run a prompt
  3. Wait for 1 or 2 minutes
  4. Try to execute another prompt

Screenshot and/or share link

None

Operating System

macOS 15.7.7

Terminal

Ghostty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions