Add JSLargeAllocationFailure and JSOutOfMemory to the crash ping
Categories
(Toolkit :: Crash Reporting, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
Details
Attachments
(3 files)
Apparently this will need (thanks Alex)
- Data review (though strictly speaking this is technical data that we'd 100% gather via other means)
- Somehow plumbing from RecordAnnotationCString to the ping.
I have the "change the YAML" file written... unless that's actually not necessary because https://searchfox.org/mozilla-central/source/toolkit/crashreporter/nsExceptionHandler.cpp#1332-1366 does all the work.
Assignee | ||
Comment 1•17 days ago
|
||
Comment 2•17 days ago
|
||
FWIW the data review can be self-administered with the data-classification-low
tag on Phabricator (by your reviewers). I agree that it's technical data and should be fine in the ping.
The plumbing involved is to add associated glean metrics and populate them with the annotation value. This is fairly straightforward (though we really would like it to be simpler with bug 1950749), and I have docs linking to the pertinent locations in bug 1959435, they just haven't landed yet.
Assignee | ||
Comment 3•17 days ago
|
||
To be clear is the plumbing necessary on the server data-ingest side or report generation? it's not entirely clear reading those bugs. (Admittedly part of the problem being I can't tell how annotations are treated the same or differently for pings in the crash reporter code)
Comment 4•17 days ago
|
||
It's all on the client/generation side. The annotations are stripped down to those with the appropriate scope when creating a ping. You don't need to worry about that particular distinction, you just need to ensure it gets set in the Glean ping metrics.
Updated•10 days ago
|
Assignee | ||
Comment 5•10 days ago
|
||
Assignee | ||
Comment 6•10 days ago
|
||
Comment 8•5 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5c64990dcea1
https://hg.mozilla.org/mozilla-central/rev/e259116728ce
https://hg.mozilla.org/mozilla-central/rev/1bc29dd1883a
Description
•