-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-10-14] Debugging feature: Import Onyx State #47786
Comments
Triggered auto assignment to @dylanexpensify ( |
@dylanexpensify Huh... This is 4 days overdue. Who can take care of this? |
@TMisiukiewicz will you be working on this one? |
@dylanexpensify I can see here on Slack @muttmuure was discussing this proposal internally, do we already have a decision if we're going to work on this one? If yes, feel free to assign me 👍 |
@TMisiukiewicz, @dylanexpensify Eep! 4 days overdue now. Issues have feelings too... |
Back to work on this 👍 |
TY! |
@TMisiukiewicz @dylanexpensify 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! |
not overdue, I did not have much time to move forward with it due to React Universe Conf, but I am back now. I already have web implementation ready, now adjusting mobile. |
Sounds great! |
Triggered auto assignment to @yuwenmemon ( |
Sorry thought this needed a review |
will reapply when we're ready |
@muttmuure quick question, would it be beneficial to display some kind of an information about using the app in the "imported" mode? It could be e.g. a button displayed in every screen of the app allowing to get back to original state after pressing. Something like this: |
Hmm yeah that's a fair point. I think if we removed the extra |
@shawnborton how about using absolute positioning? It's much easier as i don't have to care about removing safearea from each screen when it's displayed. It covers the bottom of an app just a bit, but doesn't block from doing any actions from bottom sheet. |
Definitely not a big fan of that personally, it feels broken to me. |
I like this better than overlapping the bottom of the app. |
Yeah that feels right 👍 |
Thanks for the input everyone, I'll proceed with opening a PR 👍 |
In progress |
PR is waiting for a review #49255 |
Nice! In review still! |
Triggered auto assignment to @rlinoz, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
pending deploy! |
on staging, pending prod deply |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 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-10-14. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Problem
When working with profile traces received from New Expensify users, it’s possible to identify and take some actions based on its analysis. However, since the accounts can contain much more data than the ones we are using on a regular basis, it often makes it difficult to accurately reproduce certain performance issues and later evaluate the efectiveness of our optimizations.
Additionally, some bugs are very hard to reproduce as they happen only on certain accounts.
Solution
To address this problem, we propose to implement an “import Onyx state” feature. This feature would allow to load the previously exported state directly into another account, enabling us to replicate their exact conditions. It should automatically force offline mode, so we are sure it does not make any API calls while using the app. By doing so, we can accurately profile and measure the impact of our changes, ensuring that our performance optimizations are effective in real-world scenarios.
Additionally, it can help to resolve hard to reproduce bugs - we already got this feature working internally and thanks to this we were able to reproduce and fix this issue.
This kind of solution would need an easy way to bring the account back to the original state. I think “Clear cache and restart” should do the work.
Things to consider:
Issue Owner
Current Issue Owner: @dylanexpensifyThe text was updated successfully, but these errors were encountered: