Closed Bug 1917651 Opened 1 year ago Closed 1 year ago

Ensure that the update success ping is sent before Firefox shuts down

Categories

(Toolkit :: Application Update, defect)

defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- wontfix
firefox133 --- wontfix
firefox134 --- fixed

People

(Reporter: bytesized, Assigned: ericchen647)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidedi-ope])

Attachments

(1 file)

We knew that the patch for Bug 1642039 did not ensure that UpdatePing.handleUpdateSuccess resolves before Firefox exits. We considered it low enough of a risk that we did not want to introduce that additional complexity into that already complex patch. But we should still fix this and make sure that we don't shutdown without allowing the function to run to completion.

A reasonable mechanism for this might be using a deferred task that is added as a shutdown blocker, like we do here. This would allow us to make UpdatePing.handleUpdateSuccess synchronous so that we wouldn't need to worry about awaiting on it at its call site.

Set release status flags based on info from the regressing bug 1642039

:erchen, since you are the author of the regressor, bug 1642039, could you take a look?

For more information, please visit BugBot documentation.

erchen is on PTO. I think we will have someone else available to work on this soon.

Flags: needinfo?(erchen)
Whiteboard: [fidedi-ope]

Hey any update on someone looking at this for 132? 132 is going out to beta next week. I'm unclear how bad the S3 is here exactly.

Flags: needinfo?(bytesized)

I'm not really that concerned with ensuring this is fixed before 133. It really shouldn't affect anyone with browser sessions longer than a few seconds. When it does happen, it does not affect anything user-facing - telemetry only.

Flags: needinfo?(bytesized)
Assignee: nobody → erchen
Pushed by erchen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be8a232a8424 Add a shutdown blocker to ensure update ping will be sent before Firefox exits r=bytesized,firefox-desktop-core-reviewers ,mossop
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

The patch landed in nightly and beta is affected.
:erchen, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox133 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(erchen)

Setting Fx133 to wontfix, based on comment 4 this does not need a release uplift.
Keeping NI open in case there's any disagreement.

Flags: needinfo?(erchen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: