The git snapshotting logic in OpenCode has potential for unbounded growth and lock contention, especially in high-frequency loops. This issue tracks the work to add locking, improve error handling, and optimize cleanup strategies to prevent disk space exhaustion and 'index.lock' failures.
The git snapshotting logic in OpenCode has potential for unbounded growth and lock contention, especially in high-frequency loops. This issue tracks the work to add locking, improve error handling, and optimize cleanup strategies to prevent disk space exhaustion and 'index.lock' failures.