Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

itaybre
Copy link
Contributor

@itaybre itaybre commented Aug 11, 2025

Added a new class to handle SDK settings, for now only infer_ip is needed but given this name, it will probably be used for more attributes.

Updates all tests using SentrySDKInfotoo

Implements: #5219

Given that no changes are made in the public API: #skip-changelog

Copy link

linear bot commented Aug 11, 2025

Copy link
Contributor

github-actions bot commented Aug 11, 2025

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

Generated by 🚫 dangerJS against 4462446

Copy link

codecov bot commented Aug 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@83bb978). Learn more about missing BASE report.
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main     #5877   +/-   ##
========================================
  Coverage        ?   86.717%           
========================================
  Files           ?       424           
  Lines           ?     36635           
  Branches        ?     17356           
========================================
  Hits            ?     31769           
  Misses          ?      4821           
  Partials        ?        45           
Files with missing lines Coverage Δ
Sources/Sentry/SentryClient.m 98.519% <ø> (ø)
Sources/Sentry/SentrySDKSettings.m 100.000% <100.000%> (ø)
Sources/Sentry/SentrySdkInfo.m 100.000% <100.000%> (ø)

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 83bb978...4462446. Read the comment docs.

Copy link
Contributor

github-actions bot commented Aug 12, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1229.31 ms 1259.77 ms 30.46 ms
Size 23.75 KiB 921.86 KiB 898.11 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ebc72be 1221.24 ms 1249.66 ms 28.42 ms
fc0757d 1231.83 ms 1248.98 ms 17.15 ms
f97a070 1218.88 ms 1253.12 ms 34.24 ms
f5d202b 1237.90 ms 1259.49 ms 21.59 ms
1a34ddc 1218.94 ms 1251.86 ms 32.92 ms
ea5a59b 1222.87 ms 1253.47 ms 30.60 ms
83bb978 1238.33 ms 1260.04 ms 21.71 ms
fdea6f5 1216.08 ms 1241.82 ms 25.73 ms
ccf1278 1226.84 ms 1248.51 ms 21.67 ms
9e0030e 1222.78 ms 1242.23 ms 19.45 ms

App size

Revision Plain With Sentry Diff
ebc72be 23.75 KiB 908.22 KiB 884.47 KiB
fc0757d 23.75 KiB 850.73 KiB 826.98 KiB
f97a070 23.75 KiB 858.68 KiB 834.93 KiB
f5d202b 23.75 KiB 904.53 KiB 880.78 KiB
1a34ddc 23.75 KiB 919.88 KiB 896.13 KiB
ea5a59b 23.75 KiB 874.46 KiB 850.71 KiB
83bb978 23.75 KiB 920.64 KiB 896.89 KiB
fdea6f5 23.75 KiB 867.15 KiB 843.40 KiB
ccf1278 23.75 KiB 877.15 KiB 853.40 KiB
9e0030e 23.75 KiB 893.72 KiB 869.97 KiB

Previous results on branch: itay/cocoa-372-use-settingsinfer_ip-instead-of-ip_address-auto

Startup times

Revision Plain With Sentry Diff
a6a8775 1219.29 ms 1247.12 ms 27.83 ms

App size

Revision Plain With Sentry Diff
a6a8775 23.75 KiB 920.35 KiB 896.60 KiB

@itaybre itaybre marked this pull request as ready for review August 12, 2025 00:43
Copy link
Member

@philprime philprime left a comment

Choose a reason for hiding this comment

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

LGTM, left some comments to consider.

Tests/SentryTests/Protocol/SentrySDKSettings+Equality.m Outdated Show resolved Hide resolved
Tests/SentryTests/Protocol/SentrySDKSettings+Equality.m Outdated Show resolved Hide resolved
@itaybre itaybre force-pushed the itay/cocoa-372-use-settingsinfer_ip-instead-of-ip_address-auto branch from 3f40146 to 7604a6d Compare August 12, 2025 14:26
@itaybre itaybre force-pushed the itay/cocoa-372-use-settingsinfer_ip-instead-of-ip_address-auto branch from 7604a6d to 4462446 Compare August 15, 2025 14:02
@itaybre itaybre merged commit 1bf432b into main Aug 15, 2025
177 of 183 checks passed
@itaybre itaybre deleted the itay/cocoa-372-use-settingsinfer_ip-instead-of-ip_address-auto branch August 15, 2025 15:26
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.