Skip to content

Bun crashes when OC subagent tries to invoke subagent #6694

@matdev83

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions