Repository navigation
Conversation
Require a successful installer probe after bootstatus and preserve the existing readiness deadline for retries and hung probes.
Poll scoped listapps after every simulator boot, retry transient failures within the existing readiness budget, and shut down on expiry. Cover immediate installs after erase in the slow lane.
Resolve claims review findings: recovery keeps the normal readiness budget, skips re-slimming, and the slim event records the simulator commit.
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.
What is this?
Prevents iOS simulator leases from being granted before the app installer is ready. Closes #547.
How does it work?
After bootstatus, the iOS driver polls scoped
simctl listappswithin the remaining readiness budget. Failed or hung probes retry; expiry fails readiness and attempts shutdown. Both boots of a slim device use the same check.Why is this useful?
The first install after a grant no longer races a boot that has not passed the installer probe.
Status
Implementation, reviews, and targeted hardware verification complete. Ready for review.
Assumptions
Assumption: the existing bootstatus timeout covers bootstatus and installer polling together; the boot command keeps its separate timeout.
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 3 fixed, 0 notes.
Rounds: 1. Tokens: n/a.
Fixed unreviewed (text only): clarify the recovery deadline, slim event timing, and recovery's skipped slim pass.
Written by an agent.