Skip to main content

Module cleanup

Module cleanup 

Source
Expand description

Background artifact cleanup for retention policy enforcement.

When --retention-days is set to a non-zero value, a background task periodically scans the artifact store and removes objects older than the configured retention period.

Structs§

CleanupResult
Result of a cleanup operation.

Functions§

run_cleanup
Runs a single cleanup pass against the artifact store.
spawn_cleanup_task
Spawns a background task that runs cleanup periodically.