ephraimbuddy commented on issue #52519:
URL: https://github.com/apache/airflow/issues/52519#issuecomment-3451510827

   I tried the clearing with future and past separately selected. Both worked. 
I also tried adding new task and it worked 
   
   Here's the a way to check the clearing with future/past selection:
   Enable this dag to run:
   
   ```
   from airflow.providers.standard.operators.bash import BashOperator
   from airflow.sdk import DAG
   from datetime import datetime
   
   
   with DAG(
       "bug",
       start_date=datetime(2025, 10, 15),
       schedule="@daily",
       catchup=True,
   ):
       BashOperator(task_id="bash", bash_command="Sleep 10")
   
   ```
   The above would produce a lot of runs that will fail. Correct the command by 
using small letter 's' in above command. Choose a task at the middle of the or 
close to it and try clearing for past or future and you will see the tasks 
succeed.
   
   Given that this issue was created for Airflow 3.0.2 which is old, I will 
close it. @sweetkobem , feel free to reopen it after you try this in Airflow 
3.1+


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