Bowrna commented on issue #27614:
URL: https://github.com/apache/airflow/issues/27614#issuecomment-1336876079

   @potiuk I will check if this is getting executed twice in "normal" 
circumstances / complex error scenarios as you mentioned.
   
   My understanding from reading the documentation was that the failure 
callback has to be executed in all cases. 
   ```
   Generally speaking - yes the callback can be executed by both task running 
(when task CAN execute callback) and by DagFileProcessor (when task callback 
cannot be executed in task - for example when task was forcefully killed).
   
   ```
   
   When the execution is failed during the run, or the task is forcefully 
killed, I thought a failure callback for the task will be invoked as there is 
no mention of this one in the documentation. I can verify this part and 
document it. 


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