Skip to main content
← Back to list
01Issue
FeatureClosedSwamp CLI
AssigneesNone

Relationships

#714 Add workflow cancel command and stale-run reaping on daemon restart

Opened by bixu · 6/20/2026

When the swamp daemon is killed or crashes, in-flight workflow runs are orphaned in 'running' state permanently. There is no way to cancel or clean them up. We have 54 zombie runs dating back 5 days.

Requested:

  • swamp workflow cancel <run-id> to mark a running workflow as failed/cancelled
  • swamp workflow cancel --all or swamp workflow history prune --status running --before <date> for bulk cleanup
  • On daemon startup, automatically reap runs left in 'running' state by the previous daemon process (mark them failed with reason 'daemon restarted')

Without this, any daemon restart permanently orphans in-flight runs and they accumulate indefinitely.

02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

6/24/2026, 10:55:30 PM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

stack72 commented 6/24/2026, 10:55:29 PM

@bixu This overlaps with #800 so we've combined both into #808 (https://swamp-club.com/lab/808) which covers single-run abort, bulk cleanup, and daemon-restart reaping. Closing this in favor of that.

Sign in to post a ripple.