vatsrahul1001 commented on code in PR #51952: URL: https://github.com/apache/airflow/pull/51952#discussion_r2162270083
########## airflow-core/src/airflow/utils/db_cleanup.py: ########## @@ -104,29 +109,52 @@ def readable_config(self): config_list: list[_TableConfig] = [ _TableConfig(table_name="job", recency_column_name="latest_heartbeat"), - _TableConfig(table_name="dag", recency_column_name="last_parsed_time"), + _TableConfig( + table_name="dag", + recency_column_name="last_parsed_time", + dependent_tables=[ + "task_instance_history", + "xcom", Review Comment: Yeah make sense, I have added only direct FK and calling a func recursivly to get full list of deps -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org