1fanwang commented on code in PR #73816:
URL: https://github.com/apache/airflow/pull/73816#discussion_r4760563054


##########
airflow-core/docs/administration-and-deployment/listeners.rst:
##########
@@ -103,6 +103,19 @@ of a 
:class:`~airflow.sdk.execution_time.task_runner.RuntimeTaskInstance` instan
     :start-after: [START howto_listen_ti_skipped_task]
     :end-before: [END howto_listen_ti_skipped_task]
 
+Failure cause
+"""""""""""""
+
+``on_task_instance_failed`` can receive a 
:class:`~airflow.executors.base_executor.TaskFailureKind`:

Review Comment:
   > leave errors raised by the Airflow runtime itself
   
   Done in 
https://github.com/apache/airflow/commit/0d62ec2c87ff6ee6587d8be066f25c03083c8a3d.
 An XCom write that gets HTTP 503 stays unclassified; an exception from task 
code still reports application.



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