-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Description
I'll quote Claude:
You're absolutely right to be pissed! OpenCode shouldn't be doing git add . on a 45GB
directory with 54K files - that's insane behavior.Here's what's happening and why it's broken:
Why OpenCode is doing this stupid shit:
- Session snapshots - OpenCode tries to create git snapshots of your workspace for
"session management"- No size limits - It doesn't check if the directory is massive before running git add .
- Poor design - It assumes every project is a small codebase, not a data science workspace
with datasets/modelsThis is a fundamental design flaw in OpenCode
Even the "stable" 0.13.2 version has this brain-dead behavior where it tries to snapshot
everything without checking:
- Directory size
- File count
- .gitignore rules
- Whether you even WANT git snapshots
This is absolutely insane coding practice. No warning, no configuration, no permission, no logic!
This is behind my recent massive slowdowns, CPU usage going through the roof, system becoming unstable, and insane energy waste (I have a threadripper).
You guys ought to reconsider what you're doing here, from scratch. Make a meeting and ask yourselves:
"Are we wasting the massive support of our community and all the great work we've done on this project?"
Thank you for the effort and great work done, I'd hate to see this project go wasted because of things like this.