-
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
[HOLD for payment 2024-11-20] [$250] Search - App freezes after cache and cookie clean of chat filter #49282
Comments
Triggered auto assignment to @Christinadobrzyn ( |
We think this issue might be related to the #wave-control |
Triggered auto assignment to @tylerkaraszewski ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Asking everyone in this PR to take a peek - #49258 |
I can't reproduce this issue on the latest main Screen.Recording.2024-09-17.at.00.17.28.mov |
Job added to Upwork: https://www.upwork.com/jobs/~021835730592300773674 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
I cannot reproduce in staging, it is testing feature |
Screen.Recording.2024-09-16.at.19.28.08.mp4 |
Multiple testers were able to reproduce this one. Let me check now again. |
Still reproducible but I am not sure what should I see. Check please my video Recording.2884.mp4 |
@izarutskaya thanks, looks like it hangs exactly at the same point. So today I was finally able to reproduce it and found the root cause. When we open the Search in chats selector, we initialize the option list to load the items that are visible in the list: App/src/components/Search/SearchFiltersChatsSelector.tsx Lines 46 to 48 in 65fa00a
This means, now every time the App/src/components/OptionListContextProvider.tsx Lines 82 to 128 in 65fa00a
As you can see, it loops through all the personal details, and for each single one of them, it loops through all reports using And here is the confirmation that loops mentioned earlier are responsible for that: In this useEffect we have early return comparing the previous value of personal details with the current one, and it should do the work in all the other cases where this value gets updated. However in here it's kinda specific scenario, and it will never fall into this early return because the previous value of personal details is just an empty object, so we run the code for each one of them. Haven't tested any solution yet, but first and easiest thing that comes to my mind is just setting |
PR open: #51725 mind checking if the issue is gone on your side when testing out this branch? |
I'll be ooo until the end of the week so @MrRefactor will take care of this if needed |
I will adjust PR and upload all of the recordings necessary! |
I have tested the branch and confirmed that it resolves the bug 👍 - #51725 (comment) |
Update for Melvin Monitoring PR - #51725 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.60-3 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 2024-11-20. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-djouah @Christinadobrzyn @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] |
moving to daily since the payment date is coming Payment summary here - #49282 (comment) @rayane-djouah Do we need a regression test for this? |
BugZero Checklist:
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment day - no regressions, Payouts due:
Closing this out as complete |
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.35-7
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : #49258
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition; logged in application.
Expected Result:
App doesn't crash. App doesn'r freeze
Actual Result:
App is freezed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6605499_1726494649775.filter_chat.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: