Expand description
Retention-based purging of old runs and their artifacts.
The RunPurger periodically removes terminal runs that exceed the
configured retention policy (by age or by per-workflow count) and deletes
their artifact blobs from the blob store.
This is distinct from the Reaper, which recovers
runs whose worker lease expired. The reaper keeps runs alive; the purger
removes the ones that are done and old.
Structs§
- RunPurger
- Periodic task that purges terminal runs exceeding the retention policy.
Constants§
- DEFAULT_
PURGE_ BATCH_ SIZE - How many runs a single tick processes.
- DEFAULT_
PURGE_ INTERVAL - How often the purger runs by default (once per day).