Skip to content

Comments

fix: Remove full sentry being included when using SentryWithoutUIKit#6754

Merged
itaybre merged 6 commits intomainfrom
itay/remove_sentry_dependency
Nov 12, 2025
Merged

fix: Remove full sentry being included when using SentryWithoutUIKit#6754
itaybre merged 6 commits intomainfrom
itay/remove_sentry_dependency

Conversation

@itaybre
Copy link
Contributor

@itaybre itaybre commented Nov 11, 2025

Looks like SentryCppHelper is depending on Sentry which is actually not necesary.
This fixes the issue.

SentryCppHelper objective is lo add c++ to the linker, nothing else.
Adding Sentry as a dependency was a mistake.

Fixes: #6696

Closes #6755

@itaybre itaybre added the ready-to-merge Use this label to trigger all PR workflows label Nov 11, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1207.10 ms 1240.14 ms 33.04 ms
Size 24.14 KiB 1.01 MiB 1013.99 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
c122943 1210.94 ms 1233.78 ms 22.84 ms
8bb3e37 1235.18 ms 1252.63 ms 17.45 ms
2b02431 1229.63 ms 1248.98 ms 19.35 ms
3319d58 1226.46 ms 1256.56 ms 30.10 ms
079bcc8 1217.88 ms 1234.88 ms 17.00 ms
650d802 1231.86 ms 1255.64 ms 23.78 ms
cb07a0e 1217.47 ms 1251.94 ms 34.47 ms
83d27f6 1233.56 ms 1259.24 ms 25.68 ms
be6a4ee 1226.33 ms 1249.77 ms 23.44 ms
7148f97 1235.09 ms 1258.07 ms 22.98 ms

App size

Revision Plain With Sentry Diff
c122943 23.74 KiB 926.65 KiB 902.90 KiB
8bb3e37 23.75 KiB 968.25 KiB 944.50 KiB
2b02431 23.75 KiB 850.73 KiB 826.98 KiB
3319d58 23.75 KiB 1021.48 KiB 997.73 KiB
079bcc8 23.74 KiB 874.07 KiB 850.33 KiB
650d802 23.74 KiB 913.13 KiB 889.39 KiB
cb07a0e 23.75 KiB 1.01 MiB 1016.13 KiB
83d27f6 23.75 KiB 928.88 KiB 905.13 KiB
be6a4ee 23.75 KiB 913.14 KiB 889.39 KiB
7148f97 23.75 KiB 854.78 KiB 831.03 KiB

Previous results on branch: itay/remove_sentry_dependency

Startup times

Revision Plain With Sentry Diff
4cfd6b8 1226.56 ms 1257.80 ms 31.24 ms

App size

Revision Plain With Sentry Diff
4cfd6b8 24.14 KiB 1.01 MiB 1015.40 KiB

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

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, so easy 🤦 thanks

@philipphofmann
Copy link
Member

Is this something we should also merge to v8.x.x, @itaybre?

@itaybre
Copy link
Contributor Author

itaybre commented Nov 12, 2025

Is this something we should also merge to v8.x.x, @itaybre?

We can do it there, it is an easy fix

@itaybre itaybre enabled auto-merge (squash) November 12, 2025 16:09
@itaybre itaybre merged commit 7a8b167 into main Nov 12, 2025
161 checks passed
@itaybre itaybre deleted the itay/remove_sentry_dependency branch November 12, 2025 16:21
itaybre added a commit that referenced this pull request Nov 12, 2025
…6754)

* fix: Remove full sentry being included when using SentryWithoutUIKit

* Update changelog

* Add PR number to Changelog

* Update changelog

* Fix changelog
itaybre added a commit that referenced this pull request Nov 13, 2025
…utUIKit (#6761)

* fix: Remove full sentry being included when using SentryWithoutUIKit (#6754)

* fix: Remove full sentry being included when using SentryWithoutUIKit

* Update changelog

* Add PR number to Changelog

* Update changelog

* Fix changelog

* Remove unnecesary changelog changes

* Update CHANGELOG.md

Co-authored-by: Philip Niedertscheider <[email protected]>

---------

Co-authored-by: Philip Niedertscheider <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Remove full sentry being included when using SentryWithoutUIKit Unwanted dependency on Sentry when using Sentry-WithoutUIKitOrAppKit

3 participants