This is an automated email from the ASF dual-hosted git repository.

rahulvats pushed a commit to branch py-client-sync
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a2da59eb17e0ea5f0402ac2aca27754a5e4551be
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Tue Mar 24 09:08:29 2026 +0100

    Immediatly refresh TISummaries when gridRuns are invalidated (#64113)
---
 airflow-core/src/airflow/ui/src/queries/useGridTISummaries.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow-core/src/airflow/ui/src/queries/useGridTISummaries.ts 
b/airflow-core/src/airflow/ui/src/queries/useGridTISummaries.ts
index 28de4bc473d..35ff56988fc 100644
--- a/airflow-core/src/airflow/ui/src/queries/useGridTISummaries.ts
+++ b/airflow-core/src/airflow/ui/src/queries/useGridTISummaries.ts
@@ -115,6 +115,8 @@ export const useGridTiSummariesStream = ({
       return undefined;
     }
 
+    // Kick off an immediate refresh so the stream doesn't have to wait for 
the first interval to elapse.
+    setRefreshTick((tick) => tick + 1);
     const timer = setInterval(() => {
       setRefreshTick((tick) => tick + 1);
     }, baseRefetchInterval);

Reply via email to