pankajkoti commented on code in PR #37363:
URL: https://github.com/apache/airflow/pull/37363#discussion_r1487359992
##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -729,66 +735,34 @@ def trigger_reentry(self, context: Context, event:
dict[str, Any]) -> Any:
if self.do_xcom_push:
result = self.extract_xcom(pod=self.pod)
- remote_pod = self.pod_manager.await_pod_completion(self.pod)
+ if event["status"] in ("error", "failed", "timeout"):
+ raise AirflowException(event)
Review Comment:
I think we already have better traceback formatting in the triggerer. So
this may not be needed.
--
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]