-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
soft_fail | operator is skipped in all cases and not only "data" related fail #40787
Comments
I'll take a look. |
thanks @ellisms also the connector do not fail if creds are incorrect or there is missing conf like endpoint_url ( example when using minio ) |
I think it looks fine |
It's S3keySensor not S3CredsSensor. It's about checking if data is present or not in the bucket . soft_fail means and only means in case of timeout and no data then the operator is skipped. |
I understood, thankyou for your explanation. |
@Seoji yes the problem come from this PR , using the parameter Every operator should manage itself the wdyt @Lee-W ? |
As We should probably introduce a new parameter for special cases. If most of the sensors aren't supposed to work the current |
@potiuk could you please re-open the issue , since PR was reverted , thanks |
Did. |
This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
No stale |
This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author. |
This issue has been closed because it has not received response from the issue author. |
Apache Airflow version
2.9.2
What happened?
S3KeySensor with soft_fail is not failing on configuration errors (missing credentials or airflow connection )
What you think should happen instead?
S3KeySensor with soft_fail should fail on missing configuration and only skip on missing S3 data
How to reproduce
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: