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

pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e686aeebc73 Immediatly refresh TISummaries when gridRuns are 
invalidated (#64113)
e686aeebc73 is described below

commit e686aeebc73d2950aa2e11b9b2b77c89ffe124eb
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