Skip to content

Opencode is using 100% CPU since sqlite migration when submitting a message #13969

@skerit

Description

@skerit

Description

CPU usage goes to 100% after manually sending messages

Plugins

No response

OpenCode version

1.2.6

Steps to reproduce

I just upgraded to Opencode 1.2.6, and it migrated to the new sqlite database.

Now when I actually type in a message and send it, the CPU usage of the process goes to 100%.
If the assistant is doing something (like some subagent is running) and I interrupt/abort it, CPU usage also goes up to 100% for a few seconds.

Screenshot and/or share link

No response

Operating System

Linux EndeavourOS

Terminal

Wezterm

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimization

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