flaky: slow-android-stream still-screen key frames stay fewer than 4 after the first 15 s on a slow-lane emulator

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
mobile, testing

調査の方向性

Start with e2e/slow-android-stream.test.ts and the screen module manual’s note about slow initial emulator resets; compare the test’s 15-second settling window with the observed key-frame counts. Check src/drivers/android/screen/session.ts and ADR 0079 §5 to determine whether the emulator misses the 5-second bound or the test needs a longer settling window. Done when the cause is measured and the still-screen key-frame check behaves reliably on the slow lane.

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

説明

bug:new flaky-test

e2e/slow-android-stream.test.ts, "streams a leased emulator's screen as meta, an avcC description and an H.264 key frame, … keeps a still screen open 15 s past the silence bound with a key frame at least every 5.5 s, …" fails in the slow lane with AssertionError: fewer than 4 key frames after the first 15 s of a still screen.

On 2026-11-19, on one macOS slow-lane machine, two runs in a row:

  • main's src/drivers/android/screen/session.ts (fb426763): expected 2 to be greater than or equal to 4.
  • PR #1742's launch (0c3a3f1e..e88098a3): expected 1 to be greater than or equal to 4.

The test already leaves out the first 15 s because a just-booted emulator answers its first resets in 2 to 5 s. In these runs, the 30 s after that still did not settle to about one key frame per reset. It matches the screen module manual's known gap ("A fresh emulator answers its first resets slowly"), lasting longer than the test allows. Whether ADR 0079 §5's 5 s bound is missed on this emulator, or only the test's settle window is too short, is not measured yet.

Written by an agent.

主要言語
TypeScript
スター
705
フォーク
40
平均マージ
12時間 9分
マージ済み PR(30日)
376

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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