Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Nov 28, 2025

The duration was calculated using timedelta.seconds which,
returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.

Related: #58752

The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Nov 28, 2025
@ephraimbuddy ephraimbuddy added backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch and removed area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Nov 28, 2025
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ty

@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.4 milestone Nov 28, 2025
@ephraimbuddy ephraimbuddy merged commit acfcba1 into apache:main Nov 28, 2025
123 checks passed
@ephraimbuddy ephraimbuddy deleted the fix-backfill-duration-ui branch November 28, 2025 14:38
github-actions bot pushed a commit that referenced this pull request Nov 28, 2025
…58813)

The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
(cherry picked from commit acfcba1)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
@github-actions
Copy link

Backport successfully created: v3-1-test

Status Branch Result
v3-1-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Nov 28, 2025
…pache#58813)

The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
(cherry picked from commit acfcba1)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
potiuk pushed a commit that referenced this pull request Nov 28, 2025
…58813) (#58816)

The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
(cherry picked from commit acfcba1)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
ephraimbuddy added a commit that referenced this pull request Dec 3, 2025
…58813) (#58816)

The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
(cherry picked from commit acfcba1)

Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
RoyLee1224 pushed a commit to RoyLee1224/airflow that referenced this pull request Dec 3, 2025
The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
The duration was calculated using timedelta.seconds which,
 returns only the seconds component, not the total duration.
This caused backfills lasting more than a day to show incorrect durations.

Changed to use total_seconds() which correctly returns the full duration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants