[ https://issues.apache.org/jira/browse/AIRFLOW-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329461#comment-15329461 ]
ASF subversion and git services commented on AIRFLOW-222: --------------------------------------------------------- Commit 5963ac8b7b7c0b3470ce6171b1cd928485bc9884 in incubator-airflow's branch refs/heads/master from [~sekikn] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=5963ac8 ] [AIRFLOW-222] Show duration of task instances in ui At the moment mousing over a task instance in the Airflow tree view only shows the duration for completed task, and shows "Duration: null" for running tasks. Instead the UI should show the current task instance's duration for running tasks. This patch addresses this. Closes #1589 from sekikn/AIRFLOW-222 > Running task instances should show duration in UI > ------------------------------------------------- > > Key: AIRFLOW-222 > URL: https://issues.apache.org/jira/browse/AIRFLOW-222 > Project: Apache Airflow > Issue Type: Improvement > Components: ui, webserver > Reporter: Dan Davydov > Assignee: Kengo Seki > Priority: Minor > Labels: newbie, starter > > At the moment mousing over a task instance (square) in the Airflow tree view > only shows the duration for completed task, and shows "Duration: null" for > running tasks. Instead the UI should show the current task instance's > duration (given by datetime.datetime.now() - ti.start_date) for running tasks. > Bonus points for incrementing the duration on the client in real-time after > it fetches the initial duration. from the server > Even more bonus points for adding a duration field to the admin/airflow/task > endpoint. -- This message was sent by Atlassian JIRA (v6.3.4#6332)