Skip to content

Conversation

@noahsmartin
Copy link
Contributor

@noahsmartin noahsmartin commented Nov 19, 2025

The SDK drops app start times if the app doesn't create a ui.load transaction within 5 seconds of app start. This causes a lot of user confusion and makes it difficult to get app launch measurements. This PR instead makes the SDK automatically send app start spans, so no extra code from the user is required to get it working.

One thing missing from the implementation is to suppress sending the auto created transaction if the span was already included in another transaction

#skip-changelog

@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.480%. Comparing base (f0d57ae) to head (8dac8f3).
⚠️ 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     #6828       +/-   ##
=============================================
- Coverage   84.853%   84.480%   -0.373%     
=============================================
  Files          452       447        -5     
  Lines        27603     27301      -302     
  Branches     12104     11962      -142     
=============================================
- Hits         23422     23064      -358     
- Misses        4135      4189       +54     
- Partials        46        48        +2     
Files with missing lines Coverage Δ
Sources/Sentry/SentryAppStartTracker.m 94.656% <100.000%> (+0.538%) ⬆️

... and 71 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 f0d57ae...8dac8f3. Read the comment docs.

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