jroachgolf84 commented on issue #51402:
URL: https://github.com/apache/airflow/issues/51402#issuecomment-2940993185

   This is the expected behavior - `on_success_callback` and 
`on_failure_callback` are applied when a DAG enters a "Success" or "Failed" 
terminal state, not when a Task does. This means that no `TaskInstance`-level 
information would be available here.
   
   The docs are a bit mis-leading, and I've got an open PR to address this: 
https://github.com/apache/airflow/pull/51150/files


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