-
Notifications
You must be signed in to change notification settings - Fork 132
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
Remove unused core dump handler code #2192
Conversation
@jellefoks @niranjanyardi, can you please take a look at https://b.corp.google.com/issues/289214111#comment2 and help me evaluate whether any of this core dump data is actually needed? If so, I think we'd want to add it back by 1) possibly extending the CrashHandler Starboard extension to take key/value pairs with Int or Float values, and 2) using the Starboard extension where we previously used |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2192 +/- ##
==========================================
+ Coverage 58.53% 58.57% +0.03%
==========================================
Files 1908 1909 +1
Lines 94585 94565 -20
==========================================
+ Hits 55369 55393 +24
+ Misses 39216 39172 -44 ☔ View full report in Codecov by Sentry. |
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 agree that is appears to be dead code now.
thanks for the comment. lgtm , did you run tests on ps5 and ensure that passes ? |
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.
Change LGTM. It is a tad scary removing this stuff because if we inadvertently break crash context logging, a lot of downstream stuff breaks horribly.
Can you just verify you've tested everything adequately and are confident PlayStation 5 still works and other platforms still work as expected? Thanks!
You're welcome and not yet - I think I'll need to use the corresponding Gerrit change to run try builds. |
You're mostly worried about preserving the client context set by the web app via the |
Ya. Ideally, we could test all of Apple, PS5, EG, and Android. I believe the YTS tests that Wei wrote recently should cover some of this, right? |
Wei's cl/586080954 modified the existing For ps5, @niranjanyardi offered to help test this locally. Based on the discussion in b/249761235, I think we should be able to verify that the ps5 crash has the expected client context after we force a crash. For Apple and Android, I can talk to platform owners and see how much effort it would be to validate that Longer term we should think about whether we can write end-to-end tests for |
Joel and I discussed offline and are ok with just testing on Evergreen platforms and ps5; as long as the I already tested on Evergreen (on x64x11 and ADT-4), so we're just waiting on ps5. |
@niranjanyardi spent some time looking into this but it sounds like we currently don't have a way to verify that this change doesn't cause a regression w.r.t. the @joeltine, are you ok with merging this? |
b/289214111 Change-Id: If822f5879010dd4235c49c01f01a43b287652d68
f79d5ce
to
591e1da
Compare
This seems problematic in general. Did we verify this with Sony? |
@niranjanyardi or @madhurajayaraman can you please comment? I agree we should have a way to manually test this end-to-end - maybe we can increase the priority of b/181902049? But if we don't have a way to end-to-end test this currently - and it sounds like we don't - I'd like to not block this cleanup. |
Yes, please proceed if there's no expedient way to test this. I'd just be a bit surprised if Sony didn't have a way to trigger crash reports in a dev environment. |
I asked sony, subscribed you to the support request. |
Thanks, Niranjan. And sorry, I just have one more question on this: even if the crash report isn't "reported," is one still generated on the device that can be inspected locally somehow? Maybe we can ask Sony this, too, if we're not sure. |
|
b/289214111 Change-Id: If822f5879010dd4235c49c01f01a43b287652d68 (cherry picked from commit 61c20a2)
b/289214111
Change-Id: If822f5879010dd4235c49c01f01a43b287652d68