You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "tirkarthi (via GitHub)" <gi...@apache.org> on 2025/05/19 13:14:13 UTC
[PR] Fetch only the most recent dagrun value to be used in dag header. [airflow]
tirkarthi opened a new pull request, #50767:
URL: https://github.com/apache/airflow/pull/50767
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.
https://github.com/apache/airflow/blob/d176113630d6b7d4bc36511fe3f8cb013060d675/airflow-core/src/airflow/ui/src/pages/Dag/Header.tsx#L45
--
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] Fetch only the most recent dagrun value to be used in dag header. [airflow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50767:
URL: https://github.com/apache/airflow/pull/50767#issuecomment-2894448457
### Backport successfully created: v3-0-test
<table>
<tr>
<th>Status</th>
<th>Branch</th>
<th>Result</th>
</tr>
<tr>
<td>✅</td>
<td>v3-0-test</td>
<td><a href="https://github.com/apache/airflow/pull/50835"><img src="https://img.shields.io/badge/PR-50835-blue" alt="PR Link"></a></td>
</tr>
</table>
--
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] Fetch only the most recent dagrun value to be used in dag header. [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi merged PR #50767:
URL: https://github.com/apache/airflow/pull/50767
--
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