diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-07-10 22:13:49 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-07-10 22:13:49 +0000 |
| commit | 06c9730441593c191f968f8041a0e76f56368a39 (patch) | |
| tree | fb228a59295fe22987e3dcfaa51987ce5f3f0f48 /internal/api/drops_test.go | |
| parent | 3728fb07ddc9c3a85cf4f2152b35e090618f87db (diff) | |
fix(executor): periodically sweep stale dispatch workspace directories
ContainerRunner preserves a failed execution's workspace indefinitely for
debugging, with no expiry -- this accumulated 161 stale directories
(~17.6GB) and took the host to 100% disk full on 2026-07-10. Pool.RunWorkspaceCleanup
sweeps claudomator-workspace-* dirs older than 24h every hour, started from
serve.go, mirroring StoryOrchestrator.Run's ticker shape. Never removes a
directory still referenced as a currently-BLOCKED task's sandbox_dir,
regardless of age.
Diffstat (limited to 'internal/api/drops_test.go')
0 files changed, 0 insertions, 0 deletions
