Skip to content

feat: Add a settle_timeout_seconds option to wait for Simulator background daemons - #595

Open
mykola-mokhnach wants to merge 1 commit into
futureware-tech:mainfrom
mykola-mokhnach:settle-timeout-seconds
Open

feat: Add a settle_timeout_seconds option to wait for Simulator background daemons#595
mykola-mokhnach wants to merge 1 commit into
futureware-tech:mainfrom
mykola-mokhnach:settle-timeout-seconds

Conversation

@mykola-mokhnach

Copy link
Copy Markdown

Downstream CI found that simctl bootstatus only confirms SpringBoard is reachable, while launchd_sim keeps spawning background daemons for another 30-90s, starving real work of CPU. This adds an opt-in poll on launchd_sim's direct children's aggregate %CPU, bounded by a mandatory positive timeout so it can never hang a job. Unset (default) or 0 preserves current behavior exactly, with nothing logged.

@mykola-mokhnach mykola-mokhnach changed the title Add a settle_timeout_seconds option to wait for Simulator background daemons feat: Add a settle_timeout_seconds option to wait for Simulator background daemons Aug 15, 2026
…round daemons

Downstream CI found that simctl bootstatus only confirms SpringBoard is
reachable, while launchd_sim keeps spawning background daemons for another
30-90s, starving real work of CPU. This adds an opt-in poll on launchd_sim's
direct children's aggregate %CPU, bounded by a mandatory positive timeout so
it can never hang a job. Unset (default) or 0 preserves current behavior
exactly, with nothing logged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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