Skip to main content
← Back to list
01Issue
FeatureShippedSwamp Club
Assigneesstack72

Relationships

#1200 Docs: add reference page for swamp run gc

Opened by stack72 · 7/17/2026· Shipped 7/17/2026

Context

PR #1873 added swamp run gc — a new command to garbage-collect old workflow runs and model method outputs from .swamp/workflow-runs/ and .swamp/outputs/. These directories previously grew without bound and were invisible to swamp data gc / swamp data prune.

What needs documenting

A reference page (or addition to content/manual/reference/operational-commands.md) covering:

  • Command: swamp run gc — garbage-collects old workflow runs and model method outputs
  • Flags: --dry-run, --force, --older-than <duration> (units: m=minutes, h=hours, d=days, w=weeks, mo=months, y=years), --json
  • Default retention: 30 days
  • Safety: running and suspended workflow runs are never deleted; pending/running model outputs are never deleted
  • Relationship to data gc: data gc handles .swamp/data/ (versioned data catalog); run gc handles .swamp/workflow-runs/ and .swamp/outputs/ which data gc doesn't see
  • Examples: preview, force, custom retention, JSON mode
  • No automated retention yet: currently manual-only; auto-GC is a planned follow-up
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 4 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

7/17/2026, 3:26:35 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/17/2026, 3:02:16 PM

Sign in to post a ripple.