-
Notifications
You must be signed in to change notification settings - Fork 566
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
Fix logs, breadcrumbs and custom keys for ANRs #2718
Conversation
…r and SessionReportingCoordinator
…s and Exception nullable
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (2e98b5c5) is created by Prow via merging commits: ac38b9a 2c8ee59. |
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (2e98b5c5) is created by Prow via merging commits: ac38b9a 2c8ee59. |
Macrobenchmark ReportAffected SDKsMeasurements are for head commit (339e3be). Diffing against base commit (ca67b3f) is working in progress.
|
relevantUserMetadata.setCustomKeys(new MetaDataStore(getFilesDir()).readKeyData(sessionId)); | ||
reportingCoordinator.persistAppExitInfoEvent( | ||
sessionId, | ||
applicationExitInfoList.get(0), |
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.
I am assuming single app_exit_info entry gets created for app exit (and not multiple app_exit_info entries eg., ANR and OOM after an app exit). Is this assumption correct?
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.
That assumption is most likely correct., but the documentation doesn't explicitly mention it, and I haven't looked at the implementation yet - but it does imply (https://developer.android.com/reference/kotlin/android/app/ApplicationExitInfo#gettraceinputstream)
However, we're currently only collecting ANRs, and so it's ok to only collect the last app_exit_info.
@tejasd: The following tests failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
No description provided.