gecko-dev/services
Lina Cambridge 0c9500bf00 Bug 1552621 - Record shutdown blocker progress in the bookmarks mirror. r=markh,tcsc
This commit introduces a `mozISyncedBookmarksMirrorProgressListener`
interface for capturing telemetry and updating shutdown blocker state
after each step of the merge, instead of waiting until the end. This
also means we can also record events for interrupted and failed merges,
and pass validation data through to the Sync ping.

Shutdown hang crash reports now have a `steps` field, indicating the
sequence of completed steps and when they were recorded. If the last
step in the hang report is `fetchLocalTree`, we know the merger is
blocked on `fetchNewLocalContents`. If the last step is
`fetchNewLocalContents`, the merger is stuck at `fetchRemoteTree`,
since that's the next step after `fetchNewLocalContents`.

This commit also implements `Driver::record_telemetry_event` to
dispatch progress callback runnables to the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D31950

--HG--
extra : moz-landing-system : lando
2019-06-03 23:04:37 +00:00
..
common Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl 2019-05-28 16:40:42 -07:00
crypto Bug 1544834 - Replace deprecated generics in test code r=evilpie 2019-04-17 19:03:19 +00:00
fxaccounts Bug 1539595 - Reject FXA messages if they don't come from the correct type of process r=rfkelly 2019-05-29 11:32:15 +00:00
settings Bug 1553831 - Fetch metadata on sync even if local data is up-to-date r=glasserc 2019-06-03 10:02:13 +00:00
sync Bug 1552621 - Record shutdown blocker progress in the bookmarks mirror. r=markh,tcsc 2019-06-03 23:04:37 +00:00
moz.build