Skip to content

Open Code and bun using way more resources #22548

@nayaksomkar

Description

@nayaksomkar

Description

my assumption is as OpenCode is written in typescript and it uses bun for some background tasks, and cause of a bug which is forming an infinite loop, causing it to use way for resources than it should.

my reddit post/comment link https://www.reddit.com/r/opencodeCLI/s/77c2NzpQDK

Steps to reproduce

Just open a project and run a request, and keep an eye on the task manager.

Screenshot and/or share link

Image

Image

Operating System

Windows 11 Home

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions