Skip to content

Opencode sometimes hangs when running in VSCode Terminal #3975

Closed

Description

@thaoula

Description

Hi Team,

I have been running Opencode in the Vscode terminal on Macos for over a week.

I have been having a recurring issue where Opencode will completely hang and kill all vscode terminals in the window.

So far, this has happened after the following actions -

  • Resume a previous sessions
  • Click on the prompt area
  • Attempting to answer a tool permission question.

In all cases the hang is absolute and all vscode terminals get locked and turn orange and you have to exit vscode and start again.

Unfortunately, I have been unable to make it happen on demand but it has happened at least 1 time per day.

I have upgrade to v1.0.34 now but was running v.1x-1.0.28 previously it was still occuring.

Kind Regards,
Tarek

OpenCode version

1.0.28

Steps to reproduce

I have been unable to reproduce this issue by an known steps.

It has occurred during -

  • Resume a previous sessions
  • Click on the prompt area
  • Attempting to answer a tool permission question.

Screenshot and/or share link

No response

Operating System

macOS 26.1

Terminal

vscode

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 6, 2025
  2. changed the title [-]Hanging VSCode Terminal[/-] [+]Opencode sometimes hangs when running VSCode Terminal[/+] on Nov 6, 2025
  3. changed the title [-]Opencode sometimes hangs when running VSCode Terminal[/-] [+]Opencode sometimes hangs when running in VSCode Terminal[/+] on Nov 6, 2025
  4. github-actions commented on Nov 6, 2025

    @github-actions
    Contributor

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

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

  5. self-assigned this
    on Nov 6, 2025
  6. thdxr commented on Nov 6, 2025

    @thdxr
    Member

    can you try again with latest?

  7. thaoula commented on Nov 6, 2025

    @thaoula
    Author

    I installed 1.0.35 just now.

  8. thdxr commented on Nov 12, 2025

    @thdxr
    Member

    should be fixed now

  9. ironbelly commented on Dec 22, 2025

    @ironbelly

    I am unsure if this is 100% related but I can confirm this is happening at an alarming frequency. I can't operate a session longer than 4-5 minutes without Opencode exited to terminal with the 'killed' message. It has rendered opencode completely unuseable in this environment

  10. rekram1-node commented on Dec 22, 2025

    @rekram1-node
    Contributor

    it wouldn't have anything to do w/ your terminal. If something is getting killed you don't have enough ram on your machine it seems

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions