Skip to content

Terminal not exiting while running gradle related tasks. #22154

Closed as not planned

Description

@Eselfin31

Description

While running Gradle related tasks (f.e build, test, etc.) the build ends (Successful or Failed) but the agent continues to being "held" by that terminal, even though the task already ended.
Killing the Java process in the Task Manager fixes it, but still really annoying to do by hand.

Plugins

No response

OpenCode version

v1.4.3

Steps to reproduce

  1. Launch Opencode
  2. Ask to build any type of Java/Kotlin based project and build it using Gradle.
  3. 20-30% chance that the build is going to get stuck forever

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Warp

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 12, 2026
  2. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

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

  3. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. davidmayr commented on Jun 15, 2026

    @davidmayr

    Definitely a duplicate of #19252. If anyone needs a quick hotfix for this, read my reply to #19252

  5. github-actions commented on Aug 15, 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