You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "viniciusdsmello (via GitHub)" <gi...@apache.org> on 2023/03/12 19:09:25 UTC

[GitHub] [airflow] viniciusdsmello commented on issue #26760: DAG on_failure_callback uses wrong context

viniciusdsmello commented on issue #26760:
URL: https://github.com/apache/airflow/issues/26760#issuecomment-1465276221

   Hello everyone. Could you let me know if there are any updates on this issue?
   
   I had the same issue with the following DAG
   <img width="494" alt="image" src="https://user-images.githubusercontent.com/6565443/224566895-4e5c77b0-16d1-4d04-a94f-151e0d13b145.png">
   
   I'm creating an on_failure_callback to send events to Pagerduty. In one of my tests, I noticed that the context contains information from the first task.
   
   Here is the callback function
   <img width="650" alt="image" src="https://user-images.githubusercontent.com/6565443/224567061-83737709-b297-4501-9012-6d990846c75a.png">
   
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org