You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/20 15:57:34 UTC

[GitHub] [airflow] Anze- opened a new issue, #25187: When creating a duplicated dag name no warning is shown to web UI

Anze- opened a new issue, #25187:
URL: https://github.com/apache/airflow/issues/25187

   ### Apache Airflow version
   
   2.3.3 (latest released)
   
   ### What happened
   
   Testing airflow docker installation, checking correct dir mapping by copying one of the default dags into the `./dags` folder.
   The new dag is not added as a duplicate because duplication is detected, but the addition fails silently in the web UI while in command line tool the error `Error: Failed to load all files. For details, run airflow dags list-import-errors` is presented.
   
   
   
   ### What you think should happen instead
   
   As the cli warns about the error, the web UI should warn about the duplication occurence. 
   
   ### How to reproduce
   
   Copy a default dag into the mapped `./dags` of a docker-compose install.
   
   ### Operating System
   
   manjaro linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   Evvverytime a good soul tries to test the docker-compse deployment :D
   
   ### 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](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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk commented on issue #25187: When creating a duplicated dag name no warning is shown to web UI

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #25187:
URL: https://github.com/apache/airflow/issues/25187#issuecomment-1190547173

   We know about it. This is not easy to fix due to the way how dags are parsed sequentially in batches. The problem is that it does not scale, because you would have to parse all the dags in order to know all of them at once and there are edge cases such as moving dag to another file. This will likely not be fixed.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #25187: When creating a duplicated dag name no warning is shown to web UI

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #25187:
URL: https://github.com/apache/airflow/issues/25187#issuecomment-1190462018

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #25187: When creating a duplicated dag name no warning is shown to web UI

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25187: When creating a duplicated dag name no warning is shown to web UI
URL: https://github.com/apache/airflow/issues/25187


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org