Skip to content

Conversation

@bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Oct 1, 2025

Fixes #55144 where the calculated duration in the frontend wasn't true to the Task Instance duration in the database.

Also, changes our renderDuration() function to return undefined to make it easier to spot missing durations in a table.

Finally, add duration as the accessor on the TaskInstances table to allow a user to sort by it.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@bbovenzi bbovenzi added this to the Airflow 3.1.1 milestone Oct 1, 2025
@bbovenzi bbovenzi added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Oct 1, 2025
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 1, 2025
@bbovenzi bbovenzi merged commit 8847e64 into apache:main Oct 2, 2025
57 checks passed
@bbovenzi bbovenzi deleted the update-ti-duration-ui branch October 2, 2025 13:32
github-actions bot pushed a commit that referenced this pull request Oct 2, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
(cherry picked from commit 8847e64)

Co-authored-by: Brent Bovenzi <[email protected]>
@github-actions
Copy link

github-actions bot commented Oct 2, 2025

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

bbovenzi added a commit that referenced this pull request Oct 2, 2025
…#56329)

* Use TI duration from db instead of UI calculated

* Fix barchart heights
(cherry picked from commit 8847e64)

Co-authored-by: Brent Bovenzi <[email protected]>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
dabla pushed a commit to dabla/airflow that referenced this pull request Oct 12, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
* Use TI duration from db instead of UI calculated

* Fix barchart heights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outlets - Dataset performance and show real task runtime in Airflow UI

3 participants