Closed Bug 1907127 Opened 2 years ago Closed 1 year ago

Add a new update state to delay installations

Categories

(Toolkit :: Application Update, task, P3)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: max, Assigned: bytesized)

References

Details

(Whiteboard: [fidedi])

Attachments

(3 external files, 5 obsolete files)

No description provided.
Whiteboard: [fidedi]
Type: enhancement → task
Priority: -- → P3
Assignee: nobody → mpohle
Status: NEW → ASSIGNED
Depends on: 1922395
Duplicate of this bug: 1921496

In this patch stack, we will want to be able to know if the install date stored in the update object is actually a legitamate value or just its default initialization value so this changeset adds a member to keep track of that.

Note that this does not add usingDefaultInstallDate to the nsIUpdate interface.

No longer depends on: 1922395
Attachment #9429534 - Attachment description: WIP: Bug 1907127 - Add support for writing update.timestamp r=nalexander! → WIP: Bug 1907127 - Add support for writing update.timestamp r=nrishel!,nalexander!
Attachment #9429533 - Attachment description: WIP: Bug 1907127 - Adds `usingDefaultInstallDate` to `Update` objects r=nrishel!,nalexander! → Bug 1907127 - Adds `usingDefaultInstallDate` to `Update` objects r=nrishel!,nalexander!
Attachment #9429534 - Attachment description: WIP: Bug 1907127 - Add support for writing update.timestamp r=nrishel!,nalexander! → Bug 1907127 - Add support for writing update.timestamp r=nrishel!,nalexander!
Attachment #9434102 - Attachment description: WIP: Bug 1907127 - Read update.timestamp at startup and use it to delay updates r=nrishel!,nalexander! → Bug 1907127 - Read update.timestamp at startup and use it to delay updates r=nrishel!,nalexander!
Attachment #9414224 - Attachment is obsolete: true
Pushed by rsteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb625b7eb786 Adds `usingDefaultInstallDate` to `Update` objects r=nrishel,nalexander,application-update-reviewers https://hg.mozilla.org/integration/autoland/rev/b9604bb0b576 Add support for writing update.timestamp r=nrishel,nalexander,application-update-reviewers https://hg.mozilla.org/integration/autoland/rev/77099a71e959 Read update.timestamp at startup and use it to delay updates r=nrishel,nalexander,application-update-reviewers

Backed out for causing build bustages

Backout link

Push with failures

Failure log

Flags: needinfo?(mpohle)
Pushed by rsteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/608d68ca5b0e Adds `usingDefaultInstallDate` to `Update` objects r=nrishel,nalexander,application-update-reviewers https://hg.mozilla.org/integration/autoland/rev/8f6065837da3 Add support for writing update.timestamp r=nrishel,nalexander,application-update-reviewers https://hg.mozilla.org/integration/autoland/rev/118a3fe99c1e Read update.timestamp at startup and use it to delay updates r=nrishel,nalexander,application-update-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Flags: needinfo?(mpohle)
Assignee: mpohle → bytesized
Regressions: 1941931
Duplicate of this bug: 1959089

Note, this wasn't a perfectly clean backout because I am not backing out Bug 1938657, but I am very confident in it because the necessary merge was simply to remove the added lines from shared_metrics.yaml instead of metrics.yaml.

Comment on attachment 9480367 [details]
Backed out changeset a4acaa6581bb (Bug 1907127 - Make common test functionality more self contained) r=nrishel!

Revision D246291 was moved to bug 1960981. Setting attachment 9480367 [details] to obsolete.

Attachment #9480367 - Attachment is obsolete: true

Comment on attachment 9480368 [details]
Backed out changeset 0743d5998d6a (Bug 1907127 - Add testing for the multi session install lock feature) r=nrishel!

Revision D246292 was moved to bug 1960981. Setting attachment 9480368 [details] to obsolete.

Attachment #9480368 - Attachment is obsolete: true

Comment on attachment 9480371 [details]
Backed out changeset 811fa9d7c8a6 (Bug 1907127 - Add telemetry to monitor reasons why we don't apply updates at startup) r=nrishel!

Revision D246295 was moved to bug 1960981. Setting attachment 9480371 [details] to obsolete.

Attachment #9480371 - Attachment is obsolete: true

Comment on attachment 9480372 [details]
Backed out changeset 2a19a01424f1 (Bug 1907127 - Remove other multi-instance checks now that we check at startup) r=nrishel!

Revision D246297 was moved to bug 1960981. Setting attachment 9480372 [details] to obsolete.

Attachment #9480372 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: