dayonet commented on issue #52413:
URL: https://github.com/apache/airflow/issues/52413#issuecomment-4344735639

   Hi,
   I have the same issue with `dag_discovery_safe_mode `not taking action.
   We wrote a wapper for Airflow so we don't import from Airflow directly in 
any of the dag definition files.
   
   When `dag_discovery_safe_mode = true` the DAGs don't show up no matter what.
   When `dag_discovery_safe_mode = false` the DAGs appear after running 
`airflow dags reserialize`, but then disappear a few minutes after. Each time 
reserialization is run the DAGs reappear and then disappear again.
   Restarting the pods or adding new DAGs do not help. The DAGs keep 
disappearing unless we add "airflow" and "dag" to the file, which works with 
`dag_discovery_safe_mode = true` as well.


-- 
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]

Reply via email to