-
-
Notifications
You must be signed in to change notification settings - Fork 192
feat: external crash reporter #1303
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
Open
jpnurmi
wants to merge
35
commits into
master
Choose a base branch
from
feat/feedback-handler
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b23ef21
WIP: feat: feedback handler (squashed)
jpnurmi a7992df
WIP: transfer feedback envelope ownership
jpnurmi 07e6553
crashpad
jpnurmi dfa6be9
update feedback.c
jpnurmi e962323
Drop sentry__envelope_get_event_id changes
jpnurmi f874017
clean/fix up
jpnurmi fbbad55
fix sentry__launch_feedback_handler
jpnurmi d35d178
Rename to Crash Reporter
jpnurmi 9867efb
Bump crashpad
jpnurmi e52436b
bump crashpad
jpnurmi 863ca69
bump crashpad
jpnurmi b7938d7
Update header docs
jpnurmi b6faa46
Update CHANGELOG.md
jpnurmi 1753c54
Bump crashpad
jpnurmi 792b447
Bump crashpad & keep __sentry-event
jpnurmi a1c3b05
Bump crashpad
jpnurmi 891b17e
test_crashpad_crash_reporter: assert session and breadcrumbs
jpnurmi 6c26861
Bump crashpad
jpnurmi 97da455
Bump crashpad
jpnurmi ac23ae2
Bump crashpad again
jpnurmi 1624daf
Drop the broken session test that only works on Linux
jpnurmi 5681c61
Fix missing event ID header in Crashpad reports
jpnurmi 1cfaab1
WIP: Clean up and rename to "external" crash reporter for clarity
jpnurmi f2ecaa7
Update docs
jpnurmi 1562b32
Fix windows build
jpnurmi 17ee224
Remove unused argument
jpnurmi a41d48a
Bump crashpad
jpnurmi d046c36
Merge remote-tracking branch 'upstream/master' into feat/feedback-han…
jpnurmi 5b37d01
Bump crashpad
jpnurmi 2e2b11e
Update CHANGELOG.md
jpnurmi eee2949
Fix memory leak / remove unused return value
jpnurmi 906c884
Fix return value
jpnurmi 69e969d
Add missing null-check
jpnurmi 8776986
Return bool from sentry__launch_external_crash_reporter
jpnurmi c28f757
Check sentry_new_external_disk_transport return value
jpnurmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule crashpad
updated
26 files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It makes sense to have a comment here that clarifies the difference between a report and an event (which is mainly about serialization format if one only considers the differences inside the two flush functions), since this nomenclature difference appears primarily in the crashpad backend.
Uh oh!
There was an error while loading. Please reload this page.
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.
Just to be clear: I am primarily asking this because you once raised the topic of having the "reporter" executable configured (which might be called as early as possible) vs exposing a callback (from which a user explicitly spawns the reporter executable) vs having a callback that runs during the next start.
Now, with this change, if you have a backend that can't upload during the crash (i.e., which doesn't have an upload process like the
crashpad_handler
), enabling a "crash reporter" could be used to bypass this limitation, since that executable could be configured to run, load, and send the crash envelope even without user-feedback interaction, right?