Open Bug 1908534 Opened 1 year ago Updated 1 year ago

Have a fallback for cases where sending Glean crash pings fails

Categories

(Toolkit :: Crash Reporting, enhancement)

enhancement

Tracking

()

People

(Reporter: afranchuk, Unassigned)

References

Details

Legacy Telemetry logic writes ping data to a file. When pingsender is invoked, it will delete the file if the ping is successfully sent. If it is not and remains, Firefox will attempt to send the ping due to the presence of the file.

Glean crash pings should support some fallback if the crash reporter client is unable to send the ping when it is invoked.

An easy way to implement this might be to poke the crash reporter at startup, since Glean itself does store unsent pings with the intent to send in the future. However it'd be really nice if we could check whether this was necessary by inspecting the Glean state (to avoid launching the program unnecessarily), though obviously that might be a bit hacky without some guarantees from Glean about the state directory.

You need to log in before you can comment on or make changes to this bug.