anomalyco / anomalyco/opencode
After the computer restarts from hibernation, the bun process consumes a large amount of CPU.This issue occurred in OpenCode version 1.18.15.
@Hona is already working on this.
Since Aug 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
https://github.com/oven-sh/bun/issues/37224
What version of Bun is running?
opencode:1.18.15
What platform is your computer?
Microsoft Windows NT 10.0.19045.0X64
What steps can reproduce the bug?
After completely shutting down the computer using hibernation and then restarting it, I found that the 'bun' process was using excessively high CPU usage, exceeding normal levels.
What is the expected behavior?
After the computer restarts from hibernation, the CPU usage of bun is approximately 5%.
What do you see instead?
After restarting the computer from hibernation, the CPU usage of bun is approximately 65%.
Additional information
This issue occurred in OpenCode version 1.18.15.
It works normally after completely closing the process and restarting it.
Plugins
no
OpenCode version
1.18.15
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
windows10
Terminal
windows
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.