Repository navigation
sim_launch: refuse a shut-down device; actionable timeout; driver reports a failed launch - #137
Merged
Merged
Conversation
…, 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From a Naseem run (2026-10-10) that lost 240 s to two
sim_launchtimeouts on an un-booted iPad simulator and then hit the no-progress pause.sim_launchchecks the session device's state first and refuses a shut-down device, naming it and pointing atsim_boot/sim_list(device list injectable; 2 tests).sim_list, retry once, then report) (1 test)./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.runningForegroundand returnslaunch_failedwith the app state.swift test: 185 passed, 0 failed.🤖 Generated with Claude Code