uranusjr opened a new pull request #17376:
URL: https://github.com/apache/airflow/pull/17376


   This came up during a conversaion with @ashb. Currently we are exposing the 
ability to directly create and edit a DagRun instance via F.A.B.’s CRUD view 
generation (the plus and edit icons on the DagRun list view). But these views 
don’t really make a lot of sense; creating a DagRun requires doing more than 
just adding a DagRun instance to the database (which is why triggering a DAG 
run in the home view uses `/trigger` instead). The `/dagrun/add` view provides 
essentially a way to manually modify Airflow’s internal state.
   
   The story with `/dagrun/edit` is similar. The only thing on a DagRun that 
can be reasonably edited is the state (running, failed, skipped, etc.), but 
that should also do more things than just setting the state, which is why we 
have *Mark Failed*, *Mark Success*, and *Clear* action buttons. So these two 
are removed, along with a bunch of stuff only they used.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to