hkc-8010 commented on code in PR #66484:
URL: https://github.com/apache/airflow/pull/66484#discussion_r3212465937
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -1012,22 +1012,31 @@ def handle_removed_files(self, known_files: dict[str,
set[DagFileInfo]]):
self.terminate_orphan_processes(present=files_set)
self.remove_orphaned_file_stats(present=files_set)
+ @staticmethod
+ def _present_file_key(file: DagFileInfo) -> tuple[str, Path]:
Review Comment:
@ephraimbuddy Addressed in the follow-up. `presence_key` now lives on
`DagFileInfo`, and the related manager paths (`_add_new_files_to_queue`,
`prepare_file_queue()`, `processed_recently()`, and `_sort_by_mtime()`) use the
same presence-aware model. I also added the matching regression coverage and
reran the local/Breeze matrix; all passed with `105 passed, 1 warning`.
--
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]