Skip to content

sim_launch: refuse a shut-down device; actionable timeout; driver reports a failed launch - #137

Merged
ayman3000 merged 1 commit into
mainfrom
sim-launch-actionable
Oct 10, 2026
Merged

ayman3000 merged 1 commit into
mainfrom
sim-launch-actionable

Conversation

@ayman3000

Copy link
Copy Markdown
Owner

From a Naseem run (2026-10-10) that lost 240 s to two sim_launch timeouts on an un-booted iPad simulator and then hit the no-progress pause.

  • sim_launch checks the session device's state first and refuses a shut-down device, naming it and pointing at sim_boot/sim_list (device list injectable; 2 tests).
  • A driver request timeout becomes an actionable message (check sim_list, retry once, then report) (1 test).
  • Driver /launch: XCUIApplication.launch() reports failure to XCTest, not to the route, so it answered OK and the next call failed with code 10001. It now waits up to 30 s for .runningForeground and returns launch_failed with the app state.

swift test: 185 passed, 0 failed.

🤖 Generated with Claude Code

…, driver reports a failed launch

A run spent 240 s on two launch timeouts and then paused: the session's
device wasn't booted and the only signal was "The request timed out"
(Naseem, 2026-10-10). sim_launch now refuses a device that isn't booted
with the reason; a driver timeout says to check sim_list and retry once;
the driver's /launch waits for the foreground and reports launch_failed
with the app's state instead of answering OK and failing on the next call.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ayman3000
ayman3000 merged commit 513afce into main Oct 10, 2026
1 check passed
@ayman3000
ayman3000 deleted the sim-launch-actionable branch October 10, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant