-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
rfc(feature): SDK Fail-Safe Mode #143
Conversation
3714e25
to
09c17ad
Compare
09c17ad
to
595dfe9
Compare
Exciting to see this being discussed! The scenario analysis is looking good 👍🏻 It might be worth moving options 2 and 3 to a separate RFC as "remote configuration" as that's a different can of worms (there are several docs in Notion about this as a potential feature set) and keep 1 and 4 here. |
Thanks for the input. I still want to keep them in this RFC as it helps us understand how to tackle all different scenarios. If we decide we want to move forward with these, we need to open another RFC to clarify the implementation details because, as you said, that's a different can of worms. |
Can't this be a regular event envelope with a special context? |
Co-authored-by: JoshuaMoelans <[email protected]>
Co-authored-by: Alexander Dinauer <[email protected]>
Yes, I actually like that more than an extra envelope item. A simple plain event with some context or something should be enough. Then users would see it in Sentry, and we can filter in the SDK crash detection for it and even create alerts. Thanks for the suggestion @cleptric, I added this in 7afaf13. |
The incentive was to not go through our envelope serialization pipeline at all. IIRC that was the problem that triggered this initiative in the first place, right? If we have a bug in the envelope serilization logic this will do no good. |
@romtsn adding a new event type to our ingestion pipeline to by-pass certain logic in an SDK feels a bit overkill, imo. You can still by-pass it in the SDK and create a normal event (error) envelope manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment, other than that seems fine to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit on in-doc links, but LGTM content-wise!
Co-authored-by: JoshuaMoelans <[email protected]>
Co-authored-by: JoshuaMoelans <[email protected]>
Co-authored-by: Philip Niedertscheider <[email protected]>
This RFC aims to minimize the damage of a crashing SDK in production. It’s better to have no data than crashes and no data.
Rendered RFC