suman-himanshu commented on issue #53640: URL: https://github.com/apache/airflow/issues/53640#issuecomment-3253362848
Hi @Veldhoen The DAG file where method_name is None, post the changes validation error is now not observed, but the task remains in deferred state until we manually mark it as pass/ fail. I tested both `main` and `defer-task-next-method-optional` on both scenarios. Scenario 1 : when `method_type = None` using this dag [file](https://gist.github.com/suman-himanshu/abdbde1d252ae3a4b30847094f59d2af) From `defer-task-next-method-optional` branch - (Validation Error is resolved now) <img width="1856" height="1074" alt="Image" src="https://github.com/user-attachments/assets/ff66022b-2fda-4c9e-adca-8cf76b8a59a7" /> From `main` branch - (Validation Error is observed) <img width="1856" height="1074" alt="Image" src="https://github.com/user-attachments/assets/4e534696-eecb-4ba5-8ae9-92b32acdc477" /> Scenario 2 : when `method_type = execute_complete` using this dag [file](https://gist.github.com/suman-himanshu/32a55b91887ebb4b6b346e14f1e0a1f1) From `defer-task-next-method-optional` branch - (Task pauses once it goes in deferreble mode and doesn't resumes until we manually mark pass/ fail) <img width="1856" height="1074" alt="Image" src="https://github.com/user-attachments/assets/5e1a7f61-1d61-4600-bac9-a63b031b7541" /> From `main` branch - (Task pauses once it goes in deferreble mode and doesn't resumes until we manually mark pass/ fail)) <img width="1856" height="1074" alt="Image" src="https://github.com/user-attachments/assets/af9f48a7-a841-4ce3-ae88-a9a91c78f36e" /> I hope this answers the queries, i wanted to understand scenario2 whether it is expected behaviour in main? -- 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]
