Skip to content

Long ui.load transactions exceeding deadlineTimeout for Android Activities  #4693

Description

@idosun

Integration

sentry-android

Build System

Gradle

AGP Version

5.9.0

Proguard

Enabled

Version

8.19.1

Steps to Reproduce

Customer is seeing long ui.load traces that exceed the default deadlineTimeout defined (30s)

Expected Result

Transaction duration should not exceed the defined deadlineTimeout

Actual Result

In certain cases, we're seeing transaction duration exceed deadlineTimeout

Some common observations:

  • All suspicious long transactions that are ui.load have a Activity.onStart but not a Activity.onCreate
  • None of the suspicious long transactions have a app.start.cold span or a app.start.warm span

Considering the above, the issue might be that the app goes to the BG before the deadline (and before any other spans are opened) and then it resumes from BG and closes out the open span like an hour later. This could happen if the process starts, but the Activity never gets through onCreate/onStart.

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 2, 2025
  2. changed the title [-]Long ui.load transactions exceeding deadlineTimeout[/-] [+]Long ui.load transactions exceeding deadlineTimeout for Android Activities [/+] on Sep 2, 2025
  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 4, 2025
  4. markushi commented on Sep 10, 2025

    @markushi
    Member

    @idosun could you share an event link with us to have a closer look?

  5. moved this to Waiting for: Community in GitHub Issues with 👀 3on Sep 10, 2025
  6. self-assigned this
    on Oct 1, 2025
  7. getsantry commented on Nov 5, 2025

    @getsantry

    This issue has gone three weeks without activity. In another week, I will close it.

    But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


    "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

  8. reopened this on Nov 12, 2025
  9. github-actions commented on Aug 5, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #5841, which was included in the 8.52.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions