Skip to content

[v3-3-test] UI: Fix task states stuck stale when a run finishes quickly (#70319)#70397

Merged
shahar1 merged 1 commit into
v3-3-testfrom
backport-47a0324-v3-3-test
Jul 25, 2026
Merged

[v3-3-test] UI: Fix task states stuck stale when a run finishes quickly (#70319)#70397
shahar1 merged 1 commit into
v3-3-testfrom
backport-47a0324-v3-3-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The Grid/Graph TI-summaries stream re-fetches on an interval that is
gated on the dag run still being active. When a run reaches a terminal
state before the next tick fires — common for sub-interval runs on
low-latency deployments — the interval is cleared without ever fetching
the final task states, so node badges and grid cells stay frozen on
whatever the last stream saw (often "no status") until a full remount.

Re-stream once on the active→terminal transition so the final states
always land, mirroring the self-gating behaviour of the polled run
queries which never stop before observing a terminal state.
(cherry picked from commit 47a0324)

Co-authored-by: Andrew Chang 69671930+Andrushika@users.noreply.github.com

…ly (#70319)

The Grid/Graph TI-summaries stream re-fetches on an interval that is
gated on the dag run still being active. When a run reaches a terminal
state before the next tick fires — common for sub-interval runs on
low-latency deployments — the interval is cleared without ever fetching
the final task states, so node badges and grid cells stay frozen on
whatever the last stream saw (often "no status") until a full remount.

Re-stream once on the active→terminal transition so the final states
always land, mirroring the self-gating behaviour of the polled run
queries which never stop before observing a terminal state.
(cherry picked from commit 47a0324)

Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 24, 2026
@shahar1
shahar1 marked this pull request as ready for review July 24, 2026 15:23
@shahar1
shahar1 merged commit 075c946 into v3-3-test Jul 25, 2026
109 of 118 checks passed
@shahar1
shahar1 deleted the backport-47a0324-v3-3-test branch July 25, 2026 05:49
@github-actions github-actions Bot added this to the Airflow 3.3.1 milestone Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.3.1 based on: bug fix merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants