The GitHub Actions job "Tests (AMD)" on airflow.git/fix/state-store-cleanup-ignores-default-retention-days has failed. Run started by GitHub user kalluripradeep (triggered by kalluripradeep).
Head commit for run: e948abb9b84f156beea79829ea2eb5f4b712fd26 / Pradeep Kalluri <[email protected]> fix: MetastoreBackend.cleanup() ignores default_retention_days for null expires_at rows Task state rows written by workers always have expires_at=NULL (the default). cleanup() only deleted rows where expires_at < now(), so the configured default_retention_days (default: 30) was silently ignored — those rows accumulated forever. Fix: add a second deletion pass that removes rows where expires_at IS NULL and updated_at < now - timedelta(days=default_retention_days). The pass is skipped when default_retention_days=0 (keep indefinitely). Also fix _summary_dry_run() and the CLI dry-run output to report both explicitly-expired and default-retention-stale rows. Fixes: cleanup() in MetastoreBackend ignoring [state_store] default_retention_days Report URL: https://github.com/apache/airflow/actions/runs/27900273536 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
