steveahnahn opened a new pull request, #72899:
URL: https://github.com/apache/airflow/pull/72899
Backport of #70923 to `v3-3-test` for the Airflow 3.3.2 patch release.
The callback table was renamed from `callback_request` in 3.2.0 and the
`airflow db clean` configuration was not updated with it, so a configured table
that does not exist was skipped with a warning and callback rows were never
purged. Only callbacks that can no longer run are removed; a `SCHEDULED`
callback is purged only once no deadline references it, so unfired deadlines
are kept. The `sla_miss` entry is dropped, orphaned `partitioned_asset_key_log`
rows are purged, and the db clean coverage check walks the models package again
instead of a stale relative path.
Source and newsfragment applied clean. The only conflict was in
`test_db_cleanup.py`: the import lines and the appended test classes, because
`v3-3-test` lacks tests that only exist on `main`. Resolved by adding exactly
the tests from the original commit; the `sqlalchemy` import line keeps only the
names `v3-3-test` uses.
(cherry picked from commit 478745af84d5e8418271ff4d5cba39408ed74c4e)
---
##### Was generative AI tooling used to co-author this PR?
- [x] Yes (please specify the tool below)
- Claude Code (Fable 5.1)
Generated-by: Claude Code (Fable 5.1) following [the
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]