Skip to content

Bun crashes when OC subagent tries to invoke subagent #6694

Closed as not planned

Description

@matdev83

Description

Sorry, I didn't note the exact exception, but it was telling that this is exception in the Bun itself, not in the client code.
BUT: I noticed it only happens when subagents are trying to spawn another subagent.

OpenCode version

OpenCode 1.0.216

Steps to reproduce

Be on Windows 10,
Run OpenCode 1.0.216,
Use workflow where subagent tries to spawn a subagent,
Not always, but often OC crashes due to the Bun exception.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jan 2, 2026

    @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.

  2. matdev83 commented on Jan 2, 2026

    @matdev83
    Author

    I managed to capture a screenshot:

    Image
  3. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 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