The GitHub Actions job "Tests (ARM)" on airflow.git/v3-3-test has failed.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
b1d4cace6c8948a68e37f1bfddfe34c1e1db7a00 / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-3-test] Re-render only the changed column when Grid summaries stream in 
(#69917) (#69958)

The Dag Grid streams TI summaries as one NDJSON line per run and stores them in
a Map; every line replaced the Map and re-rendered Grid. Because useVirtualizer
(@tanstack/react-virtual) is on the React Compiler's known-incompatible list, 
the
compiler skips optimizing all of Grid — so flatNodes and the click handlers got
fresh references on every render and every column re-rendered on every line, not
just the run whose summary arrived. On a ~20-run x 30-task grid that was 117
spurious column re-renders per load.

Memoize the values handed down to the columns by hand — the escape hatch the
compiler's own bailout message points to for incompatible-library APIs. Measured
on the same grid: column re-renders per load dropped 171 -> 54 (all legitimate),
grid load render work ~47% lower.

Also drop a redundant immediate stream restart: an unconditional refresh tick
fired the instant the interval effect mounted, aborting and reopening the
just-opened mount stream (an AbortError on every grid mount with active runs).
(cherry picked from commit 93d722e9b82faca703e34ea0e5461fbd4689bdaf)


related: #69531

Co-authored-by: Pierre Jeambrun <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/29500425028

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to