Content-Length: 286850 | pFad | http://github.com/apache/airflow/pull/50767

AA Fetch only the most recent dagrun value to be used in dag header. by tirkarthi · Pull Request #50767 · apache/airflow · GitHub
Skip to content

Fetch only the most recent dagrun value to be used in dag header. #50767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025

Conversation

tirkarthi
Copy link
Contributor

The API by default fetches 10 recent dag runs but only the latest run is used in the header information. Passing the limit as 1 saves data and query output. On an example dag with several dag runs it reduces the data from 8kb to 1kb . This is more useful when there is a pending dagrun and makes autorefresh to be more efficient.

const latestRun = dagWithRuns?.latest_dag_runs ? dagWithRuns.latest_dag_runs[0] : undefined;

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label May 19, 2025
@bbovenzi bbovenzi added this to the Airflow 3.0.2 milestone May 19, 2025
@bbovenzi bbovenzi merged commit 6130bcf into apache:main May 19, 2025
43 checks passed
github-actions bot pushed a commit that referenced this pull request May 20, 2025
…50767)

(cherry picked from commit 6130bcf)

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

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

pierrejeambrun pushed a commit that referenced this pull request May 20, 2025
…50767) (#50835)

(cherry picked from commit 6130bcf)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/pull/50767

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy