You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit da72842
Browse filesBrowse the repository at this point in the historyBrowse files
fix(daemon): validate boot's --timeout deadline and cover it with a test
Compute the absolute boot deadline once at the daemon boundary, the same
way open/prepare already do, instead of converting a raw timeoutMs inside
the Apple runtime. This fixes a NaN/non-positive value silently disabling
the boot_timeout budget, and removes the second, looser conversion path.
Also adds a handler test asserting flags.timeoutMs reaches bootTarget's
deadline, tightens the runtime-layer boot-deadline test assertions to
also cover the bootstatus call, and corrects the commands.md line that
claimed the 120s boot-wait cap applies without --timeout (the 90s
request envelope ends the boot first).
Copy file name to clipboardExpand all lines: website/docs/docs/commands.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ agent-device fold open
69
69
-`--platform apple` is an alias for the Apple automation backend (`ios`, `tvOS`, `macOS` selection).
70
70
- Use `--target mobile|tv|desktop` with `--platform` (required) to select phone/tablet vs TV-class vs desktop-class targets.
71
71
-`boot` is mainly needed when starting a new session and `open` fails because no booted simulator/emulator is available.
72
-
-`boot --timeout <ms>` is a startup budget for the Simulator boot, same as `open`'s. A never-booted iOS Simulator runs Apple's first-boot migration, which can take several minutes; without the flag the boot wait is capped at 120 seconds. When the budget runs out the command fails with `error.details.reason: boot_timeout` and the Simulator keeps booting, so a retry finds it further along.
72
+
-`boot --timeout <ms>` is a startup budget for the Simulator boot, same as `open`'s. A never-booted iOS Simulator runs Apple's first-boot migration, which can take several minutes; without the flag the command's 90-second request envelope ends the boot first, before the wait's own 120-second cap ever applies. When the budget runs out the command fails with `error.details.reason: boot_timeout` and the Simulator keeps booting, so a retry finds it further along.
73
73
- Android: `boot --platform android --device <avd-name>` launches that emulator in GUI mode when needed.
74
74
- Android: add `--headless` to launch without opening a GUI window.
0 commit comments