-
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
[Regression test required] [$500] HIGH: Add Avatar > About > Troubleshooting
section
#34082
Comments
Avatar > About > Troubleshooting
section Avatar > About > Troubleshooting
section
Job added to Upwork: https://www.upwork.com/jobs/~01c2a08b8b8ae90e21 |
Triggered auto assignment to @greg-schroeder ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.External contributors don't have access to production logs. What is the root cause of that problem?What changes do you think we should make in order to solve the problem?Expand app ability to remotely diagnose production devices with better dev tools built into the app itself. Specifically: Add a Troubleshooting section to the Avatar > About page, just above Report a bug |
Can I directly work on this without a proposal? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Some problems can't be diagnosed cleanly after the fact from the logs. What is the root cause of that problem?The settings page is not optimal for diagnosing. What changes do you think we should make in order to solve the problem?
|
Please submit proposals, especially for how you intend to do the console
feature. The more detail you provide, the greater likelihood we select your
proposal.
…On Sun, Jan 7, 2024, 7:57 PM Antony Kithinzi ***@***.***> wrote:
Proposal Please re-state the problem that we are trying to solve in this
issue.
Some problems can't be diagnosed cleanly after the fact from the logs, for
a few reasons
What is the root cause of that problem?
The settings page is not optimal for diagnosing.
What changes do you think we should make in order to solve the problem?
Add a new page in settings called Test preferences.
Then move the necessary components to the new page.
Create a menu item on the settings menu for the page.
Then add another item in Test preferences page called Reset and refresh.
This option will clear the onyx collection except for the auth data.
Finally, it will refresh the page.
—
Reply to this email directly, view it on GitHub
<#34082 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEMNUQ4EYCWKZ7HZ4VAK63YNNVEDAVCNFSM6AAAAABBQ2U4NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGM2TGMJVHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This is a thoughtful and comprehensive proposal that tackles the challenge that's encountered in diagnosing and solving issues at scale. I appreciate the clarity in the suggested changes, especially the addition of the Troubleshooting section and the integration of better dev tools within the app. The proposed enhancements, such as the Console View, Reset and Refresh option, and the ability to Share Logs, would significantly improve the ability to remotely diagnose production devices. I particularly like the idea of having a command line for executing JavaScript, resembling the Chrome console. I'm eager to contribute to the implementation of these features. Before diving in, is there any specific technical considerations or preferences regarding the implementation? Additionally, if there are any specific testing scenarios or edge cases to keep in mind, please provide guidance. Looking forward to collaborating on this improvement |
📣 @samsonmobisa! 📣
|
I have some questions about the
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Have already submitted my details |
Problem Overview: Proposed Changes:
Implementation Details:
Expected Results:
I would appreciate your feedback and insights on this proposal. Looking forward to discussing this further. |
📣 @Piyush-Kumar-Ghosh! 📣
|
Ahh yes. How quickly I forget. Thanks 😂 |
Hmm good question. I think technically Troubleshoot should only get the full card treatment if we make it its own standalone section in the LHN and pull it out of About. I don't think that's a bad idea... we might want to put it just below About in the Settings LHN? cc @muttmuure @Expensify/design for thoughts on that. But I think this one could quite easily be converted to that wider card style that other sections are using. |
I honestly don't feel super strongly either way. I agree that it could easily become it's own standalone page (and I like your suggestion of putting it underneath the |
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. |
Avatar > About > Troubleshooting
section Avatar > About > Troubleshooting
section
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.42-5 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-02-26. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Hi @TMisiukiewicz! We got an alert in the backend that we're receiving a massive message log from NewDot, and it seems it's coming from this PR that was deployed recently. This is an example of the message:
We are already trimming the message in the backend using this logic:
And I was wondering if we do the same in the frontend also to avoid sending large amounts of data for the logs, thoughts? |
Hi @marcochavezf! That's weird because there is a condition to not attach logs with pattern |
Oh interesting, I happened several times yesterday, and according to the logs it wasn't coming from a local environment. I will report again if the alert pops up again, thanks! |
Reviewing |
Paid! @fedirjh can you create a regression test for this new feature? Thanks! |
Avatar > About > Troubleshooting
section Avatar > About > Troubleshooting
section
Regression Test Proposal Test 1 :
Test 2 :
|
Nice, regression tests look good to me. 👍 CC @greg-schroeder |
LGTM! Filing! |
Strategy:
A billion users means a billion problems. To diagnose and solve them at scale, we capture client-side logs and upload centrally.
Problem:
Some problems can't be diagnosed cleanly after the fact from the logs, for a few reasons:
Solution:
Let's expand our ability to remotely diagnose production devices with better dev tools built into the app itself. Specifically:
Troubleshooting
section to theAvatar > About
page, just aboveReport a bug
Test preferences
settings into this new menu:Reset and refresh
, which wipes Onyx clean except for the minimum needed to call OpenApp (so you don't need to reauthenticate)View console
which opens a simple console:Save
button that just copies all available logs into a text file that is saved on the deviceShare
button that brings up aSearch
selector and just posts the logs into the selected room (and then leaves the user navigated there, so they can talk about them). I'm imagining this would be useful for chatting with a real world user and asking them to do something and send you the logs.This is blocking #33040.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: