slow-ios-window's headless-false case quits DeviceHub before nuke, so a warm refill restarts it and it outlives the lane

Đang mở Phù hợp với người mới
#2,088 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
73/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
mobile-dev, testing

Hướng nghiên cứu

Đọc e2e/slow-ios-window.test.ts quanh các dòng 190–198 và so sánh thứ tự dọn dẹp với hai trường hợp clipboard. Kiểm tra yêu cầu lane trong toolchain.md và bước khởi động được dẫn trong src/drivers/ios/boot-courtesies.ts. Tái hiện hoặc theo dõi quá trình nạp lại nóng sau nuke; hoàn tất khi pgrep -x DeviceHub không tìm thấy tiến trình nào vào cuối lane.

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

Mô tả

bug:new
What happened

The headless-false case of e2e/slow-ios-window.test.ts quits DeviceHub in its finally before it runs nuke (e2e/slow-ios-window.test.ts:190-198). Its daemon runs the default warm pool, so a refill can finish booting after the quit, and its window step (src/drivers/ios/boot-courtesies.ts, open -g -b com.apple.dt.Devices) starts DeviceHub again. Nothing quits that one.

Lane run simlock-slow-e2e-20261203-133523.log, unified log on this Mac:

13:40:40.693 DeviceHub[32839] Handling Quit AppleEvent          <- the case's finally
13:40:47.164 open: LAUNCH (devices://manage/select, refill 4C296CD2)
13:40:47.589 DeviceHub[35444] registers                          <- started again
14:47        pgrep -x DeviceHub -> 35444, "-shutdownStartedDevicesOnQuit NO", running 1 h 06 min

The two clipboard cases run nuke first, then quit, and leave nothing behind.

What you expected

The case leaves DeviceHub not running, as the lane's iOS window line requires (toolchain.md, "pgrep -x DeviceHub finds nothing").

Logs and evidence

Found while triaging #2086. Likely fix: quit DeviceHub after nuke, as the clipboard cases do, or turn the warm pool off in that case.

Written by an agent.

Ngôn ngữ chính
TypeScript
Star
730
Fork
44
Merge trung bình
15 giờ 28 phút
Pull request đã merge (30 ngày)
387

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.