edwardwang888 edited a comment on issue #16824:
URL: https://github.com/apache/airflow/issues/16824#issuecomment-875241895


   A few more observations:
   - I think the missing borders are due to the run being a manual run - the 
borderless white box is meant to display when the task instance previously 
existed but has been cleared. (In this case, the non-existent task instances 
are incorrectly added to the DB to make them appear as if they previously 
existed.)
   - Non-existent tasks and tasks with `null` state actually are actually not 
equivalent - the way the scheduler treats them seems to depend on whether the 
DAG run is manual/scheduled, and whether there is at least one scheduled DAG 
run.
   - The ability to mark a non-existent task instance as success/failed seems 
to depend on whether there is at least one scheduled DAG run.
   - The bug above disappears once there is at least one scheduled DAG run.
   
   I will separate out the backend DB bugs to another issue; just jotting down 
notes here for myself.
   
   In terms of the UI, I guess the main consideration becomes whether to add a 
border when the run is manual but the box color is white?


-- 
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