Cold Android launches can be classified as warm

Ouverte
#6,363 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin

Piste de recherche

Read sentry-android-core/src/main/java/io/sentry/android/core/performance/AppStartMetrics.java and the App Start Tests flow in sentry-android-integration-tests/sentry-uitest-android-critical/maestro/appStart.yaml. Confirm whether the pre-API-35 fallback can classify a cold launch as warm, and inspect how the CI assertion reports its value. Done when the app start type is correctly determined and the critical flow verifies COLD on the affected Android versions.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Android Bug

On Android API 31/33, the critical Maestro App Start Tests flow has repeatedly failed its App Start Type: COLD assertion. The failures may indicate that genuinely cold launches are being reported as warm, rather than only a UI-test timing issue.

  • In AppStartMetrics, the pre-API-35 fallback uses firstIdle when determining app-start type; an idle main looper before the first activity can classify the start as warm.
  • The CI flow launches a fresh app and checks for COLD in appStart.yaml. Existing logs confirm the assertion fails, but do not establish whether the displayed value was WARM or blank; the production impact is therefore still unconfirmed.
  • Reported by Nelson Osacky.

Action taken on behalf of Nelson Osacky.

Langage dominant
Kotlin
Étoiles
1.4k
Forks
483
Merge moyen
2 j 2 h
PR mergées (30 j)
202

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de getsentry/sentry-java

Toutes les issues de getsentry/sentry-java

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.