-
-
Notifications
You must be signed in to change notification settings - Fork 278
feat: add setAttributes and removeAttribute
#3352
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
base: main
Are you sure you want to change the base?
Conversation
|
iOS Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| cdf371b | 1246.24 ms | 1251.10 ms | 4.86 ms |
| 6f47800 | 1247.52 ms | 1259.37 ms | 11.85 ms |
| 0fb45d0 | 1273.24 ms | 1286.44 ms | 13.19 ms |
| 5a95d04 | 1263.17 ms | 1265.37 ms | 2.20 ms |
| 0fb3800 | 1256.60 ms | 1266.28 ms | 9.68 ms |
| 3615e19 | 1225.02 ms | 1234.57 ms | 9.55 ms |
| 0929dbf | 1275.89 ms | 1282.22 ms | 6.33 ms |
| 1f639ee | 1252.43 ms | 1257.82 ms | 5.38 ms |
| 73a3c38 | 1263.37 ms | 1277.90 ms | 14.53 ms |
| 7b21e8b | 1256.79 ms | 1267.12 ms | 10.33 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| cdf371b | 5.53 MiB | 6.02 MiB | 501.23 KiB |
| 6f47800 | 7.86 MiB | 9.44 MiB | 1.58 MiB |
| 0fb45d0 | 7.86 MiB | 9.44 MiB | 1.58 MiB |
| 5a95d04 | 5.53 MiB | 6.01 MiB | 487.81 KiB |
| 0fb3800 | 7.86 MiB | 9.44 MiB | 1.58 MiB |
| 3615e19 | 7.86 MiB | 9.44 MiB | 1.58 MiB |
| 0929dbf | 7.86 MiB | 9.54 MiB | 1.69 MiB |
| 1f639ee | 5.53 MiB | 6.00 MiB | 479.95 KiB |
| 73a3c38 | 7.86 MiB | 9.44 MiB | 1.58 MiB |
| 7b21e8b | 5.53 MiB | 6.00 MiB | 479.96 KiB |
Previous results on branch: feat/set-attributes
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 9a99d54 | 1273.40 ms | 1279.94 ms | 6.54 ms |
| 03bbc0e | 1239.96 ms | 1245.02 ms | 5.06 ms |
| 224eab1 | 1256.65 ms | 1259.18 ms | 2.54 ms |
| 796bba9 | 1230.78 ms | 1236.04 ms | 5.27 ms |
| f33d4f9 | 1246.96 ms | 1253.51 ms | 6.55 ms |
| ad95fde | 1242.50 ms | 1249.41 ms | 6.91 ms |
| 2e39532 | 1240.10 ms | 1242.37 ms | 2.27 ms |
| 58126a6 | 1269.71 ms | 1269.73 ms | 0.01 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 9a99d54 | 5.53 MiB | 6.02 MiB | 503.76 KiB |
| 03bbc0e | 5.53 MiB | 6.02 MiB | 501.34 KiB |
| 224eab1 | 5.53 MiB | 6.02 MiB | 503.77 KiB |
| 796bba9 | 5.53 MiB | 6.02 MiB | 501.79 KiB |
| f33d4f9 | 5.53 MiB | 6.02 MiB | 503.77 KiB |
| ad95fde | 5.53 MiB | 6.02 MiB | 503.77 KiB |
| 2e39532 | 5.53 MiB | 6.02 MiB | 503.77 KiB |
| 58126a6 | 5.53 MiB | 6.02 MiB | 503.49 KiB |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #3352 +/- ##
==========================================
- Coverage 88.35% 88.31% -0.04%
==========================================
Files 291 291
Lines 9917 9957 +40
==========================================
+ Hits 8762 8794 +32
- Misses 1155 1163 +8 ☔ View full report in Codecov by Sentry. |
Android Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| a69a51f | 437.18 ms | 450.60 ms | 13.42 ms |
| 2d34233 | 470.54 ms | 558.90 ms | 88.36 ms |
| ec78888 | 457.94 ms | 519.96 ms | 62.02 ms |
| e45c0e1 | 447.29 ms | 558.33 ms | 111.04 ms |
| 8825ed8 | 447.65 ms | 456.90 ms | 9.25 ms |
| cf443d2 | 464.64 ms | 479.04 ms | 14.40 ms |
| 8541716 | 437.14 ms | 443.65 ms | 6.51 ms |
| 81f83eb | 471.40 ms | 522.14 ms | 50.74 ms |
| e1ab497 | 429.30 ms | 439.00 ms | 9.70 ms |
| c26ed0a | 465.52 ms | 476.38 ms | 10.86 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| a69a51f | 13.93 MiB | 15.06 MiB | 1.13 MiB |
| 2d34233 | 6.54 MiB | 7.55 MiB | 1.01 MiB |
| ec78888 | 6.54 MiB | 7.69 MiB | 1.15 MiB |
| e45c0e1 | 6.54 MiB | 7.70 MiB | 1.16 MiB |
| 8825ed8 | 13.93 MiB | 14.93 MiB | 1.00 MiB |
| cf443d2 | 13.93 MiB | 15.00 MiB | 1.06 MiB |
| 8541716 | 13.93 MiB | 15.00 MiB | 1.06 MiB |
| 81f83eb | 6.54 MiB | 7.69 MiB | 1.15 MiB |
| e1ab497 | 13.93 MiB | 15.06 MiB | 1.13 MiB |
| c26ed0a | 13.93 MiB | 14.93 MiB | 1.00 MiB |
Previous results on branch: feat/set-attributes
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| f33d4f9 | 416.44 ms | 427.43 ms | 10.99 ms |
| ad95fde | 474.23 ms | 475.93 ms | 1.70 ms |
| 2e39532 | 399.96 ms | 398.65 ms | -1.31 ms |
| 58126a6 | 468.30 ms | 472.46 ms | 4.16 ms |
| 9a99d54 | 395.15 ms | 387.08 ms | -8.06 ms |
| 03bbc0e | 412.87 ms | 428.78 ms | 15.91 ms |
| 796bba9 | 402.40 ms | 433.27 ms | 30.87 ms |
| 224eab1 | 364.32 ms | 377.29 ms | 12.97 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| f33d4f9 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| ad95fde | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 2e39532 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 58126a6 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 9a99d54 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 03bbc0e | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 796bba9 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
| 224eab1 | 13.93 MiB | 15.18 MiB | 1.25 MiB |
denrase
left a comment
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.
Still a test missing or just the comment? We should also look into the Cursor comment, where we don't apply scope attributes in the client to the log.
| // scope attribute | ||
| expect(attrs['scopeOnly'], scopeAttributes['scopeOnly']); | ||
|
|
||
| // TODO logger.fmt |
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.
Still missing or just the comment?
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.
I think you commented an outdated diff, this comment is already gone
|
@denrase updated the impl to apply the merging of the attributes of the scope only in Also the package analysis are meant to fail because we changed api in the main Dart package. we really need to check out if there are better package analysis workflows out there.. |
📜 Description
Implemented according to spec.
Important behaviours:
withScopetakes precedence over global scopeNote: we'll have to wait till the array types are supported by relay
💡 Motivation and Context
Closes #3345
💚 How did you test it?
Unit test, manual test
📝 Checklist
sendDefaultPiiis enabled🔮 Next steps