Skip to content

Show task, DAG detail durations in hour:minute:second format rather than just seconds #49507

@josh-fell

Description

@josh-fell

Description

In Airflow 2, both the task and DAG durations were displayed in hour:minute:second format in the UI in the Details pages. With Airflow 3, these durations are only displayed in seconds. It would be great to have these durations in the same format as Airflow 2 to reduce the need for users to convert seconds mentally when looking the UI. This is especially helpful for task/DAG durations more than a few minutes.

May the format could even be a more verbose/dynamic format like X hours and Y minutes if > 60 minutes; Y minutes if > 1 and < 60 minutes; Z seconds if < 1 minute?

Use case/motivation

Users should be able to quickly see the explicit task/DAG duration in the UI. The current seconds-only format forces users to convert the duration value to a timespan that makes sense in the context of the task/DAG run while viewing the task/DAG run Details pages.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requests

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions