bbovenzi commented on issue #23227: URL: https://github.com/apache/airflow/issues/23227#issuecomment-1117376375
So clear and and mark state are two distinct actions so I would say #23246 is different. This issue is to replace `/clear` in the [webserver](https://github.com/apache/airflow/blob/main/airflow/www/views.py#L2035) I believe the URL should then be `/api/v1/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/clear` (ie task_id should be in the the url not the params) Two additonal params will be needed: `recursive` and `only_failed`. Like the existing task instances clear we should include `dry_run` which will return json of the task instances that will be affected. https://github.com/apache/airflow/issues/23419 is more related, but will clear the entire dag run -- 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]
