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
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
Plugins
No response
OpenCode version
1.2.10
Steps to reproduce
Screenshot and/or share link
No response
Operating System
Ubuntu 24.04
Terminal
wezterm