github-actions[bot] opened a new pull request, #56737: URL: https://github.com/apache/airflow/pull/56737
When a deferred task resumed and failed in its completion callback, retries would incorrectly re-execute the callback instead of restarting from the beginning. This caused retry attempts to fail repeatedly at the same step rather than attempting the full task execution from scratch. The fix ensures next_method and next_kwargs fields are properly cleared when tasks transition to retry, failed, or success states, preventing stale deferral parameters from persisting across task attempts. Fixes #56704 (cherry picked from commit 16e9b35f0e95b61b4d9aaa0657e664bece23caa0) Co-authored-by: Kaxil Naik <[email protected]> -- 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]
