sharpnife opened a new issue, #43635:
URL: https://github.com/apache/airflow/issues/43635

   ### Description
   
   Enhance the `/clearTaskInstances` REST API endpoint by adding support for 
clearing specific task instances using map_indexes. 
   
   This feature is especially valuable for dynamically mapped operators, which 
can generate multiple task instances for a single operator. Currently, while 
the Airflow UI allows clearing individual task instances by map_index, this 
capability is not available via the /clearTaskInstances endpoint
   
   ### Use case/motivation
   
   We want to provide users with the ability to retry specific instances of a 
failed mapped task. To enable this, the REST API should support clearing 
specific `map_index`(es) for a given task ID.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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