Skip to main content

Module purger

Module purger 

Source
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).