Lee-W commented on code in PR #41433:
URL: https://github.com/apache/airflow/pull/41433#discussion_r1724680251
##########
airflow/dag_processing/manager.py:
##########
@@ -526,6 +526,9 @@ def deactivate_stale_dags(
dags_parsed = session.execute(query)
for dag in dags_parsed:
+ if not Path(dag.fileloc).is_relative_to(dag_directory):
Review Comment:
Just want to confirm if `dag.fileloc` no longer exists, we're removing them
as well. I guess it's handled elsewhere?
--
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]