You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clear notification in UI when duplicate dag names are present #15248
We have two different dags which have been written in isolation, but by sheer bad luck both define my_dag(). This seems fine for each file in isolation, but on the airflow UI, we only end up seeing one entry for my_dag, where it has picked up dag_1.py and ignored dag_2.py.
Use case / motivation
We currently end up with only one DAG showing up on the UI, and no indication as to why the other one hasn't appeared.
Suggestion: popup similar to 'DAG import error' to highlight what needs changing in one of the DAG files in order for both to show up ("DAG import error: duplicate dag names found - please review {duplicate files} and ensure all dag definitions are unique"?)
Are you willing to submit a PR?
No time to spare on this at present
Related Issues
I haven't found any related issues with the search function.
Activity
boring-cyborg commentedon Apr 7, 2021
Thanks for opening your first issue here! Be sure to follow the issue template!
uranusjr commentedon Apr 8, 2021
I plan to look into this.
Emit error on duplicated DAG ID (#15302)