tirkarthi commented on issue #62845:
URL: https://github.com/apache/airflow/issues/62845#issuecomment-3999294646

   I am unable to reproduce the issue in main. The dag has `schedule_interval` 
which is not valid. Upon fixing it I can see the first run printing the log in 
execute method with `next_method` and `next_kwargs` in the db on deferring. 
Once the task fails and is set to retry the values are cleared and the next 
retry again executes again to print "[2026-03-04 23:37:03] INFO - In `next`: 
has_next_method: True, try_number:2, excute_try_number: 2". 
   
   This was reported in #56704 and the fix was backported in 
https://github.com/apache/airflow/commit/53c05a0e80c581c24ecbfb7f9c3a4dc35d70fd2d
 to be released in 3.1.5. Can you please try the latest version of Airflow to 
see if the issue still exists?


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