Abhi2939 commented on issue #76723: URL: https://github.com/apache/airflow/issues/76723#issuecomment-6745924048
Thanks @rt849122! I'll take this and open a PR. Proposed approach, so reviewers can push back early: - **Config option:** `[api] default_keep_task_state` (boolean). It defaults to `False`, matching the 3.4 behavior, so existing deployments are unaffected. I'm happy to rename it or move it to another section if maintainers prefer. - **API:** When a clear request omits `keep_task_state`, the server resolves it from this option at request time (not at import time, so config changes are respected). An explicitly provided value always wins. - **UI:** The clear-task dialog's initial checkbox state uses the configured default. The existing browser-local preference still overrides it when set. - **Docs/tests:** Config description, tests for both config values with the field omitted and explicitly set, and a newsfragment. @maintainers, if you have a preference on the option name/section, or any concern about a deployment-wide default here, please let me know before I get too far. I'll open the PR within the next few days. -- 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]
