This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 473
Closes #2727: Rust SyncManager integration #4480
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grigoryk
changed the title
WIP Rust SyncManager integration first pass
WIP Rust SyncManager integration
Sep 20, 2019
6 tasks
grigoryk
changed the title
WIP Rust SyncManager integration
Rust SyncManager integration
Sep 20, 2019
grigoryk
added
the
work in progress
Not ready to land yet. Work in progress (WIP).
label
Sep 20, 2019
grigoryk
commented
Sep 20, 2019
...ts/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/sync/SyncManager.kt
Outdated
Show resolved
Hide resolved
Merged
5 tasks
grigoryk
changed the title
Rust SyncManager integration
Closes #2727: Rust SyncManager integration
Sep 20, 2019
Amejia481
reviewed
Sep 23, 2019
...nts/browser/storage-sync/src/main/java/mozilla/components/browser/storage/sync/Connection.kt
Outdated
Show resolved
Hide resolved
Amejia481
reviewed
Sep 23, 2019
...r/storage-sync/src/main/java/mozilla/components/browser/storage/sync/PlacesHistoryStorage.kt
Outdated
Show resolved
Hide resolved
Amejia481
reviewed
Sep 23, 2019
grigoryk
force-pushed
the
syncManager
branch
8 times, most recently
from
September 25, 2019 07:54
bc06b00
to
67f7389
Compare
Reminder to self: flag @Dexterp37 and @linacambridge to review Glean changes. |
grigoryk
force-pushed
the
syncManager
branch
3 times, most recently
from
September 26, 2019 03:01
fa0344c
to
4ac03ab
Compare
grigoryk
removed
the
work in progress
Not ready to land yet. Work in progress (WIP).
label
Sep 26, 2019
Today's version of |
Dexterp37
approved these changes
Sep 26, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me from a Glean point of view. Please note that the following things are required before merging this:
- test that sync data is still collected properly after your change. You can do so by using the Glean ping debug view either in a sample app or in any product using these components (Fenix?)
- add
support-sync-telemetry
to the list of probe-scraper dependencies and update the entries for the components depending on it; you can coordinate with @fbertsch and @mdboom about this.
grigoryk
force-pushed
the
syncManager
branch
from
September 27, 2019 01:08
4ac03ab
to
0ed3c43
Compare
We have a failing task on tc |
Yeah, it passes locally though :( |
grigoryk
force-pushed
the
syncManager
branch
from
September 27, 2019 01:51
0ed3c43
to
a69a81b
Compare
TODO before landing:
|
This was referenced Sep 27, 2019
grigoryk
force-pushed
the
syncManager
branch
7 times, most recently
from
September 27, 2019 07:19
f88002e
to
934e7a2
Compare
csadilek
approved these changes
Sep 27, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
grigoryk
force-pushed
the
syncManager
branch
2 times, most recently
from
September 27, 2019 19:25
7fc14d2
to
4034a61
Compare
We will need to record sync telemetry from the sync manager. We already have telemetry related code, but at the DB Connection level. This patch refactors this code into a singleton object that may be used from within any context in which there's a ping object available that needs to be processed.
This allows us to use the same Glean definitions and processing logic from multiple components. In our case, it'll be browser-storage-sync (for non-AccountManager syncing) and services-firefox-accounts (SyncManager integration)
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
grigoryk
force-pushed
the
syncManager
branch
from
September 27, 2019 19:39
4034a61
to
d9abf6e
Compare
bors r=csadilek |
bors bot
pushed a commit
that referenced
this pull request
Sep 27, 2019
4480: Closes #2727: Rust SyncManager integration r=csadilek a=grigoryk Fixes #2727. This has most of the pieces in the right places. I think all of the necessary public API changes are done. It mostly works, except that I've hit some bugs in the rust library: - mozilla/application-services#1831 (blocker) - mozilla/application-services#1829 (minor) Fenix PR that enables "choose what to sync" on top of this: mozilla-mobile/fenix#5450 Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Build succeeded |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2727.
This has most of the pieces in the right places.
I think all of the necessary public API changes are done.
It mostly works, except that I've hit some bugs in the rust library:
Fenix PR that enables "choose what to sync" on top of this: mozilla-mobile/fenix#5450
Pull Request checklist
After merge