-
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
App crashes when attempting to open an #admins room #44583
Comments
Triggered auto assignment to @CortneyOfstad ( |
Triggered auto assignment to @robertjchen ( |
👋 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:
|
Fixed on latest main: Screen.20Recording.202024-06-28.20at.205.mp4 |
got it, thanks! |
@neonbhai Sorry to confirm, you mentioned its fixed on main, but is it fixed on staging? |
@mountiny hi, cannot reproduce on staging: Screen.Recording.2024-06-28.at.2.30.36.PM.mov |
@mountiny we are still able to reproduce this bug and clicking on the WS right after creating the WS also crashes the app. Recording.265.mp4 |
@neonbhai can you try in offline? maybe its issue with optimistic data |
I can reproduce the crash when creating a workspace -> changing name -> switching to it from workspace switcher: Screen.Recording.2024-06-28.at.5.01.28.PM.movThe console error is for maximum update depth exceeded. Ref link Crash doesn't reproduce for me for the system message steps (both online and offline): Attempt 1 (offline)Screen.Recording.2024-06-28.at.5.05.38.PM.movAside: We don't set an optimistic system message for toggling of category/tags Attempt 2 (online)Screen.Recording.2024-06-28.at.5.05.38.PM.movcc: @mountiny |
Was this a regression from a recent change? 👀 |
@neonbhai Does the stack trace indicate which component is exceeding the max update depth? |
Looks like its coming from the ReportScreen component: |
At first glance this seems suspicious: #44412 |
#44412 is not the cause :/ |
The issue has either something to do with:
|
I can't seem to reproduce this on desktop |
I think this is the cause #44559 Namely the code that calls Need to set
|
@jasperhuangg Awesome investigation! 🙇 |
@robertjchen @roryabraham Still looking into this, it's either caused by #44412 or #44559, or a combination of the two 😆 I'm trying every possible combination now. |
Okay yep confirmed it's caused by #44412, reverting that fixes things for me locally |
Looks like @roryabraham is OOO today so in the interest of pushing deploy forward I'm gonna go ahead and revert that PR |
btw @roryabraham here's the error |
Reverting that PR will cause another regression @jasperhuangg edit: sorry, was thinking of another PR. This one should be fine to revert |
@jasperhuangg can you try this PR and see if it solves the problem? |
If it does, you could actually take it a step further and just remove the |
Came across very similar warning to #44583 (comment) while investigating this on native device, asking to memoize getSnapshot call in useOnyx.ts |
Ah shoot @roryabraham jumped the gun and missed your messages, my bad! The CP is already under way and it looks like that PR you linked is still an early draft–do you mind if we try to get it out in tomorrow's deploy? I'd feel better if we had some more time to test everything thoroughly without any time pressure today. |
Can't reproduce this anymore on staging |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.3-1
Reproducible in staging?: Yes
Reproducible in production?: No
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: @francoisl
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719528213578329
Action Performed:
For example, create, delete, rename or disable a category ; add tags, etc.
Expected Result:
Workspace Admin room opens
Actual Result:
App crashes when opening admin room
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-06-27.at.3.41.34.PM.mov
Recording.263.mp4
Recording.262.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: