Subham-KRLX commented on issue #62157: URL: https://github.com/apache/airflow/issues/62157#issuecomment-3925187598
I looked into this. The root cause is that MSGraphSensor.execute_complete() re-defers indefinitely with TimeDeltaTrigger(retry_delay) without ever checking if self.timeout has elapsed. Since execute() is fully overridden with defer(), Airflow's built-in sensor timeout enforcement never kicks in. Fix: Before re-deferring in execute_complete(), compute elapsed time from context["ti"].start_date and raise AirflowSensorTimeout if self.timeout is set and exceeded. I would like to work on this and want to raise a PR. -- 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]
