chrisranderson commented on issue #30289:
URL: https://github.com/apache/airflow/issues/30289#issuecomment-1485574854

   > For now, you should handle this failure by yourself, and return False when 
you want to skip the exception.
   
   We initially handled it by subclassing BaseSensorOperator and implementing 
`poke` with a big try-except around the whole function. I'd like to avoid this 
since we would have to fix every built-in sensor that we use by wrapping all 
their poke functions.  We'd also have to adjust retries, since this makes it a 
lot harder to trigger a retry. Before, they would be triggered by any 
exception. Now it would only be ones we specify or something like the worker 
shutting down.
   
   `silent_fail` doesn't schedule a new attempt - I would hope a new attempt 
would start, *and* the timeout is respected. I want to say "retry 3 times" and 
have retries cover any uncaught exception, not just extreme ones like the 
worker being shut down.


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