nathadfield commented on code in PR #63884:
URL: https://github.com/apache/airflow/pull/63884#discussion_r3136763777


##########
airflow-core/src/airflow/ui/src/components/DagActions/RunBackfillForm.tsx:
##########


Review Comment:
   Good catch @bbovenzi . Updated `RunBackfillForm.tsx` to use the 
`useRerunWithLatestVersion` hook with `fallback: true` (preserving backfill's 
historical default of true when no DAG or global config is set), and added a 
fallback prop to the hook so it can be used for both clear (fallback false) and 
backfill (fallback true) paths. The form now initializes 
`run_on_latest_version` as undefined and seeds it from the resolved default via 
setValue once the hierarchy resolves. Added two unit tests covering the new 
fallback behavior. 



-- 
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]

Reply via email to