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

feat: Add extra SdkInfo packages #4637

Merged
merged 25 commits into from
Dec 16, 2024
Merged

feat: Add extra SdkInfo packages #4637

merged 25 commits into from
Dec 16, 2024

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Dec 15, 2024

📜 Description

💚 How did you test it?

tests

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

Copy link

github-actions bot commented Dec 15, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cf859cf

Copy link

github-actions bot commented Dec 15, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1210.00 ms 1226.55 ms 16.55 ms
Size 22.31 KiB 758.78 KiB 736.47 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
4d6f273 1195.63 ms 1232.22 ms 36.59 ms
7672856 1241.55 ms 1251.65 ms 10.09 ms
2405ba5 1248.37 ms 1259.30 ms 10.93 ms
b07998b 1216.88 ms 1244.18 ms 27.31 ms
ecd9ecd 1214.16 ms 1232.59 ms 18.43 ms
a2af9fa 1236.29 ms 1251.67 ms 15.38 ms
2eb78be 1225.02 ms 1235.02 ms 10.00 ms
369222e 1232.14 ms 1258.90 ms 26.76 ms
df2986b 1227.45 ms 1244.35 ms 16.90 ms
50bb751 1230.94 ms 1238.69 ms 7.75 ms

App size

Revision Plain With Sentry Diff
4d6f273 20.76 KiB 426.93 KiB 406.17 KiB
7672856 22.85 KiB 411.14 KiB 388.29 KiB
2405ba5 20.76 KiB 435.23 KiB 414.47 KiB
b07998b 22.30 KiB 749.77 KiB 727.47 KiB
ecd9ecd 20.76 KiB 420.23 KiB 399.47 KiB
a2af9fa 20.76 KiB 432.88 KiB 412.11 KiB
2eb78be 21.58 KiB 706.97 KiB 685.39 KiB
369222e 20.76 KiB 419.67 KiB 398.91 KiB
df2986b 22.85 KiB 406.89 KiB 384.04 KiB
50bb751 21.58 KiB 417.86 KiB 396.27 KiB

Previous results on branch: kw/add-extra-packages

Startup times

Revision Plain With Sentry Diff
34a77c3 1238.80 ms 1257.33 ms 18.53 ms
b7e9d26 1213.28 ms 1251.22 ms 37.95 ms
b5e16d1 1234.07 ms 1256.13 ms 22.06 ms
e8f8eef 1219.24 ms 1237.53 ms 18.29 ms

App size

Revision Plain With Sentry Diff
34a77c3 22.31 KiB 758.40 KiB 736.10 KiB
b7e9d26 22.31 KiB 758.40 KiB 736.10 KiB
b5e16d1 22.31 KiB 758.41 KiB 736.10 KiB
e8f8eef 22.31 KiB 758.76 KiB 736.45 KiB

@krystofwoldrich krystofwoldrich marked this pull request as ready for review December 15, 2024 20:41
Copy link

codecov bot commented Dec 15, 2024

Codecov Report

Attention: Patch coverage is 97.25086% with 8 lines in your changes missing coverage. Please review.

Project coverage is 90.564%. Comparing base (716a5b0) to head (cf859cf).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
Sources/Sentry/PrivateSentrySDKOnly.mm 0.000% 3 Missing ⚠️
Sources/Sentry/SentrySdkPackage.m 93.548% 2 Missing ⚠️
...ests/SentryTests/Protocol/SentrySdkInfo+Equality.m 60.000% 2 Missing ⚠️
Sources/Sentry/SentryExtraPackages.m 95.652% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #4637       +/-   ##
=============================================
- Coverage   90.839%   90.564%   -0.275%     
=============================================
  Files          617       619        +2     
  Lines        71020     70977       -43     
  Branches     25228     25254       +26     
=============================================
- Hits         64514     64280      -234     
- Misses        6414      6604      +190     
- Partials        92        93        +1     
Files with missing lines Coverage Δ
SentryTestUtils/ClearTestState.swift 86.363% <100.000%> (+0.649%) ⬆️
Sources/Sentry/SentrySdkInfo.m 100.000% <100.000%> (ø)
...ts/SentryTests/Helper/SentryFileManagerTests.swift 99.513% <100.000%> (ø)
.../SentryTests/Helper/SentrySerializationTests.swift 99.797% <100.000%> (ø)
...ts/Networking/SentryNSURLRequestBuilderTests.swift 100.000% <100.000%> (ø)
...sts/SentryTests/Protocol/SentryEnvelopeTests.swift 96.072% <100.000%> (ø)
Tests/SentryTests/Protocol/SentrySdkInfoNilTests.m 100.000% <100.000%> (ø)
...ests/SentryTests/Protocol/SentrySdkInfoTests.swift 100.000% <100.000%> (ø)
Sources/Sentry/SentryExtraPackages.m 95.652% <95.652%> (ø)
Sources/Sentry/SentrySdkPackage.m 93.548% <93.548%> (ø)
... and 2 more

... and 37 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 716a5b0...cf859cf. Read the comment docs.

Base automatically changed from kw/fix-unify-sdk-info to main December 16, 2024 10:32
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments. Not far from LGTM.

SentryTestUtils/ClearTestState.swift Outdated Show resolved Hide resolved
Sources/Sentry/include/SentrySdkInfo.h Outdated Show resolved Hide resolved
Sources/Sentry/SentrySdkInfo.m Outdated Show resolved Hide resolved
@krystofwoldrich
Copy link
Member Author

@philipphofmann I've updated the PR, it's ready for another pass.

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sources/Sentry/include/SentryExtraPackages.h Show resolved Hide resolved
Sources/Sentry/SentryExtraPackages.m Outdated Show resolved Hide resolved
Sources/Sentry/SentryExtraPackages.m Outdated Show resolved Hide resolved
@krystofwoldrich krystofwoldrich merged commit 86e9bf2 into main Dec 16, 2024
58 of 60 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/add-extra-packages branch December 16, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants