-
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
[UX Reliability] HIGH: Investigate and fix using multiple GetMissingOnyxMessages
and ReconnectApp
calls to load all Onyx data
#42136
Comments
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext. |
GetMissingOnyxMessages
and ReconnectApp
calls to load all Onyx data GetMissingOnyxMessages
and ReconnectApp
calls to load all Onyx data
Triggered auto assignment to @MitchExpensify ( |
@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@muttmuure is there an SO for how to process these from a BZ standpoint? I'm not seeing one 👀 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@gedu since you fixed ReconnectApp in that issue I linked above, could you investigate this one and tidy up these redundant ReconnectApp calls when you've not visited the site in a while? |
@MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Friendly bump on the above @gedu |
Sorry, it seems I missed this message, yes, I can take a look, @muttmuure do you have any reproduction steps? what does "not visited in a while" mean? (how long) |
@MitchExpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
It is getting hard to reproduce it, I'm trying different ways to reproduce it. Would be really helpful if someone can help me on getting some steps, so if I find the fix I can make sure it is solved. |
Any help here is appreciated, @muttmuure 🙇 |
@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
No news here, trying to reproduce, I think the bugs is related with SequenceQueue process not running. NetInfo is trying to reconnect when it "detects" there is an internet connection so is trying to do fetch ReconnectApp with Policies but the request never fired, so it get into the queue |
@MitchExpensify Still overdue 6 days?! Let's take care of this! |
I'm a little lost on this one @muttmuure, do you have any recs on how to move it along? |
I'm looking into other Critical bugs, I will keep trying to look into this soon |
@MitchExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Just to be sure, do you have a proposal for a fix @gedu ? |
Sorry my previous comment was for another issues, I'm looking into 2 critical ones, and as soon as I finish them I will keep looking here. Is this still a thing? is still happening? |
@muttmuure, Sorry, I'm a bit lost on this one. Do we still need this fixed? |
Damn I keep missing this. I think this is resolved |
Sorry! |
hah no worries, I'll close based on that! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
What performance issue do we need to solve?
e.g. memory consumption, storage read/write times, React native bridge concerns, inefficient React component rendering, etc.
When you haven't visited a chat for a while, we run
GetMissingOnyxMessages
(twice) thenReconnectApp
twice. We are loading all Onyx data multiple times before showing it to the end user.When you have not used the app in a while (I just switched from staging to prod and had not used prod in a while) this happens:
What is the impact of this on end-users?
List specific user experiences that will be improved by solving this problem e.g. app boot time, time to for some interaction to complete, etc.
This series of operations creates additional work for the client, when all the end user wants is for the app to:
Whereas right now the additional "loading" operations mean that there is a delay to these events taking place.
List any benchmarks that show the severity of the issue
Please also provide exact steps taken to collect metrics above if any so we can independently verify the results.
I've started a discussion in #newdot-quality here
Proposed solution (if any)
Please list out the steps you think we should take to solve this issue.
We need to investigate why there are these redundant
ReconnectApp
andGetMissingOnyxMessages
calls, and make sure that we can load all missing data in one performant call.List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
Note: These should be the same as the benchmarks collected before any changes.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.4.73-3
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @muttmuure
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1715611536548199
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: