zozo123 commented on issue #77268: URL: https://github.com/apache/airflow/issues/77268#issuecomment-7157117125
Thanks for the clear report and for the quick fix! I can confirm this on main: execute() replaces BaseSensorOperator.execute() and only defers when deferrable=True, so with the default the sensor never pokes and succeeds right after submitting. #77271 looks like the right fix to me: handing off to super().execute(), refusing reschedule mode with a raw statement so it is not resubmitted, and the message fix. One small thing to consider there: the poking path uses poke_interval while polling_period_seconds only applies when deferring, so a line in the docstring would help anyone who sets polling_period_seconds today. -- 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]
