The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-dag-pause-toggle-cache-invalidation has succeeded.
Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).

Head commit for run:
b967a44f72a3c808db372666951f24ad37b3a204 / pierrejeambrun 
<[email protected]>
Make Dag pause toggle update immediately on click

The pause/unpause switch on the Dags list page waited for the dags list
refetch to settle before flipping, which under fast interaction looked
like the first clicks were dropped: clicking once on several rows left
them all visually unchanged until enough subsequent clicks accumulated
and the list eventually refetched.

Apply React Query's optimistic update pattern: write the new is_paused
into the dag detail and dags list caches on mutate, roll back if the
server rejects, and invalidate the list on settle so filtered views
(e.g. paused=true) drop the row that no longer matches the filter.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to