Cold Android launches can be classified as warm

オープン
#6,363 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Kotlin
スター
1.4k
フォーク
483
平均マージ
2日 2時間
マージ済み PR(30日)
202

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-java のほかの issue

getsentry/sentry-java の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。