Skip to content

Reset grid dagrun query cache on trigger so that the new dagrun is fetched,#52918

Merged
jscheffl merged 1 commit intoapache:mainfrom
tirkarthi:gh52907
Jul 5, 2025
Merged

Reset grid dagrun query cache on trigger so that the new dagrun is fetched,#52918
jscheffl merged 1 commit intoapache:mainfrom
tirkarthi:gh52907

Conversation

@tirkarthi
Copy link
Copy Markdown
Contributor

Closes #52907

After #51805, the grid API is split into structure, dagruns, grid data for graph and task instance summaries, Whenever a new dag is triggered through the UI reset the query cache for grid dagrun key so that the new active dagrun is fetched along with corresponding task instance summaries.

Copy link
Copy Markdown
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Can confirm this fixes the problem. Thanks!

@jscheffl jscheffl merged commit 671d561 into apache:main Jul 5, 2025
55 checks passed
github-actions bot pushed a commit that referenced this pull request Jul 5, 2025
…dagrun is fetched. (#52918)

(cherry picked from commit 671d561)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 5, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jul 5, 2025
…dagrun is fetched. (apache#52918)

(cherry picked from commit 671d561)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
jscheffl pushed a commit that referenced this pull request Jul 5, 2025
…dagrun is fetched. (#52918) (#52919)

(cherry picked from commit 671d561)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
@potiuk
Copy link
Copy Markdown
Member

potiuk commented Jul 5, 2025

NICE!

@vatsrahul1001
Copy link
Copy Markdown
Contributor

Thanks @tirkarthi

kaxil pushed a commit that referenced this pull request Jul 7, 2025
…dagrun is fetched. (#52918) (#52919)

(cherry picked from commit 671d561)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
HsiuChuanHsu pushed a commit to HsiuChuanHsu/airflow that referenced this pull request Jul 10, 2025
stephen-bracken pushed a commit to stephen-bracken/airflow that referenced this pull request Jul 15, 2025
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.

The grid does not refresh with the new dag run when triggered in UI

4 participants