Skip to content

feat(extend-app-start): App start extension API#5604

Draft
buenaflor wants to merge 3 commits into
mainfrom
feat/extend-app-start
Draft

feat(extend-app-start): App start extension API#5604
buenaflor wants to merge 3 commits into
mainfrom
feat/extend-app-start

Conversation

@buenaflor

@buenaflor buenaflor commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

PR Stack (Extend App Start)


Tested scenarios:

1 · Non-headless — extended after first frame (finish called ~5s in) → OK, app_start_cold = 6511 ms
https://sentry-sdks.sentry.io/explore/traces/trace/cb4ce5b65c42445da7d87d80fd49896a/

2 · Non-headless — finish never called → DEADLINE_EXCEEDED, measurement suppressed
https://sentry-sdks.sentry.io/explore/traces/trace/87bb5f4916f04837b5b4b6a31b021d0a/

3 · Headless — extended (finish called) → OK, app_start_cold = 6342 ms
https://sentry-sdks.sentry.io/explore/traces/trace/0563146982d44e05ac67000cc0089f6e/

4 · Headless — finish never called → DEADLINE_EXCEEDED, measurement suppressed
https://sentry-sdks.sentry.io/explore/traces/trace/6aa847bb646c4810b2991ad6b1c2687d/


Collection PR for the Extend App Start stack. Squash-merge this into main once all stack PRs are merged.

Implements the app start extension API — Sentry.extendAppStart() / Sentry.finishAppStart() / Sentry.getExtendedAppStartSpan() — which lets apps extend the app start measurement to cover extra launch-time work.

Closes #5553 #3581

@github-actions

github-actions Bot commented Jun 23, 2026

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

Generated by 🚫 dangerJS against 3a5a55f

@sentry

sentry Bot commented Jun 23, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.46.0 (1) release

⚙️ sentry-android Build Distribution Settings

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.

Add API to extend app start (Android)

1 participant