You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/12 08:37:44 UTC

[GitHub] [airflow] freyrsae opened a new issue, #24990: on_failure_callback getting the wrong context

freyrsae opened a new issue, #24990:
URL: https://github.com/apache/airflow/issues/24990

   ### Apache Airflow version
   
   2.2.5
   
   ### What happened
   
   We have slack alerting on failure enabled in our DAG and use `context.get('task_instance')` to customise the error message but it is usually the wrong task_instance we get. Seems very familiar to https://github.com/apache/airflow/discussions/19371
   
   ### What you think should happen instead
   
   I should get the task instance of the task that failed, not just some task in the dag.
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Running with Composer
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Composer
   
   ### Deployment details
   
   Using composer-1.19.2-airflow-2.2.5
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.apache.org

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


[GitHub] [airflow] potiuk closed issue #24990: on_failure_callback getting the wrong context

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #24990: on_failure_callback getting the wrong context
URL: https://github.com/apache/airflow/issues/24990


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


[GitHub] [airflow] boring-cyborg[bot] commented on issue #24990: on_failure_callback getting the wrong context

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #24990:
URL: https://github.com/apache/airflow/issues/24990#issuecomment-1181482807

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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