jscheffl commented on code in PR #44547:
URL: https://github.com/apache/airflow/pull/44547#discussion_r1899675715
##########
airflow/models/taskinstance.py:
##########
@@ -1127,7 +1127,8 @@ def _handle_failure(
)
if not test_mode:
- TaskInstance.save_to_db(failure_context["ti"], session)
+ task_instance.dag_run.refresh_from_db()
Review Comment:
I tried to check... gain not being an expert. The patch sounds reasonable
but now I can not find the execution of the `notify_failure` in any
logs/messages. I used CeleryExecutor.
Can you help me how to re-produce/see the print in the logs?
--
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]