Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭
#3,004 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
ios, typescript
领域
mobile

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
5k
派生
334
平均合并
11 小时 48 分钟
30 天内合并 PR
605

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstack/agent-device 的其他 Issue

查看 callstack/agent-device 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。