Skip to content

Stop Task when Opencode cash #16873

Closed as not planned
Closed as not planned

Description

@tuantmtb

Description

When Opencode crashes (either from desktop app failure or internet interruption), the running task flow continues in an error state but cannot be stopped manually. I would like to have a way to force stop the current task, so I can recreate and restart it properly.

Plugins

No response

OpenCode version

1.2.24

Steps to reproduce

  1. Start a new task in Opencode desktop app.
  2. Disconnect the internet or simulate an app crash.
  3. Observe that the task remains in a running/error state.
  4. Try stopping the task — it doesn’t respond.
  5. Restarting the app does not automatically release or stop the stuck task.

Expected behavior

I expect the system to detect when the app crashes or loses connectivity and automatically stop the affected task. Alternatively, provide a “Force Stop Task” option so users can manually terminate stuck tasks.

Actual behavior

The task flow gets stuck and cannot be stopped, even after app restart or network recovery.

Screenshot and/or share link

No response

Image

No response

Operating System

macOS 15.7.3

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    webRelates to opencode on web / desktop
    on Mar 10, 2026
  2. github-actions commented on Mar 10, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please use one of the three templates: Bug Report, Feature Request, or Question.
    • The Bug Report template requires a proper Description field with reproduction steps and system information (OS, version, etc.). The current description lacks these details.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Mar 10, 2026
  4. github-actions commented on Mar 10, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines and has been marked as compliant.

  5. removed
    webRelates to opencode on web / desktop
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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