Skip to content

When using OpenCode, the build command executes but freezes for a long time. Although the task is complete, the AI does not continue. #19252

Closed as not planned

Description

@bchstring-glitch

Description

When using OpenCode, the build command executes but freezes for a long time. Although the task is complete, the AI does not continue.

Plugins

oh my opencode

OpenCode version

1.3.2

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

window 11

Terminal

window

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    perfIndicates a performance issue or need for optimization
    on Mar 26, 2026
  2. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

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

    If your issue is the same, please add a thumbs up or comment on that issue instead so we can track it in one place.


    Also, the Steps to Reproduce field is empty. Adding reproduction steps (e.g., what command you ran, what the build command was, how long it froze) would help maintainers investigate this faster.

  3. andrej-szontagh commented on Apr 5, 2026

    @andrej-szontagh

    I have the exact same issue. I am working on a Gradle Java project and using oh-my-opencode plugin too. The tasks finishes (no errors) and the harness get stuck.

  4. Eselfin31 commented on Apr 12, 2026

    @Eselfin31

    This has been an issue for 3 weeks and still no fix

  5. hgylyq commented on Apr 29, 2026

    @hgylyq

    same problem, any solution?

  6. removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  7. tolgakisaogullari commented on May 11, 2026

    @tolgakisaogullari

    same issue

  8. nblomquist commented on May 15, 2026

    @nblomquist

    I too am having this problem.

  9. foto-andreas commented on May 19, 2026

    @foto-andreas

    same here

  10. tomasVetclaims commented on May 26, 2026

    @tomasVetclaims

    Same problem, if I close and reopen a session it continues, but from time to time it gets stuck in the Build command indefinitely

  11. Tofame commented on Jun 10, 2026

    @Tofame

    still an issue

  12. davidmayr commented on Jun 15, 2026

    @davidmayr

    This does not happen if you instruct the AI to use --no-daemon. Opencode seems to recognize that the gradle daemon is still running (which it should, gradle is expensive to spin up) and thinks the command isn't finished yet for some odd reason

    Its annoying to add this to every AGENTS.md file/instruct the AI to do that every time tho. So it would be very nice to get a fix for this

  13. rlnt commented on Jun 16, 2026

    @rlnt

    If it's stuck, you can also kill the Java process, and it continues. It's annoying, but a valid workaround for now.

    I feel like this should be prioritized more since it's very unbearable to work with Gradle projects right now. @rekram1-node Please take a look.

  14. github-actions commented on Aug 16, 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