SakshamSinghal20 commented on code in PR #61366:
URL: https://github.com/apache/airflow/pull/61366#discussion_r2777598928
##########
airflow-core/src/airflow/ui/src/components/Clear/TaskInstance/ClearTaskInstanceDialog.tsx:
##########
@@ -63,7 +63,7 @@ const ClearTaskInstanceDialog = ({ onClose: onCloseDialog,
open: openDialog, tas
const upstream = selectedOptions.includes("upstream");
const downstream = selectedOptions.includes("downstream");
const [runOnLatestVersion, setRunOnLatestVersion] = useState(false);
- const [preventRunningTask, setPreventRunningTask] = useState(true);
+ const [preventRunningTask, setPreventRunningTask] = useState(false);
Review Comment:
You’re right that the state, checkbox, and API were in sync technically. My
intention with this change is to align the default with the desired behavior
(opt‑in prevention), so users aren’t opted in without interacting with the
checkbox.
--
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]