DAG Import Errors message is dangling in web-interface #45227
Labels
area:core
area:MetaDB
Meta Database related issues.
area:UI
Related to UI/UX. For Frontend Developers.
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.10.2
What happened?
We have this message in the Airflow's web-interface no matter what. This DAG can exist or not - the error still shows.
We have found many different topics across the Internet for various Airflow versions. Some of them from 2018. So users constantly witness these dangling messages, but there are no clarification for this case.
Also we don't have an understanding what is a source for this notification message. It sits in the Airflow DB and webserver is selecting it from there or other core components are generating it for webserver somehow.
What you think should happen instead?
Even though the error message itself is far from perfect, we expect that if DAG doesn't exist anymore, the error message should disappear.
How to reproduce
We use gitsync option for storing DAGs:
And our DAG is just script.py like that, nothing complicated:
print("D0ne!")
So I guess steps should be:
But this bug appears randomly, so we don't know exact reason.
Operating System
Kubernetes v1.31.0-eks
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: