Expose queueing/scheduled time in the Gantt Chart#63372
Expose queueing/scheduled time in the Gantt Chart#63372smyjt wants to merge 2 commits intoapache:mainfrom
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
|
Great! Can you provide screenshots of the queued time showing up in the chart? |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Nice, should we also handle a scheduled segment? Based on scheduled_dttm ?
Will add that too. |
75c51e6 to
d3f3c72
Compare
|
@pierrejeambrun @bbovenzi
|
There was a problem hiding this comment.
Looking good.
Do you mind fixing the CI.
I agree those are hard to dissociate, but are not directly related to this PR. A great follow up PR would be to suggest another default color for those states to have a better contrast. @smyjt
d3f3c72 to
12e98b0
Compare
|
Rebased after taking latest pull, all checks are passing locally |
|
Hi, can you help me with how to run these CI pipeline tests locally that are failing, I ran the pre-commit command without any error |
|
CI failures seems unrelated. Please rebase and lets try again. Usually the github logs show the breeze command that is running for the particular step. (All CI checks are breeze commands locally reproducible) |
12e98b0 to
1b0d5b3
Compare
Should we change anything for this? |




Adds
queued_dttmto the Gantt chart so users can see how long tasks spent waiting in the queue before execution started.Changes:
queued_dttmscheduled_dttmfield toGanttTaskInstancedatamodel and SQL queries (bothTaskInstanceandTaskInstanceHistory)queued_dttmscheduled_dttmtostart_date) using the existingqueuedandscheduledstate colorscripts/in_container/run_generate_openapi_spec.pynpm run codegenqueued_dttm/scheduled_dttmis returnedThis mirrors the Airflow 2 Gantt chart behavior which was missing in Airflow 3.
closes: #63356
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Sonnet 4.6 following the guidelines