[ 
https://issues.apache.org/jira/browse/AIRFLOW-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913312#comment-16913312
 ] 

Dan Davydov commented on AIRFLOW-953:
-------------------------------------

Good point, I meant for tasks that were not previously running, i.e. white in 
the UI.

> Tasks marked as successful should have complete state set
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-953
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-953
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>            Reporter: Dan Davydov
>            Priority: Major
>              Labels: beginner, starter
>
> Tasks marked as successful should have start/end_date/duration/operator set . 
> start/end dates should be the same and denote the time the task was marked as 
> successful, duration should be 0 if the task was not already running when it 
> was marked, and the operator should be filled in correctly with the task's 
> operator.
> This should be fixed because otherwise the task instance state is not 
> complete which could break some operations in Airflow, and prevents things 
> like scripts that delete old tasks from Airflow (since e.g. start_date is not 
> specified for these tasks).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to