nothingmin opened a new pull request, #54416: URL: https://github.com/apache/airflow/pull/54416
This PR resolves the issue reported in [#54134](https://github.com/apache/airflow/issues/54134), where attempting to clear task instances from the Airflow UI using both dag_run_id and include_past/include_future resulted in a 400 error. This prevented users from clearing past or future task instances via the UI, which was possible in previous Airflow versions. With this fix: The API now correctly allows the use of include_past/include_future together with dag_run_id, as long as the DAG run has a valid logical_date (i.e., for scheduled DAG runs). For manually triggered DAG runs (where logical_date is None), the API still returns a 400 error to protect against accidental clearing of unrelated task instances—preventing the original bug from resurfacing. closes: #54134 <img width="1644" height="549" alt="스크린샷 2025-08-12 오후 11 36 53" src="https://github.com/user-attachments/assets/66ea0436-a94a-4de2-b720-b39c73881f3d" /> -- 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]
