Long ui.load transactions exceeding deadlineTimeout for Android Activities
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.onStartbut not aActivity.onCreate - None of the suspicious long transactions have a
app.start.coldspan or aapp.start.warmspan
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.
@idosun could you share an event link with us to have a closer look?
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 🥀