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

fix(envelope): SentrySdkInfo.packages should be an array #4626

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

krystofwoldrich
Copy link
Member

📜 Description

This PR fixes sdk packages which by the develop docs should be an array but was dict in cocoa.

https://develop.sentry.dev/sdk/data-model/event-payloads/sdk/

💚 How did you test it?

unit 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

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.879%. Comparing base (fce741e) to head (ec3f3d1).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #4626       +/-   ##
=============================================
- Coverage   90.882%   90.879%   -0.004%     
=============================================
  Files          617       617               
  Lines        71032     71029        -3     
  Branches     25332     25315       -17     
=============================================
- Hits         64556     64551        -5     
- Misses        6384      6386        +2     
  Partials        92        92               
Files with missing lines Coverage Δ
Sources/Sentry/SentrySdkInfo.m 92.063% <100.000%> (+0.260%) ⬆️
...ests/SentryTests/Protocol/SentrySdkInfoTests.swift 96.296% <100.000%> (+0.105%) ⬆️

... and 10 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 fce741e...ec3f3d1. Read the comment docs.

Copy link

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1232.33 ms 1248.96 ms 16.63 ms
Size 22.31 KiB 756.51 KiB 734.21 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
3a6495e 1227.61 ms 1239.22 ms 11.60 ms
869ab7e 1230.36 ms 1255.49 ms 25.13 ms
5f6f658 1221.08 ms 1241.84 ms 20.76 ms
be4734f 1216.47 ms 1237.47 ms 21.00 ms
742d4b6 1230.41 ms 1247.23 ms 16.83 ms
89491ad 1222.12 ms 1231.96 ms 9.83 ms
ef284b2 1211.76 ms 1229.69 ms 17.93 ms
d77a671 1236.63 ms 1250.66 ms 14.03 ms
a2af9fa 1236.29 ms 1251.67 ms 15.38 ms
533859f 1211.33 ms 1228.76 ms 17.43 ms

App size

Revision Plain With Sentry Diff
3a6495e 21.58 KiB 422.66 KiB 401.08 KiB
869ab7e 20.76 KiB 432.88 KiB 412.11 KiB
5f6f658 21.58 KiB 699.25 KiB 677.67 KiB
be4734f 22.30 KiB 749.84 KiB 727.54 KiB
742d4b6 21.58 KiB 546.20 KiB 524.62 KiB
89491ad 21.58 KiB 417.89 KiB 396.30 KiB
ef284b2 20.76 KiB 401.36 KiB 380.60 KiB
d77a671 21.58 KiB 540.04 KiB 518.46 KiB
a2af9fa 20.76 KiB 432.88 KiB 412.11 KiB
533859f 22.85 KiB 408.84 KiB 385.99 KiB

@krystofwoldrich krystofwoldrich merged commit a401e33 into main Dec 13, 2024
66 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/fix-sdk-info-packages branch December 13, 2024 11:37
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