You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opus 4.6 subagents and toolcalls use crazy cache #12708
I think it's specific to Opus 4.6 (or maybe all agent swarms type models), but it's very difficult to work with OpenCode at the moment because my cache on my system drive goes crazy, can take almost 100gb in a few minutes. Some observations:
I am on windows 10, working with opencode mostly in zed, but from a normal powershell terminal
having the opencode cache on another drive would mitigate this
the problematic cache lies in /user/.local/share/opencode/snapshot/230948290834etc/objects/pack and there is a huge file tmp_pack_XXM82w
Plugins
No response
OpenCode version
all
Steps to reproduce
No response
Screenshot and/or share link
use opus 4.6 with Github Copilot subscription in a powershell terminal, and have opus making toolcalls
The root cause appears to be long-running git add operations that fail/timeout without cleanup of tmp_pack files in the snapshot directory. #10034 provides a detailed analysis with code-level evidence and recommended fixes.
Feel free to ignore if your specific case differs from these.
Activity
github-actions commentedon Feb 8, 2026
This issue might be a duplicate of existing issues. Please check:
~/.local/share/opencode/snapshot/*/objects/pack/growing indefinitelyThe root cause appears to be long-running git add operations that fail/timeout without cleanup of tmp_pack files in the snapshot directory. #10034 provides a detailed analysis with code-level evidence and recommended fixes.
Feel free to ignore if your specific case differs from these.
IM-001 commentedon Feb 9, 2026
very interesting, it might be just a temporary luck, but updating my models cache seemed to fix my problem for now!
opencode models --refresh
github-actions commentedon Apr 10, 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.