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

Đang mở
#1,762 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
mobile, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
705
Fork
40
Merge trung bình
12 giờ 9 phút
Pull request đã merge (30 ngày)
376

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstackincubator/simlock

Tất cả issue của callstackincubator/simlock

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.