-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Account – Infinite loading spinner when closing an account #49532
Comments
Triggered auto assignment to @RachCHopkins ( |
@RachCHopkins FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
I think this is a regression from PR #48696. The backend is successfully closing the account, and I even get the confirmation email that the account is deleted. But the problem is that our frontend isn’t receiving the Pusher event. Since the changes in the PR mentioned above affected the Pusher code, I believe that’s what’s causing the issue. I tested it by removing the changes from that PR, and it worked fine. Pusher is important because it allows the frontend to get real-time updates from the backend. This means the frontend knows right away when something, like account deletion, happens without needing a manual refresh. If the frontend isn’t connected to Pusher properly, it won’t get these updates, which is likely why the account still appears active on the frontend, even though the backend processed the deletion. |
I believe #48696 is not the cause of this bug, as the changes in this PR only applies to Expensify Guide member. But I'll take a closer look regardless and will open a follow-up PR as soon as possible if this is actually a regression. |
This bug is reproduced in production: Screen.Recording.2024-09-23.at.22.53.41.mov |
@RachCHopkins Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Thanks for confirming @daledah! |
@jjcoffee were you looking at this bug? Do you mind if I assign you as a C+? |
If this is true, I would be C+ as regression. Not tested yet though. |
I agree the PR could not be the reason as we're only subscribing guides to specific channel and since the user experiencing the issue is not a guide. |
I had a look at the server side code and we're only returning pusher response for CloseAccount API command. I think we should return the API response too for the user taking an action and that should probably fix this issue. Will make a change and see if we still are able to reproduce the issue |
@MonilBhavsar I'll hold off on adding any labels here. Looks like it's potentially Internal? |
Yes, this is internal issue |
Got PR in review! |
Are there any steps left here @MonilBhavsar? |
Thanks for the comment. No, this is fixed! We can close this as it was all internal |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v9.0.39-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
User is signed out from the app and the account is closed successfully
Actual Result:
Infinite loading spinner is displayed in the RHP and the user is not logged out from the app
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6609849_1726830617234.2024-09-20_14_01_58.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: