Closed Bug 1840854 Opened 2 years ago Closed 2 years ago

`XPCOMWillShutdown` is too late for early-shutdown pings to have a chance at being uploaded.

Categories

(Toolkit :: Telemetry, defect, P1)

defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(1 file)

In bug 1816190 we added an experimentable capability to submit pings "at" shutdown. The idea being that this would give us the ability to try out a faster way to get "baseline" and "events" pings.

However, the phase of shutdown we went for (XPCOMWillShutdown) was the wrong choice. That phase is after AppShutdownNetTeardown meaning that, though we'd successfully submit the pings, there's zero chance we'd be able to upload them.

Instead what we probably want is AppShutdownConfirmed (the phase in which there's no longer anything the user can do to change their mind about shutting down Firefox Desktop).

Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f30aca67c50 Send the final "inactive" during AppShutdownConfirmed r=perry.mcmanis
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: