-
Notifications
You must be signed in to change notification settings - Fork 14.8k
opencode creates identical temp files everytime it runs #6523
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
I run opencode stats periodically to monitor my token and tool usage.
However, I found a new Library file .*-00000000.so is created under /tmp directory whenever I run opencode. The file is not removed after opencode is terminated.
Each file is sized ~4.1MB. These behaviours consumed 60+ GB just over a night.
OpenCode version
1.0.218
Steps to reproduce
- Run
watch opencode stats - Wait for a while
- run
ls -lah /tmp
Screenshot and/or share link
Operating System
Ubuntu 24.04
Terminal
Bash
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui