haseebmalik18 opened a new pull request, #68193:
URL: https://github.com/apache/airflow/pull/68193

   Fixes two setup/teardown bugs in the Clear and Mark-State dialogs.
   
   - **Bug 1**: `DAG.clear(task_ids=[...])` didn't include the selected task's 
setup/teardown, contradicting the documented
     contract. Fixed in `DAG.clear`.
    - **Bug 2**: `find_task_relatives(downstream=True)` pulled downstream 
teardowns into mark-state actions. Fixed by skipping teardowns on the 
downstream walk.
    
   Before:  <img width="1374" height="743" alt="before_clear" 
src="https://github.com/user-attachments/assets/4c89bf65-2345-48dc-a64b-6458ed3e80a0";
 />
   <img width="1376" height="738" alt="before_fail" 
src="https://github.com/user-attachments/assets/02d4f635-455f-4e13-ab7d-86cc740c458d";
 />
   
   After: 
   <img width="1375" height="745" alt="after_clear" 
src="https://github.com/user-attachments/assets/8755e4e3-6958-4ac4-b61a-4b9920f706e9";
 />
   <img width="1379" height="745" alt="after_fail" 
src="https://github.com/user-attachments/assets/3a0a1438-28b2-42b7-89aa-28897eb2fab1";
 />
   
   closes: #68184


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