Expand description
Auto-cleanup of terminated tasks and associated data. Auto-cleanup of terminated tasks and their associated data.
Batch-deletes tasks in terminal state (completed/failed/cancelled) that are older than a configurable retention period. Cascade-deletes all related items, runs, events, and log files.
Functions§
- cleanup_
old_ tasks - Clean up terminated tasks older than
retention_days.