The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/fix-db-clean-coverage-guard has failed.
Run started by GitHub user steveahnahn (triggered by steveahnahn).

Head commit for run:
7ef0dd3a6bf1a53673cf0585be42d6919a0fd6a7 / Steve Ahn 
<[email protected]>
Purge partitioned_asset_key_log and restore the db clean coverage check

The check that is meant to catch a metadata table being left out of
airflow db clean looked for the models package at a path relative to the
test file. That path stopped resolving when the sources moved under
airflow-core, so the check examined no models at all and its assertions
held trivially for an empty set. It has not been able to report a missing
table since, which is how the callback table went unpurged for several
releases.

Walking the package's own search path instead keeps the check working
wherever the sources live, and asserting that models were found stops it
from passing on an empty set again.

With the check restored, partitioned_asset_key_log is the one table it
reports that genuinely has no way to be purged: it carries no foreign
key, so its rows are left behind when the partition Dag run they describe
is cascade-deleted with its dag_run. The rest hang off a cleaned table by
an ON DELETE CASCADE foreign key and are recorded as such.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to