Cold Android launches can be classified as warm

Abierto
#6,363 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Kotlin
Estrellas
1.4k
Forks
483
Merge medio
2 d 2 h
PR fusionados (30 d)
202

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/sentry-java

Todos los issues de getsentry/sentry-java

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.