-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Snapshot system leaks tmp_pack_* files indefinitely, filling disk at ~9.5 GB/hour #14811
Copy link
Copy link
Closed
Closed
Copy link
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization
Description
Description
The OpenCode snapshot system creates tmp_pack_* files in the git object store under ~/.local/share/opencode/snapshot//objects/pack/ and never cleans them up. These files accumulate at approximately one new ~9.5 GB file per hour while OpenCode is running, and persist after OpenCode exits. This will silently fill any disk to 100% capacity over time.
Environment
- OS: Ubuntu 24.04, Linux
- Install method: install script
Plugins
No response
OpenCode version
1.2.10
Steps to reproduce
- Run OpenCode in any project
- Leave it running for several hours
- Check ~/.local/share/opencode/snapshot//objects/pack/
Screenshot and/or share link
No response
Operating System
Ubuntu 24.04
Terminal
wezterm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization