ffinfo commented on issue #4396: [AIRFLOW-3585] - Add edges to database
URL: https://github.com/apache/airflow/pull/4396#issuecomment-464601517
 
 
   @astahlman I do see your point but I don't really have a good solution for 
that. If we take dynamic dags into account viewing a (correct) dag is rather 
impossible if there is no DagRun yet.
   There are 2 ways still allow this but both are not really good options.
   - When no dag run is there still read the dag file, rather not because then 
the webserver still needs to parse the python files.
   - Store a graph on import on graph_id 0, problem here are the task instances 
because I don't want to pollute this table with fake data.
   
   I rather keep it like this. I can change the error message with an error 
that there are no dagruns yet, and maybe not a redirect but stay on /graph. I 
can even put a trigger link in the error message ;).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to