You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/01/11 14:19:23 UTC

[GH] (airflow/dev-59474): Workflow run "Tests" is working again!

The GitHub Actions job "Tests" on airflow.git/dev-59474 has succeeded.
Run started by GitHub user arjav1528 (triggered by arjav1528).

Head commit for run:
23bc1de89e60b36a446b2ebd77defa6848840557 / Arjav Patel <ar...@gmail.com>
Fix FK constraint violation in Usage: airflow db clean [-h] [--batch-size BATCH_SIZE]
                        --clean-before-timestamp CLEAN_BEFORE_TIMESTAMP
                        [--dag-ids DAG_IDS] [--dry-run]
                        [--exclude-dag-ids EXCLUDE_DAG_IDS] [--skip-archive]
                        [-t TABLES] [-v] [-y]

Purge old records in metastore tables

Options:
  -h, --help            show this help message and exit
  --batch-size BATCH_SIZE
                        Maximum number of rows to delete or archive in a single transaction.
                        Lower values reduce long-running locks but increase the number of batches.
  --clean-before-timestamp CLEAN_BEFORE_TIMESTAMP
                        The date or timestamp before which data should be purged.
                        If no timezone info is supplied then dates are assumed to be in airflow default timezone.
                        Example: '2022-01-01 00:00:00+01:00'
  --dag-ids DAG_IDS     Only cleanup data related to the given dag_id
  --dry-run             Perform a dry run
  --exclude-dag-ids EXCLUDE_DAG_IDS
                        Avoid cleaning up data related to the given dag_ids
  --skip-archive        Don't preserve purged records in an archive table.
  -t, --tables TABLES   Table names to perform maintenance on (use comma-separated list).
                        Options: ['_xcom_archive', 'asset_event', 'callback_request', 'celery_taskmeta', 'celery_tasksetmeta', 'dag', 'dag_run', 'dag_version', 'deadline', 'import_error', 'job', 'log', 'sla_miss', 'task_instance', 'task_instance_history', 'task_reschedule', 'trigger', 'xcom']
  -v, --verbose         Make logging output more verbose
  -y, --yes             Do not prompt to confirm. Use with care! for dag_version table

Report URL: https://github.com/apache/airflow/actions/runs/20895909774

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org