airflow
airflow copied to clipboard
After deleting a dag from the dags directory, it is still displayed in the UI
Discussed in https://github.com/apache/airflow/discussions/40331
Originally posted by tatyana12345 June 19, 2024
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.8.3
What happened?
Dag has been removed from the airflow dags directory /opt/airflow/dags. Dag is not displayed when running the airflow dags list command. But it is still available in the Airflow UI, and it is also available in the Airflow postgres database.
What you think should happen instead?
It is expected that dag will be automatically removed from the web interface after deleting dag from the dags directory.
How to reproduce
Remove dag from the /opt/airflow/dags directory and it will still be available in the web interface even after a few days
Operating System
Linux
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?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct