-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration of duplicated bookmarks for sync (2) #4940
Conversation
PR is in progress. This PR still needs to
cc @jsecretan |
f0537fc
to
a4fdcc2
Compare
CI failed because fetched wrong chromium, 80.0.3987.132 instead of 80.0.3987.149, removed b-b and restarted |
3263d1f
to
7007cb1
Compare
7007cb1
to
402f445
Compare
402f445
to
95104c2
Compare
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.
lgtm now
95104c2
to
e920a51
Compare
@fmarier verified the last change works good on his broken profile. CI failed because I didn't update test. Now it is updated. Removed all CI-skip-xxxx labels. |
macOS build failed with weird error
All other is green: https://ci.brave.com/job/brave-browser-build-pr/job/sync_dup_obj_id_migration2/ . |
CI completed with status
|
The same error
|
e920a51
to
96ba1a4
Compare
Removed b-b branch and rebased to get another try with CI. |
Migration of duplicated bookmarks for sync (2)
consider creation time can be equal; fixes brave-browser#8358
Resolves brave/brave-browser#8358
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
I. Test of object id migration
Build browser without bookmarks metainfo fix and without object_id migration
Enable sync on devices A and B
Create sync chain between devices A and B
On device A create bookmarks A.com, AA.com, AAA.com; wait until they will not appear on device B
Disable sync through flags on device A
Restart browser on device A
On device A select 3 bookmarks, copy and paste them 3 times: before original, inside original and after original
Enable sync through flags on device A
Close browser device A
Build browser with bookmarks metainfo fix and with object_id migration
Open browser device B
Order of bookmarks between A and B must be the same. It takes 10 minutes for changes to appear on device B because of resend.
For step 14 need to wait 10 minutes, because 1st attempt of send updates fails because js lib is not yet initialized, so actual send happens during re-send procedure.
II. Test to ensure orders are ok if bookmarks are moved when sync is off
For step 7 need to wait 10 minutes, because 1st attempt of send updates fails because js lib is not yet initialized, so actual send happens during re-send procedure.
Reviewer Checklist:
After-merge Checklist:
changes has landed on.