resolve Copilot account stuck issue when user is removed by another user#56902
resolve Copilot account stuck issue when user is removed by another user#56902dangrous merged 2 commits intoExpensify:mainfrom
Conversation
|
Due to slow internet connections or other factors, Pusher data may sometimes be delayed or not received. If the Copilot attempts to reconnect to their main account during this time, an optimistic error message is temporarily displayed: To address this, I’ve added a commit to suppress the optimistic error message in delegated access failure handling: suppress optimistic error message in delegated access failure handling. @dangrous @c3024, please review and advise. Before commit - Error message 56165-7-WithErrorMEssage.mp4After commit - No Error message 56165-6-NoErrorMEssage.mp4 |
|
That failureData is for all cases of responses that send a failed response code, so I think we should retain that generic error message in failureData. I don’t think the case of the copilot switching to the main account before the Pusher update gets merged can be addressed without adding a lot of complexity. So, IMO, it is best left as it is. |
Reviewer Checklist
Screenshots/VideosAndroid: NativedeleteAndroid.movAndroid: mWeb ChromedeleteAndroidmWeb.moviOS: NativedeleteiOS.moviOS: mWeb SafarideleteiOSmWeb.movMacOS: Chrome / SafarideleteChrome.movMacOS: DesktopdeleteDesktop.mov |
|
Hi @dangrous, Could you please take a look when you get a chance? Let me know if you need any additional information. Thank you for your time and effort! |
|
Hi! I'm OOO this week but will take a look when I have a moment! |
|
Hi @dangrous, Thank you for the update! No rush—please review whenever you’re back and have a moment. Enjoy your time off! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/dangrous in version: 9.1.6-0 🚀
|
|
🚀 Deployed to staging by https://github.com/dangrous in version: 9.1.6-0 🚀
|
|
It is working fine for me. There must be some issue with the Pusher update for this time. @m-natarajan Is it continuously reproducible on iOS for you? |
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.6-1 🚀
|
|
@m-natarajan is this still reproducible? We need to know whether another solution needs to be looked into or not. Thanks! |
|
Retested and unable to reproduce FNVS0251.1.MP4 |
|
Awesome! |

Explanation of Change
Fixed Issues
$ #56165
PROPOSAL: #56165 (comment)
Tests
Offline tests
NA
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: mWeb Chrome
56165-2-Android-mWeb.mp4
Android: Native
iOS: Native
iOS: mWeb Safari
56165-4-iOS-mWeb-Safari-2.mp4
MacOS: Chrome / Safari
56165-5-mscOS-Chrome.mp4
MacOS: Desktop
56165-6-MacOS-Desktop.mp4