The GitHub Actions job "Tests (AMD)" on airflow.git/backport-b3cfad9-v3-3-test 
has succeeded.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
963fed3f70383920e6ea3ed426311c5f5ed9fac4 / Aaryan123456679 
<[email protected]>
Fix Gantt tooltip showing wrong end date on queued/scheduled bars (#68570)

* UI: Fix Gantt tooltip showing wrong end date on queued/scheduled bars

The tooltip on the queued and scheduled segments of a Gantt bar reported
the end of that segment (e.g. the moment queueing ended) as the task's
End Date, instead of the task's actual end. This was a regression from
the start-date fix in #68176, which made the Start Date consistent across
segments but left the End Date per-segment.

Carry the task's effective end (end_date, or "now" while running) on every
segment of a try as `end_when`, mirroring `start_when`, and use it for the
tooltip's End Date so all segments of a try report the same start and end.

closes: #68174

* UI: Make end_when symmetric with start_when in Gantt tooltip data

Address review: derive a single effectiveEndDate (the raw end_date, or
"now" while a started task is still running) and gate end_when on it the
same way start_when is gated on start_date. Finished tasks now keep the
API's raw end_date string instead of a re-serialized dayjs timestamp, and
the tryWhenForTooltip block no longer depends on endMs ordering. Pin the
running-task test to a fixed "now" via fake timers.

* UI: Remove noisy comments from Gantt tooltip data transform

Address review: drop the verbose inline comments around effectiveEndDate
and tryWhenForTooltip; the code is self-explanatory.

(cherry picked from commit b3cfad92f3df5d36690cf66a9da2aa31590111b5)

Report URL: https://github.com/apache/airflow/actions/runs/30531932695

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to