ref: Improve ClientAttachmentProcessor#5001
Merged
philipphofmann merged 1 commit intomainfrom Mar 24, 2025
Merged
Conversation
Specify types for NSArrays, rename attachmentsForEvent to processAttachmentsForEvent, only pass attachments to processAttachmentsForEvent, remove not required nullable for SentryClientAttachmentProcessor.
philipphofmann
commented
Mar 20, 2025
philipphofmann
commented
Mar 20, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5001 +/- ##
=============================================
+ Coverage 92.608% 92.701% +0.093%
=============================================
Files 672 672
Lines 82199 82206 +7
Branches 28819 29842 +1023
=============================================
+ Hits 76123 76206 +83
+ Misses 5983 5903 -80
- Partials 93 97 +4
... and 23 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Contributor
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| bdd896e | 1211.19 ms | 1239.06 ms | 27.87 ms |
| bd2afa6 | 1245.24 ms | 1263.18 ms | 17.94 ms |
| 7fe37ab | 1236.10 ms | 1258.83 ms | 22.73 ms |
| 8a0317e | 1259.18 ms | 1261.38 ms | 2.20 ms |
| b448017 | 1234.59 ms | 1252.55 ms | 17.96 ms |
| ca507ec | 1224.43 ms | 1246.04 ms | 21.61 ms |
| 7bb0873 | 1215.65 ms | 1235.00 ms | 19.35 ms |
| 3478fc5 | 1237.94 ms | 1251.13 ms | 13.19 ms |
| f587451 | 1271.63 ms | 1275.90 ms | 4.27 ms |
| ebfe678 | 1234.63 ms | 1254.52 ms | 19.89 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| bdd896e | 22.31 KiB | 780.75 KiB | 758.43 KiB |
| bd2afa6 | 20.76 KiB | 420.55 KiB | 399.79 KiB |
| 7fe37ab | 21.58 KiB | 542.28 KiB | 520.70 KiB |
| 8a0317e | 22.85 KiB | 414.06 KiB | 391.21 KiB |
| b448017 | 22.32 KiB | 761.25 KiB | 738.93 KiB |
| ca507ec | 21.58 KiB | 616.76 KiB | 595.17 KiB |
| 7bb0873 | 22.85 KiB | 407.09 KiB | 384.24 KiB |
| 3478fc5 | 21.58 KiB | 654.59 KiB | 633.01 KiB |
| f587451 | 20.76 KiB | 435.25 KiB | 414.49 KiB |
| ebfe678 | 22.31 KiB | 775.27 KiB | 752.95 KiB |
philprime
approved these changes
Mar 24, 2025
Member
philprime
left a comment
There was a problem hiding this comment.
Thanks for adding these types!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Specify types for NSArrays, rename attachmentsForEvent to processAttachmentsForEvent, only pass attachments to processAttachmentsForEvent, remove not required nullable for SentryClientAttachmentProcessor.
Came up while investigating GH-4936.
#skip-changelog