Skip to content

Enable standalone app start tracing (SDK 9.28) - #26

Draft
buenaflor wants to merge 2 commits into
sentry-demos:mainfrom
buenaflor:feat/standalone-app-start
Draft

buenaflor wants to merge 2 commits into
sentry-demos:mainfrom
buenaflor:feat/standalone-app-start

Conversation

@buenaflor

@buenaflor buenaflor commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • Bump sentry_flutter (and sibling packages) to 9.28.0
  • Opt in with enableStandaloneAppStartTracing while keeping span streaming (SentryTraceLifecycle.stream).
  • Extend app start past the first frame: extendAppStart before runApp, child spans for feature-flag hydration and the first catalog fetch (via getExtendedAppStartSpanV2), then finishExtendedAppStart.
Screenshot 2026-09-01 at 13 52 48

Test plan

  • Cold-start the app on an iOS or Android device/simulator (not a hot restart) with the 9.28 SDK.
  • Confirm an App Start root (app.start) in Explore/Traces, independent of the first ui.load.
  • Confirm Extended App Start plus child spans Hydrate feature flags and Fetch product catalog.
  • Confirm web/desktop still launch and do not emit a stray app-start root.

Made with Cursor

buenaflor and others added 2 commits September 1, 2026 13:21
Opt in to enableStandaloneAppStartTracing (SDK 9.28) so app start is its own
app.start root, and extend it past the first frame around feature-flag
hydration and the initial catalog fetch.

Co-authored-by: Cursor <cursoragent@cursor.com>
Parent the main-thread plant-cache I/O to the stream-mode extension span so
sentry_file's file.write/file.read attach to app.start instead of ui.load.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant