Closed Bug 758324 Opened 14 years ago Closed 11 years ago

Add a max fail count pref for background update errors to disable background updates

Categories

(Toolkit :: Application Update, defect)

12 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bbondy, Unassigned)

References

Details

It would be good to have a new pref similar to the app.update.service.errors pref that keeps track of the number of errors occurred using background updates. Once this pref reached some max threshold, it would reset itself to 0 and set app.update.stage.enabled to false. Since we are considering all errors we might want to reset this pref after a complete background update is successful back to 0. It should be for all errors except for the service related errors.
If we reset it back to 0 after any success maybe keep the max count low, maybe something like 3 or 5.
++ on this bug :)
Do we want to take this in the same release that ships background updates? Note that I'd want to work on this anyways, just trying to figure out the priority.
Should we include a telemetry probe with this so we can get a measure of how many installs have bgupdates disabled due to failures?
We already report the latest update status via telemetry. Is that not enough?
Maybe it is enough, I don't know much about the various telemetry probes for update status. I'm just not sure if our current probes would be able to tell us how many installs have bgupdates auto-disabled.
I think it would be a good thing to have telemetry data for both prefs but that doesn't need to be done as part of this bug. There is a tracking bug for telemetry data for updates (Bug 715942) and it contains the suggestion for the first pref in Bug 715942 Comment 3 point 3. But since this pref is new there is no bug or post about it.
Depends on: 765304
Blocks: 765304
No longer depends on: 765304
This was from 2012 and we haven't had a pressing need for it. Marking as wontfix.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.