You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "shashbha14 (via GitHub)" <gi...@apache.org> on 2026/06/07 15:45:24 UTC
[PR] Fix Grid Gantt tooltip showing wrong start date on queued/scheduled segments [airflow]
shashbha14 opened a new pull request, #68176:
URL: https://github.com/apache/airflow/pull/68176
Closes #68174
The Gantt bar tooltip was showing a wrong "Start Date" when hovering over the queued part of a task. It was picking up the queued time as the start date instead of the actual execution start date. Hovering over the execution part showed the correct time.
The issue was in 'toTooltipSummary' ,it was using 'segment.x[0]' (left edge of the hovered segment) for 'min_start_date'. For the queued segment that's the queued time, not the actual start date.
Fixed by storing the real 'start_date' as 'start_when' on every 'GanttDataItem' and using that in 'toTooltipSummary' instead of 'segment.x[0]'. Now hovering any segment shows the same correct start date.
I used Claude (claude.ai) as an AI assistant for parts of this implementation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Grid Gantt tooltip showing wrong start date on queued/scheduled segments [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on PR #68176:
URL: https://github.com/apache/airflow/pull/68176#issuecomment-4662102126
@shashbha14 Care to rebase to fix the CI?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Grid Gantt tooltip showing wrong start date on queued/scheduled segments [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi merged PR #68176:
URL: https://github.com/apache/airflow/pull/68176
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Grid Gantt tooltip showing wrong start date on queued/scheduled segments [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on PR #68176:
URL: https://github.com/apache/airflow/pull/68176#issuecomment-4685482134
Thanks @shashbha14 for the fix! The Start/Queued date is now correct - but I _think_ this catched a small regression. Now the End Date is somehow "wrong". In the queued state it shows the end date of the queueing and not the end date of the task, see:
<img width="903" height="279" alt="image" src="https://github.com/user-attachments/assets/cbbe6c53-fec8-4d7f-9639-16ec46ea1d03" />
<img width="892" height="265" alt="image" src="https://github.com/user-attachments/assets/dd7b040d-88e9-46f6-9fb4-b59050f5ebb6" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org