Skip to main content
← Back to list
01Issue
BugTriagedSwamp CLI
Assigneesstack72

Relationships

#1628 serve: stale empty directories in active-runs/ never cleaned up

Opened by stack72 · 8/12/2026

Summary

.swamp/_control/active-runs/ accumulates empty directories that are never removed after runs complete. Observed 6 stale directories, the oldest two days old, with run doctor reporting clean throughout.

Less severe than the pending-run leak (they don't replay on restart), but the same missing-cleanup shape — the ActiveRunHook.delete path likely has a similar issue to the pending-run cleanup.

Observed during investigation of #1627 (pending-run leak). The ActiveRunHook interface in scheduled_execution.ts also uses void return types with fire-and-forget controlPlaneStore.delete() calls.

Expected behavior

Empty active-runs/ directories should be cleaned up when the run completes or on boot reconciliation.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW

Triaged

8/12/2026, 10:42:58 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack728/12/2026, 10:39:35 PM

Sign in to post a ripple.