ishitamishra13111999 opened a new issue, #36371: URL: https://github.com/apache/airflow/issues/36371
### Apache Airflow version Other Airflow 2 version (please specify below) ### If "Other Airflow 2 version" selected, which one? 2.7.3 ### What happened? We have seen an issue with airflow 2.7.3 where if the AIRFLOW__CORE__DAGS_FOLDER is changed and the dags have already been loaded from previous DAG_DIRECTORY, the old dags from previous dag directory still keep on showing on airflow UI. ### What you think should happen instead? The DAGs present only in the current DAG Directory should be available on airflow UI ### How to reproduce 1. Create 2.7.3 airflow instance 2. Push a "example_1" dag in the default dags directory /usr/local/airflow/dags and let the airflow load it on airflow U 3. Change the AIRFLOW__CORE__DAGS_FOLDER Variable to /usr/local/airflow/dags_mount, this already has example_2 dags. 4. This will load the new DAG example_2 on the AIrflow UI but the example_1 dag will still keep on showing on UI ### Operating System debian ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
