Closed Bug 2071963 Opened 1 month ago Closed 28 days ago

Populate OS, OSVersion, and CPUArchitecture annotations in fenix

Categories

(Firefox for Android :: Crash Reporting, task)

All
Android
task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

https://phabricator.services.mozilla.com/D319599 added the annotations to lib-crash in lib/crash/service/MozillaSocorroService.kt, however Fenix uses lib/crash/service/socorro/MozillaSocorroService.kt.

I don't know why we have two different services, but that's another matter.

Pushed by afranchuk@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ed41a4e0cf95 https://hg.mozilla.org/integration/autoland/rev/54cd473aca90 Populate OS, OSVersion, CPUArchitecture, and CrashEventID annotations in socorro/MozillaSocorroService r=crashreporting-reviewers,android-reviewers,tcampbell,gsvelto
Status: ASSIGNED → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch

I noticed that CrashEventID was also missing here, so added it.

This moves some annotations into a separate method because detekt was
complaining that the method was too long (and LongMethod can't be
suppressed in the a-c detekt rules(?), though the other impl does
suppress it).

Original Revision: https://phabricator.services.mozilla.com/D325943

Attachment #9646610 - Flags: approval-mozilla-esr153?

firefox-esr153 Uplift Approval Request

  • User impact if declined/Reason for urgency: Support for ESR crash ping processing in Socorro.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: These patches are simple telemetry additions, and an improvement found in Nightly (reading platform information directly rather than using XPCOM).
  • String changes made/needed?: No
  • Is Android affected?: yes
Attachment #9646610 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
Attachment #9646610 - Flags: approval-mozilla-esr153+
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: