-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2025-02-04] Frequent Client Hanging and Loss of Workspace List #54802
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
Triggered auto assignment to @rafecolton ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Will take a look today |
Hmm, I am not personally having the issues described in OP in my account. Seems like maybe this could be an issue with David's account specifically, which I'm sure has many more historical reports in it than mine. I feel like this might be one where having David share some of the performance data related to his account when he experiences this issue could be a good next step. But curious what you think @rafecolton? |
If we think it's specific to David's account, let's see if he's still experiencing it daily with the latest version. If so, perhaps he can work an external contributor to debug it and/or share performance data whenever it happens next? |
Sounds good, asked here! |
Agree it would be good to get a profile trace and then we can see the root cause of the UI hang |
Bumped David to share the troubleshooting info Callstack requested |
I am no longer doing the newdot quality chore and need to reassign this issue to focus on SOX and PCI |
Triggered auto assignment to @carlosmiceli ( |
We are discussing this further here |
Hey, Tomasz from Callstack here. I started investigating it based on David's exported Onyx state. I haven't experienced workspace list disappearance yet, but based on the state, I was able to reproduce app freezes when switching between the chats. This is mainly because we are using Trace before:
After my changes, it is not called at all and switch between chats happen immediately. As i said before, it still needs a bit more testing and also verifying if it fixes core issue with the loss of workspace list. I'll give you another update tomorrow. |
Hey, while working on this one I have found one more performance improvement related to the workspace list and switching workspaces Background Switching between workspaces on large accounts is noticeably slow, causing delays in the user experience. Problem Every time a workspace is switched, the app processes all reports, running them through several functions to determine if they should appear in the LHN. This approach is inefficient, especially for accounts with a large number of reports, as it performs unnecessary computations on reports that don’t belong to the current workspace. Solution Optimize the |
@TMisiukiewicz great extra find! |
@carlosmiceli @joekaufmanexpensify Please assign me here as C+, I reviewed this PR: |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
PR on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-02-04. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-djouah @joekaufmanexpensify @rayane-djouah The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Assigned @sobitneupane because you reviewed #55604 |
This is an interesting one. There are 3 separate PRs here. One reviewed by @sobitneupane and two by @rayane-d. @rayane-d I am thinking that $250 is fair for yours because though there were two, one had a regression. LMK if any concerns with that! |
Otherwise, all set to issue payment. We need to pay:
|
Please request payment at your earliest convenience. Going to close this as it's otherwise all set! |
Requested in NewDot |
📣 @rayane-d! 📣
|
$250 approved for @rayane-d |
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: 9.0.80-6
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation (hyperlinked to channel name): quality
Action Performed:
Expected Result:
The application should function continuously without frequent hanging. Both "read" and "write" operations should work as expected without requiring manual refreshes.
Actual Result:
The app frequently hangs, causing loss of the workspace list and failure of "read" operations, while "write" operations continue to work.
Workaround:
Refresh the application to temporarily resolve the issue.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: