-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Plugins and SDKs must gracefully downgrade in the event Sentry is unavailable #3
Comments
We could offer a flag that turns off the auto-upload of the debug symbols, similar to how the SAGP does https://github.com/getsentry/sentry-android-gradle-plugin/blob/0ece4be66f4c30c739cc26a7ae0250e8a65cb518/plugin-build/src/main/kotlin/io/sentry/android/gradle/extensions/SentryPluginExtension.kt#L26-L32 The build is going to fail if this flag is enabled (which is by default), and the build is going to log the flag. |
We could try to do that in |
You can already achieve that using a simple bash syntax, there's no need to add anything to cli itself. |
@kamilogorek yes. |
You'll have to update all plugins to sentry-cli@v2 and make some env/flags changes anyway :P There is a unified way of dealing with this in the CLI - https://github.com/getsentry/sentry-cli/blob/656d234bca08f9b98a738058b50d645b62c863c3/src/commands/mod.rs#L261-L289 but I'm not sure how feasible it is to allow users to do that directly there. Some might easily shoot themselves in the foot. |
Seems like this is happening also on SAGP, breaks the build |
A flag |
@krystofwoldrich do we have docs for that somewhere already? it'd be nice to have it under https://docs.sentry.io/platforms/react-native/troubleshooting/ |
Yes, I've already prepared it. It just needs one more review and can be merged. |
closing as outdated/superseded by more specific issues |
Sentry had an incident where Google's storage failures affected our ability to receive events and serve API requests such as symbol upload. These caused problems for customers trying to upload symbols or had SDKs affecting the applications performance.
This issue tracks the verifications of our plugins and SDKs to validate they can behave properly in the event of Sentry being offline. Including warning the users that uploading symbols must happen at a later time.
Example:
Symbol upload: getsentry/sentry-react-native#2243
SDK performance: https://twitter.com/JasnK/status/1522621765670871042
The text was updated successfully, but these errors were encountered: