Skip to content

Conversation

@philprime
Copy link
Member

@philprime philprime commented Nov 3, 2025

Reorganizes SentryTestUtils, SentryTestUtilsDynamic, and SentryTestUtilsTests into clearer subdirectory structures in preparation for adopting xcodegen.

Changes

SentryTestUtils

  • Split into Headers/, Sources/, and SourcesCPP/ subdirectories
  • Updated bridging header path to Headers/SentryTestUtils-ObjC-BridgingHeader.h

SentryTestUtilsDynamic

  • Split into Headers/ and Sources/ subdirectories

SentryTestUtilsTests

  • Split into Resources/ and Sources/ subdirectories
  • Updated Info.plist path to Resources/Info.plist

Cleanup

  • Removed references to non-existent files:
    • Brewfile-ci-test
    • SentryUIRedactBuilderTests+SpecialViews.swift
  • Fixed SwiftLint function body length violation in Invocation.swift

This improves code organization and makes the project structure more consistent before transitioning to xcodegen for project file management.

#skip-changelog

Closes #6640

Reorganizes SentryTestUtils, SentryTestUtilsDynamic, and SentryTestUtilsTests
into clearer subdirectory structures in preparation for adopting xcodegen.

Changes:
- SentryTestUtils: Split into Headers/, Sources/, and SourcesCPP/
- SentryTestUtilsDynamic: Split into Headers/ and Sources/
- SentryTestUtilsTests: Split into Resources/ and Sources/
- Updated bridging header and Info.plist paths accordingly
- Removed references to non-existent files (Brewfile-ci-test, SentryUIRedactBuilderTests+SpecialViews.swift)
- Fixed SwiftLint violation in Invocation.swift

This improves code organization and makes the project structure more consistent
before transitioning to xcodegen for project file management.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1226.56 ms 1258.76 ms 32.19 ms
Size 23.75 KiB 1023.81 KiB 1000.07 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
995b436 1217.54 ms 1254.26 ms 36.72 ms
f37e3fe 1230.24 ms 1254.51 ms 24.27 ms
0ac4c65 1236.85 ms 1267.84 ms 30.98 ms
339539a 1219.58 ms 1254.63 ms 35.05 ms
ebc3a34 1236.24 ms 1261.02 ms 24.78 ms
781f560 1232.83 ms 1263.56 ms 30.73 ms
e98d6f5 1228.51 ms 1258.85 ms 30.34 ms
b709887 1193.52 ms 1216.74 ms 23.22 ms
37183fe 1212.33 ms 1238.92 ms 26.59 ms
3279d4e 1215.76 ms 1256.45 ms 40.69 ms

App size

Revision Plain With Sentry Diff
995b436 23.75 KiB 1.02 MiB 1016.76 KiB
f37e3fe 23.75 KiB 919.70 KiB 895.95 KiB
0ac4c65 23.75 KiB 968.24 KiB 944.50 KiB
339539a 23.75 KiB 968.24 KiB 944.50 KiB
ebc3a34 23.75 KiB 919.91 KiB 896.16 KiB
781f560 23.75 KiB 1.02 MiB 1016.46 KiB
e98d6f5 23.75 KiB 933.03 KiB 909.28 KiB
b709887 23.75 KiB 1.01 MiB 1016.14 KiB
37183fe 23.75 KiB 913.63 KiB 889.87 KiB
3279d4e 23.75 KiB 938.32 KiB 914.57 KiB

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.

Thanks for the cleanup

@philprime
Copy link
Member Author

I need to check if the file-filters are still correct

@philprime philprime merged commit a4e1541 into main Nov 4, 2025
170 checks passed
@philprime philprime deleted the philprime/xcodegen branch November 4, 2025 09:33
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.

chore: Restructure test utilities into organized subdirectories

3 participants