Closed
Labels
bugSomething isn't workingSomething isn't workingperfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization
Description
Description
Opencode appears to be invoking git in a loop which has caused very high CPU usage. The program was sitting idle waiting for further input on my end.
It seems it's making a bunch of git show calls -- each of which individually seems really cheap (as per btop reporting they only use 0.0% CPU) and ephemeral but it appears that many thousands of git calls were made.
I am, indeed, working in a monorepo, fwiw.
If the bug happens again, I'll try to get a lower bound for how many git show calls were made.
Plugins
No response
OpenCode version
1.15
Steps to reproduce
No response
Screenshot and/or share link
Operating System
Darwin 25.2.0 arm64 arm
Terminal
Ghostty
Reacted by Micael Robles, Jan Hamal Dvořák, llyama, Mateusz Iskrzak, Tema Smirnov, Toby, somosverdes and Roi Mallo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingperfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization
Activity
github-actions commentedon Jan 17, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
artur-matkowski commentedon Mar 25, 2026
Same behaviour here, version 1.3.2