kaxil commented on a change in pull request #17121: URL: https://github.com/apache/airflow/pull/17121#discussion_r708739971
########## File path: airflow/models/dag.py ########## @@ -2656,11 +2655,6 @@ def deactivate_deleted_dags(cls, alive_dag_filelocs: List[str], session=None): if dag_model.fileloc is not None: if correct_maybe_zipped(dag_model.fileloc) not in alive_dag_filelocs: dag_model.is_active = False - else: - # If is_active is set as False and the DAG File still exists - # Change is_active=True - if not dag_model.is_active: - dag_model.is_active = True Review comment: Why this change? what will re-activate the DAG if it is readded -- 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