-
-
Notifications
You must be signed in to change notification settings - Fork 363
feat: Update Persistent store and processor to handle multiple data types #5558
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
feat: Update Persistent store and processor to handle multiple data types #5558
Conversation
…minationFieldsProcessorTests for the new fields
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5558 +/- ##
=============================================
+ Coverage 86.175% 86.341% +0.165%
=============================================
Files 407 407
Lines 35091 35165 +74
Branches 15025 15271 +246
=============================================
+ Hits 30240 30362 +122
+ Misses 4808 4756 -52
- Partials 43 47 +4
... and 20 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
4d264fa | 1223.48 ms | 1246.91 ms | 23.44 ms |
d637379 | 1226.43 ms | 1250.77 ms | 24.34 ms |
61414e8 | 1225.49 ms | 1254.28 ms | 28.79 ms |
63ac649 | 1192.10 ms | 1216.78 ms | 24.68 ms |
f92cfa9 | 1217.94 ms | 1240.06 ms | 22.12 ms |
65f8d2e | 1221.15 ms | 1243.96 ms | 22.81 ms |
fd5961e | 1210.59 ms | 1235.57 ms | 24.98 ms |
701b301 | 1226.10 ms | 1245.57 ms | 19.47 ms |
f92cfa9 | 1228.45 ms | 1251.33 ms | 22.88 ms |
aa96485 | 1215.37 ms | 1234.04 ms | 18.67 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
4d264fa | 23.74 KiB | 874.07 KiB | 850.33 KiB |
d637379 | 23.75 KiB | 855.38 KiB | 831.63 KiB |
61414e8 | 23.75 KiB | 867.69 KiB | 843.94 KiB |
63ac649 | 23.75 KiB | 855.38 KiB | 831.63 KiB |
f92cfa9 | 23.75 KiB | 855.38 KiB | 831.63 KiB |
65f8d2e | 23.74 KiB | 872.67 KiB | 848.93 KiB |
fd5961e | 23.74 KiB | 874.07 KiB | 850.32 KiB |
701b301 | 23.75 KiB | 867.16 KiB | 843.41 KiB |
f92cfa9 | 23.75 KiB | 855.38 KiB | 831.62 KiB |
aa96485 | 23.75 KiB | 874.46 KiB | 850.71 KiB |
Previous results on branch: itay/cocoa-412-add-missing-information-to-watchdog-termination-events-unified
Startup times
Revision | Plain | With Sentry | Diff |
---|---|---|---|
399e976 | 1227.44 ms | 1246.69 ms | 19.26 ms |
45b6f56 | 1226.98 ms | 1252.40 ms | 25.42 ms |
ec06b2b | 1230.94 ms | 1250.49 ms | 19.55 ms |
bab2c7f | 1219.65 ms | 1242.41 ms | 22.76 ms |
54477e0 | 1221.39 ms | 1236.63 ms | 15.24 ms |
b06498a | 1228.43 ms | 1246.25 ms | 17.82 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
399e976 | 23.74 KiB | 877.02 KiB | 853.28 KiB |
45b6f56 | 23.75 KiB | 877.13 KiB | 853.38 KiB |
ec06b2b | 23.75 KiB | 877.10 KiB | 853.36 KiB |
bab2c7f | 23.75 KiB | 877.17 KiB | 853.42 KiB |
54477e0 | 23.74 KiB | 877.01 KiB | 853.27 KiB |
b06498a | 23.75 KiB | 877.17 KiB | 853.42 KiB |
…tchdog-termination-events-unified
…erminationAttributesProcessor`
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.
Almost, LGTM. @itaybre can you please also test this with a build from TestFlight or on a real device and double-check if the user now appears in watchdog termination events. The iOS-Swift sample app has a button called OOM crash, that you can use.
...egrations/WatchdogTerminations/Processors/SentryWatchdogTerminationAttributesProcessor.swift
Outdated
Show resolved
Hide resolved
...ions/WatchdogTerminations/Processors/SentryWatchdogTerminationAttributesProcessorTests.swift
Show resolved
Hide resolved
...ions/WatchdogTerminations/Processors/SentryWatchdogTerminationAttributesProcessorTests.swift
Show resolved
Hide resolved
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.
Good progress! Left a couple of comments.
|
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, but maybe it makes sense to also wait for the approval of @philprime, cause he came up with the initial new logic for the scope observer.
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.
Left my feedback in the comments, will fix the workaround in a follow-up PR. Proceed at your discretion.
Update Persistent store and processor to handle multiple data types