Skip to content
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

Some URLs are not syncing properly with all the devices in sync chain #25650

Closed
soner-yuksel opened this issue Sep 27, 2022 · 2 comments
Closed
Labels
bug closed/invalid feature/sync OS/Android Fixes related to Android browser functionality OS/Desktop OS/iOS Fixes related to iOS browser functionality QA/Yes

Comments

@soner-yuksel
Copy link

Description

Not all the TYPED History is being synced between every device in sync chain.

The TYPED history is working with intermittent problems and which url syncs when is not consistent at all. It almost feels like there is window like period it syncs and it stops after.

More than one occasion we witnessed a typed url from a device might appear in one device but not in another. And in addition when a typed url is sent from a device, there is an increase in number Typed Urls sometimes this url being synced from other device is not shown inside Sync Node Browser and does not appear in History at all.

Steps to Reproduce

  1. Add multiple devices to Sync Chain including Desktop / Android / iOS
  2. Enable History Sync from settings for all devices
  3. Add typed urls from different devices one by one and observe which urls are being synced with which device

Actual result:

Not every url is synced, sometimes url is not synced with any device, sometimes it synced partially with some of the devices.

For instance brave.com is typed on Android device and it is received on iOS device however it is not synced on Desktop.

Or reddit.com is typed on desktop, received by android but not iOS or reddit.com/r/news is typed on iOS which is received by Android but not on desktop. And some urls typed are not received by either of devices.

Screen Shot 2022-09-27 at 12 06 45 PM

Also on similar note as mentioned above what is observed on desktop side inside Sync Internals is sometimes when a typed url is entered from a device, the increase in number Typed Urls can be observed but this url being synced from other device is not shown inside Sync Node Browser and does not appear in History at all.

internal1

Expected result:

The typed urls should sync across all the devices properly.

Reproduces how often:

The issue is 100 percent reproducible as long as more urls are being typed eventually this will be observed. Which means it is not depending on what urls is typed on which device.

Desktop Brave version:

Latest Nightly on MacOS / Windows

Android Device details:

  • Install type (ARM, x86): Any
  • Device type (Phone, Tablet, Phablet): Any
  • Android version: Latest Google Play Store version

Version/Channel Information:

N/A

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? N/A
  • Does the issue resolve itself when disabling Brave Rewards? N/A
  • Is the issue reproducible on the latest version of Chrome? NO. It is working properly on Chrome (tested using Chrome on desktop and mobile.

Miscellaneous Information:

The behaviour is tested on Chrome and it is working as expected. cc @Brandon-T @AlexeyBarabash

@soner-yuksel soner-yuksel added bug feature/sync QA/Yes OS/Android Fixes related to Android browser functionality OS/Desktop OS/iOS Fixes related to iOS browser functionality labels Sep 27, 2022
@AlexeyBarabash AlexeyBarabash self-assigned this Dec 7, 2022
@AlexeyBarabash
Copy link
Contributor

I have prepared the PR brave/brave-core#16478 to help understand what is happening with synced history entries. For now I don't see inconsistency. TYPED_URL page transition is synced everywhere.

@AlexeyBarabash
Copy link
Contributor

Also the PR brave/brave-core#16705 was merged. Since v1.50.6 this option is available under the brave://flags Send All History to Brave Sync. With this option enabled all the history visits except RELOAD are sent to sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug closed/invalid feature/sync OS/Android Fixes related to Android browser functionality OS/Desktop OS/iOS Fixes related to iOS browser functionality QA/Yes
Projects
None yet
Development

No branches or pull requests

3 participants