René's URL Explorer Experiment


Title: Incorrect app start transaction duration when app goes in sleep · Issue #5752 · getsentry/sentry-java · GitHub

Open Graph Title: Incorrect app start transaction duration when app goes in sleep · Issue #5752 · getsentry/sentry-java

X Title: Incorrect app start transaction duration when app goes in sleep · Issue #5752 · getsentry/sentry-java

Description: As reported by a customer we're seeing the following behavior: App is launched A cold start is detected and an ui.load transaction is created (app.start.cold + ttid) The app is backgrounded before the first frame draws (and the activity ...

Open Graph Description: As reported by a customer we're seeing the following behavior: App is launched A cold start is detected and an ui.load transaction is created (app.start.cold + ttid) The app is backgrounded before ...

X Description: As reported by a customer we're seeing the following behavior: App is launched A cold start is detected and an ui.load transaction is created (app.start.cold + ttid) The app is backgrounded bef...

Opengraph URL: https://github.com/getsentry/sentry-java/issues/5752

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect app start transaction duration when app goes in sleep","articleBody":"As reported by a customer we're seeing the following behavior:\n\n1. App is launched\n2. A cold start is detected and an `ui.load` transaction is created (`app.start.cold` + `ttid`)\n3. The app is backgrounded before the first frame draws (and the activity only progresses through the `onCreate` + `onStart` phases, no `onDestroy`) — so TTID never happens, and no lifecycle cleanup on our side runs.\n4. The device enters Doze, which freezes our deadline timer so it doesn't fire at +30s.\n5. Hours later the device wakes up, the deadline finally fires when the app is resumed, and our `forceFinish` stamps the spans with the current time.\n6. The resulting transactions spans over multiple hours.\n\nI would argue that we should drop any foreground launches which have a doze in-between, as it just skews the real \"user perceived\" launches.\n\nOn the other hand, a real user was probably waiting for a few seconds for the app to come alive, but it didn't, so the user bailed.\n\nRelated issue: getsentry/sentry-java#5530\n\n## Decision (2026-11-12)\n\nFiltering on `span.status:ok` doesn't remove these transactions. After the device wakes from Doze, or the process is thawed by the cached apps freezer, the overdue deadline timer races the first frame:\n\n* Timer first: everything ends `deadline_exceeded`, but at the wake time, so it's hours long.\n* First frame first: TTID and app start are measured from the Activity's start, and the idle timeout finishes the transaction as `ok`.\n\nIn one customer's data, most `ui.load` transactions over 60s were `ok` with this signature.\n\nThe fix goes on main and changes no timings: every timestamp, duration and measurement stays as it is. It measures the deadline with a `Deadline` on the boottime ticker, which counts deep sleep. Once that has passed, the transaction and every span that finishes after it get `deadline_exceeded`, the status the deadline timer already gives. So `span.status:ok` filters these transactions out, whichever path finishes them. The timer stays, so an awake device still ends on time. #5755 (closed) tried dropping late transactions instead.\n\nSide effect: the extended app start vital is skipped when its span ends after the deadline, because `AppStartExtension` ignores `deadline_exceeded` spans.","author":{"url":"https://github.com/markushi","@type":"Person","name":"markushi"},"datePublished":"2026-07-10T08:45:18Z","url":"https://github.com/getsentry/sentry-java/issues/5752"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1edbde51-261b-839a-53e5-166160fb50db
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBBFA:25E63A:27CBA:37FD8:6B04613D
html-safe-nonce5c457f918291d69b782028e272bac7bbe0c5240ff4ac7c76ab8d2a743e396083
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkZBOjI1RTYzQToyN0NCQTozN0ZEODo2QjA0NjEzRCIsInZpc2l0b3JfaWQiOiI4NTM4MTg3NTQ3OTEyOTg2OTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac285fd810002d319b50297722b279cfd7044ab89453fb623bf72b05069deb9ae5
hovercard-subject-tagissue:4853487885
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/5752/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f32c6774e68b929471f13f3a5b03f62bcf83885dad1616f3a97a98d141e44e0/getsentry/sentry-java/issues/5752
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f32c6774e68b929471f13f3a5b03f62bcf83885dad1616f3a97a98d141e44e0/getsentry/sentry-java/issues/5752
og:image:altAs reported by a customer we're seeing the following behavior: App is launched A cold start is detected and an ui.load transaction is created (app.start.cold + ttid) The app is backgrounded before ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkushi
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/issues/5752#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F5752
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F5752
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/issues/5752
Reloadhttps://github.com/getsentry/sentry-java/issues/5752
Reloadhttps://github.com/getsentry/sentry-java/issues/5752
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
https://github.com/getsentry/sentry-java
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/5752
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/5752
#6599https://github.com/getsentry/sentry-java/pull/6599
Incorrect app start transaction duration when app goes in sleephttps://github.com/getsentry/sentry-java/issues/5752#top
#6599https://github.com/getsentry/sentry-java/pull/6599
https://github.com/runningcode
AndroidSDKhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Android%22
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
Platform: Androidhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Android%22
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
Spanshttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Spans%22
https://github.com/markushi
markushihttps://github.com/markushi
on Jul 10, 2026https://github.com/getsentry/sentry-java/issues/5752#issue-4853487885
#5530https://github.com/getsentry/sentry-java/issues/5530
#5755https://github.com/getsentry/sentry-java/pull/5755
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Jul 10, 2026https://github.com/getsentry/sentry-java/issues/5752#issuecomment-4933618758
Linear Codehttps://linear.app
JAVA-642https://linear.app/getsentry/issue/JAVA-642
markushihttps://github.com/markushi
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
AndroidSDKhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Android%22
Platform: Androidhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Android%22
on Jul 10, 2026https://github.com/getsentry/sentry-java/issues/5752#event-27804874940
github-actionshttps://github.com/apps/github-actions
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
on Jul 10, 2026https://github.com/getsentry/sentry-java/issues/5752#event-27804882213
linear-codehttps://github.com/apps/linear-code
runningcodehttps://github.com/runningcode
on Sep 10, 2026https://github.com/getsentry/sentry-java/issues/5752#event-30907003231
runningcodehttps://github.com/runningcode
on Sep 15, 2026https://github.com/getsentry/sentry-java/issues/5752#event-31173836654
revert: fix(tracing): End timed-out transactions when the timeout fel…https://github.com/getsentry/sentry-java/commit/429c0eb0243af658c948b41b7f6eb695bb72ba6d
429c0ebhttps://github.com/getsentry/sentry-java/commit/429c0eb0243af658c948b41b7f6eb695bb72ba6d
runningcodehttps://github.com/runningcode
completedhttps://github.com/getsentry/sentry-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 6, 2026https://github.com/getsentry/sentry-java/issues/5752#event-35354816899
https://github.com/runningcode
runningcodehttps://github.com/runningcode
on Nov 6, 2026https://github.com/getsentry/sentry-java/issues/5752#issuecomment-6686729340
runningcodehttps://github.com/runningcode
on Nov 12, 2026https://github.com/getsentry/sentry-java/issues/5752#event-35908197710
linear-codehttps://github.com/apps/linear-code
Spanshttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Spans%22
on Nov 12, 2026https://github.com/getsentry/sentry-java/issues/5752#event-35908238133
runningcodehttps://github.com/runningcode
completedhttps://github.com/getsentry/sentry-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6599https://github.com/getsentry/sentry-java/pull/6599
on Nov 17, 2026https://github.com/getsentry/sentry-java/issues/5752#event-36413830285
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 17, 2026https://github.com/getsentry/sentry-java/issues/5752#issuecomment-6952146264
GitHub Actionshttps://help.github.com/en/actions
#6599https://github.com/getsentry/sentry-java/pull/6599
8.65.0 releasehttps://github.com/getsentry/sentry-java/releases/tag/8.65.0
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-java/issues/5752
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/5752
runningcodehttps://github.com/runningcode
AndroidSDKhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Android%22
BugIssue typehttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Bug%22
Platform: Androidhttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Android%22
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
Spanshttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Spans%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.