status-mobile
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)
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)
- Restore an account that has backed up contacts
- Go to Profile tab
- Pay attention at contacts menu
- 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
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
When trying to reporoduce issue for upgrade, faced that contacts were not restored at all (waiting > 1h) Logs (DEBUG): logs (7).zip
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.
don't think it is still relevant, closing