Skip to content

ci: boot the iOS simulator while the tests build - #8

Closed
filipbodor wants to merge 1 commit into
mainfrom
filipbodor/ios-overlap-simulator-boot
Closed

filipbodor wants to merge 1 commit into
mainfrom
filipbodor/ios-overlap-simulator-boot

Conversation

@filipbodor

Copy link
Copy Markdown
Member

Shortens the ios CI job by running the simulator boot alongside the build.

In the last runs the job spent 2 min 21 s in simctl bootstatus before xcodebuild started, then about 2 min resolving packages and compiling. scripts/test-ios.sh now starts the boot in the background, builds with build-for-testing, waits for the boot and runs test-without-building. The tests still start on a fully booted simulator; a failed boot or build still fails the script.

Expected saving: about 2 min per run. make test-ios and the result bundle work as before.

On CI the ios job waited 2 min 21 s for the simulator to boot before
xcodebuild started, then spent about 2 min resolving and building.
Building needs no booted simulator, so start the boot in the
background, build with build-for-testing, wait for the boot and run
test-without-building. The tests still start on a fully booted
simulator, and a failed boot or build fails the script as before.
@filipbodor
filipbodor marked this pull request as ready for review October 15, 2026 14:54
@filipbodor
filipbodor requested a review from a team as a code owner October 15, 2026 14:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T14:55:48.673470Z d39a43c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@filipbodor

Copy link
Copy Markdown
Member Author

Closing: the ios job was not measurably faster (8 min 17 s vs 6.5–9.5 min on recent runs); the device lookup before the build dominates.

@filipbodor filipbodor closed this Oct 15, 2026
@filipbodor
filipbodor deleted the filipbodor/ios-overlap-simulator-boot branch October 15, 2026 14:57
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