Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

boot: the first boot of a new iOS simulator exceeds the fixed 90 s daemon timeout

Đã đóng
#3,004 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
68/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ệ
ios, typescript
Lĩnh vực
mobile

Hướng nghiên cứu

Start with the timeout policy in dist/src/sdk-batch.js and trace the boot command entry point exposed by agent-device boot --help. Reproduce a first boot on a newly created iOS simulator, then verify that boot either has a sufficient first-boot budget or accepts a caller-configurable timeout without regressing the successful retry path.

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

Mô tả

ready-for-agent

Problem

On a newly created iOS simulator, the first agent-device boot --platform ios --device <name> fails with COMMAND_FAILED: Daemon request timed out after 90 s. The simulator is left Shutdown (xcrun simctl list devices). Running the same command again succeeds.

boot uses the default timeout policy (timeoutPolicy: N in dist/src/sdk-batch.js: envelopeMs: 9e4, budget: { source: 'none' }). No flag or environment variable can raise that limit: agent-device boot --help lists only --headless.

Evidence

agent-device 0.21.15, macOS 26.6.2, Xcode 27.0 (27A266a), iOS 26.5 runtime. The iOS runner was already cached (doctor: iOS runner artifact cached).

Simulator (xcrun simctl create) First boot Retry
iPhone 16 timed out at 90 s succeeded in 77 s
iPhone 17 timed out at 90 s succeeded in 14 s
iPhone 17 timed out at 90 s succeeded in 34 s

Required behavior

The first boot of a new simulator completes on its own. Either give boot a timeout budget that covers a first boot, or let the caller set one.

Ngôn ngữ chính
TypeScript
Star
4.8k
Fork
315
Merge trung bình
11 giờ 27 phút
Pull request đã merge (30 ngày)
556

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

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 callstack/agent-device

Tất cả issue của callstack/agent-device

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.