github-actions[bot] opened a new pull request, #77210: URL: https://github.com/apache/airflow/pull/77210
* UI: Send the hide-paused default with the first Dags list request With ``hide_paused_dags_by_default`` enabled the Dags list fetched twice on every page load: the paused default was written into the URL from an effect, after the first ``/ui/dags`` request had already gone out unfiltered. Paused Dags flashed into the list until the second response replaced them, and the ``DagsFilters`` test that waits for them to disappear raced that second request and failed intermittently in CI. The list now derives the pending default during render, so the first request already carries ``paused=false`` and the URL seed produces the same query key. Claude-Session: https://claude.ai/code/session_01BVx6g7GpQFxdabhHVW6KYd * Use the defined paused default instead of hardcoded values Address review feedback: usePausedDefault now returns the default paused state itself rather than a flag, the URL seed is written through pausedStateToSearchParams, the functional updater leaves an existing paused or scheduling_state filter untouched, and the test asserts that exactly one Dags list request is sent. (cherry picked from commit 32550ea56b65bc3770371105ac56603fccb8f9bd) Co-authored-by: Shahar Epstein <[email protected]> Claude-Session: https://claude.ai/code/session_01BVx6gARFVCg8fLbs1Zfy4h -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
