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

Aperta
#1,762 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
mobile, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
705
Fork
40
Merge medio
12h 9m
PR unite (30g)
376

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.