Repository navigation
ci: build with Xcode 27.1 and test on the newest simulator that runs each device - #888
Conversation
…each device Xcode 27.1 is the first SDK that lays the app out on the iPhone Duo. Its iOS 27.1 simulator runtime runs only the iPhone Duo, so the regression job's iPhone 17 Pro could no longer be created from the SDK-matching runtime. apple-build-metadata.py now picks the test simulator: the newest runtime from the SDK's major release, no newer than the SDK, that runs the scheme's test device. The regression job asks it for the runtime and device, and the release job's live discovery uses the same rule, so release-proof toolchains still match. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 8 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The problem statement says Xcode 27.1 removes letterboxing on iPhone Duo, so this changes visible layout even though only build tooling changes. Please replace the no-visible-change claim with before-and-after captures of the same screen and data on iPhone Duo, folded and open, naming the builds. |
When no installed runtime runs the test device, the regression job downloaded the SDK's own runtime. Under Xcode 27.1 that is iOS 27.1, which runs only the iPhone Duo, so the iPhone 17 Pro job still had no runtime. It now tries the release's .0 runtime next. Build metadata commands that fail or can't launch now raise an error naming only the tool, as timeouts already did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Right, the SDK change is visible on the iPhone Duo. The Evidence section and page now show |
Problem
Related issue: N/A
Validation tasks: none
Release and regression builds use Xcode 27.0, whose iOS SDK runs the app letterboxed on the iPhone Duo. Xcode 27.1 is the first SDK that lays the app out on the Duo's screens. Moving to it breaks the regression job's iOS tests: the iOS 27.1 simulator runtime runs only the iPhone Duo, and the job creates its iPhone 17 Pro from the runtime that matches the SDK version.
Approach
release.yml,player-regression.yml, andsideload-ipa.ymlselect Xcode 27.1. tvOS and macOS keep their 27.0 SDKs, which Xcode 27.1 ships.apple-build-metadata.pyowns the test simulator rule. The test runtime is the newest one from the SDK's major release, no newer than the SDK, that runs the scheme's test device (iPhone 17 Pro or Apple TV 4K). Under Xcode 27.1 that is iOS 27.0 for an iOS 27.1 SDK.--test-simulatoroption, run from the controller checkout. The release job's live toolchain discovery uses the same rule, so release proof from the regression job still matches the release job's toolchain.Testing on the iPhone Duo was the other option. A player layout test fails there because its windows are larger than the folded screen, and every iOS test would run on that small screen.
Validation
apple-build-metadata37 passed (new runtime-rule tests included),find-regression-proof35 passed,select-apple-platforms51 passed.bash -n.xcrunandxcodebuild: selects iOS 27.0 with nothing installed, with only 27.1 installed, and with 27.0 installed.xcode-27runner. Its image ships Xcode 27.1 build 27A9275; the local checks used 27A9269.Evidence
Evidence: https://evidence.siloserver.org/r/silo-apple/pr-888/
On the iPhone Duo,
mainbuilt with Xcode 27.0 runs scaled up in compatibility mode, folded and open, with the bottom tab bar. Built with Xcode 27.1 it runs at native scale, and the system replaces the tab bar with its rail of destinations; #889 lays the app out for that. Other devices don't change: iPhone and iPad run at native scale with either SDK, and tvOS and macOS keep their 27.0 SDKs. The page also has the steps and test results.Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Build CI with Xcode 27.1 and pick the newest compatible simulator per device
test_simulatormode in apple-build-metadata.py. It picks the newest available runtime in the SDK's major release that supports the scheme's test device and is no newer than the SDK version. The regression workflow uses this to prepare its simulator, with a fallback that downloads the major release's .0 platform when no compatible simulator exists.RuntimeErrorthat names only the executable, so secret arguments stay hidden.Macroscope summarized bbd7a1d.