status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

Backed up contacts do not appear after account restoration for more that 1 minute (sometimes they don't restore at all)

Open pavloburykh opened this issue 3 years ago • 2 comments

Sometimes backed up contacts do not appear for more that 1 minute after account has been restored.

Below case was caught by e2e tests and demonstrates contacts are not appearing after 120 seconds of waiting for them which has lead to test failure.

Here you can see a video of test run https://app.saucelabs.com/tests/246fb0f6a48f4046a83997e5a406651b?auth=db55f3c91771580c7439817abd3c9717#64

Logs of virtual device which caught a bug test_group_chat_cant_add_more_twenty_participants_geth.log

Steps (do not guarantee reproduction)

  1. Restore an account that has backed up contacts
  2. Go to Profile tab
  3. Pay attention at contacts menu
  4. See how much time it will take for contacts to appear

Actual result: sometimes it takes more than 1 minute for contacts to appear

Expected result: we should decide what time period of showing backed up data is acceptable for us. From user perspective it should be at least less that 1 minute.

Additional Information

  • Status version: nightly
  • Operating System: Android, iOS

pavloburykh avatar Sep 15 '22 14:09 pavloburykh

Sometimes restoring contacts from backup may take up to 1 hour. Couldn't save a log for this, but it may be an issue and it is sometimes may block our e2e, where timeout for this action is set for 120 sec.

cc @cammellos

churik avatar Sep 16 '22 13:09 churik

When trying to reporoduce issue for upgrade, faced that contacts were not restored at all (waiting > 1h) Logs (DEBUG): logs (7).zip

churik avatar Sep 19 '22 12:09 churik

Tested locally with my own multipacc, and in the worst cases it took up to 2 minutes due to lack of responses from mail servers and reconnection.

Also tested on the multiaccount provided by @churik which was claimed to have around 20 synced contacts in backup. It seems that either backup messages which contained those 20 contacts become outdated or never existed, because fetching of backup works as expected but backup messages do not contain 20 contacts.

rasom avatar Oct 06 '22 13:10 rasom

don't think it is still relevant, closing

churik avatar Jan 26 '23 17:01 churik