Skip to content
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

Add metrics to track when "metamask reset" state corruption occurs. #25901

Open
9 tasks
danjm opened this issue Jul 17, 2024 · 0 comments
Open
9 tasks

Add metrics to track when "metamask reset" state corruption occurs. #25901

danjm opened this issue Jul 17, 2024 · 0 comments

Comments

@danjm
Copy link
Contributor

danjm commented Jul 17, 2024

What is this about?

We need to know how often bugs such as the following are occuring:

The approach here can be something like:

  1. Once a user is onboarded, save a timestamp in indexdb and possibly also in local storage (either in the UI or the offscreen document)
  2. When metamask loads, if there is no state in storage.local, check if that timestamp exists in indexbd or the offscreen document. If so, track the event

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants