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

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Using this toy dag:
   
   ```
   from airflow.decorators import dag, task
   
   
   @dag
   def dtm():
   
       @task
       def upstream_task():
           return [1, 2, 3]
   
       @task
       def map_me(x):
           print(x)
   
       map_me.expand(x=upstream_task())
   
   
   dtm()
   ```
   
   
   It is not possible to clear an individual mapped task instance of `map_me`. 
Clicking on the clear arrow:
   
   
![Image](https://github.com/user-attachments/assets/8df72696-350e-46e7-9063-e7652e6d9cc6)
   
   Opens a list of all the mapped instances of this task:
   
   
![Image](https://github.com/user-attachments/assets/027bb225-6dc3-44de-8526-5c000dc5889c)
   
   
   The same happens when using the "Clear task instance" button:
   
   
![Image](https://github.com/user-attachments/assets/2f09aa13-7e13-47ac-978c-4290a74c4af2)
   
   
   
   
   ### What you think should happen instead?
   
   In Airflow 2 The "Clear Task" button on the list of all dynamically mapped 
task instances cleared all of them:
   
   
![Image](https://github.com/user-attachments/assets/117946fa-cb2b-4086-ac57-91e94e6d0084)
   
   
   While using the button on an individual mapped task instance cleared just 
that instance:
   
   
![Image](https://github.com/user-attachments/assets/4da5794e-d0ad-4198-aaf3-0f78971682da)
   
   ### How to reproduce
   
   Run the dag in the issue, try to clear just one of the mapped task instances.
   
   ### Operating System
   
   MacOS
   
   ### Versions of Apache Airflow Providers
   
   breeze
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   breeze
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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