-
Notifications
You must be signed in to change notification settings - Fork 5k
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 types of hidden properties to Sentry data #20457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8eac93c
to
de1237b
Compare
55a7edb
to
8eb3eaa
Compare
Codecov Report
@@ Coverage Diff @@
## develop #20457 +/- ##
===========================================
- Coverage 68.71% 68.71% -0.00%
===========================================
Files 991 991
Lines 38426 38428 +2
Branches 10312 10313 +1
===========================================
Hits 26402 26402
- Misses 12024 12026 +2
|
de1237b
to
a88fb53
Compare
The base branch was changed.
8eb3eaa
to
495cafa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm investigating the e2e test failures. Looks like a timing issue. |
f13932f
to
a971500
Compare
I found that certain background state properties were causing inconsistencies between Chrome and Firefox because they were set to For now I have excluded these properties from the snapshots. In each case I have a better solution in mind that I will pursue in later PRs, but that need not block this PR. |
Builds ready [a971500]
Page Load Metrics (1547 ± 54 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
The masked wallet state object sent to Sentry has been updated to include the type of each property omitted from the mask. This lets us at least see the full state shape, making it easier to see when errors are caused by invalid state. Relates to #20449
The state snapshot tests have been updated to exclude properties that were shown to differ between runs.
a971500
to
49d79aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. The recent changes makes sense
Builds ready [49d79aa]
Page Load Metrics (1563 ± 46 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Explanation
The masked wallet state object sent to Sentry has been updated to include the type of each property omitted from the mask. This lets us at least see the full state shape, making it easier to see when errors are caused by invalid state.
Relates to #20449
Manual Testing Steps
This is demonstrated by the "errors" e2e tests (see the state snapshots in the diff). You can manually test by performing the same steps as the tests.
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.