Closed Bug 1601827 Opened 5 years ago Closed 5 years ago

UpdatePing ready telemetry not being sent for staged updates

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox-esr68 --- unaffected
firefox71 --- wontfix
firefox72 --- fixed
firefox73 --- fixed

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

This was brought to my attention by tdsmith. This wasn't caught since there was only a test for the download without staging and not for the download with staging.

Note: it would be nice to rename these notifications which were added for the UI. Previously, an update-staged notification was sent and then a update-downloaded notification was sent so the UI was shown in case staging failed. It would be clearer to use the same notification topic with a generic name such as update-ready for both of these since we don't want to send an update-downloaded notification when staging is enabled since we don't want to show UI until the update is ready.

Changes UpdatePing.jsm so it observes 'update-staged' notifications and adds a test so this shouldn't break in the future

Pushed by rstrong@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d67b8549cb5e Fix the UpdatePing 'ready' telemetry ping for staged updates. r=mhowell
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Flags: in-testsuite+

Is this something we want to uplift to Beta?

Flags: needinfo?(robert.strong.bugs)

Comment on attachment 9114077 [details]
Bug 1601827 - Fix the UpdatePing 'ready' telemetry ping for staged updates. r=mhowell

Beta/Release Uplift Approval Request

  • User impact if declined: Update 'ready' telemetry won't be available
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The patch is simple, there are automated tests, and this patch has baked on nightly. I've also checked telemetry to verify that the telemetry is being reported on nightly.
  • String changes made/needed: None
Flags: needinfo?(robert.strong.bugs)
Attachment #9114077 - Flags: approval-mozilla-beta?

Comment on attachment 9114077 [details]
Bug 1601827 - Fix the UpdatePing 'ready' telemetry ping for staged updates. r=mhowell

fix for update telemetry, approved for 72.0b10

Attachment #9114077 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: