Repository navigation
ci: Move iOS runtime tests off macOS-14 (backport 6.7) - #24965
Conversation
Backport of #24680 (CI part) to release/stable/6.7. The macOS-14 hosted image is retired on 2 Nov 2026. The shards now use the build image and Xcode, take the simulator runtime that Xcode ships, create the 12.9-inch iPad when the image lacks it, and install with xcrun simctl instead of idb. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
Backport of #24961 (cleanup part) to release/stable/6.7. Nothing runs on macOSVMImage_UITests / xCodeRoot_iOS_UITests anymore; the disabled native iOS stage and TestFlight now take the build image and Xcode. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
Review effort: Lite
Findings: 3
Open (4)
The runtime selection matches.versionbystartswith($IOS_SDK_VERSION). In practice, the iOS… · New The previous implementation had an explicit wait loop becausesimctl listcould temporarily… · New If the UDID isn’t found in thesimctl list devicesoutput (e.g., transient CoreSimulator state),… · New Using:=inside the exported assignment is functional, but it’s a bit opaque because it both… · New
What changed in this PR
Moves iOS Skia runtime tests off the retiring macOS-14 image by aligning UI test execution with the standard macOS image/Xcode and simplifying the simulator install path.
Changes:
- Switch
ios-uitest-run.shfrom idb-based installs and hardcoded iOS runtime to Xcode-selected runtime discovery +simctl install(with one retry). - Remove macOS-14 / Xcode 15.3 “UITest” image parameters from Azure DevOps templates and route iOS test jobs to the build image/Xcode.
- Drop
macOSVMImage_UITestsandxCodeRoot_iOS_UITestsvariables from the main pipeline variables.
| File | Description |
|---|---|
| build/test-scripts/ios-uitest-run.sh | Updates simulator runtime/device resolution and app install flow to avoid idb and hardcoded iOS 17.5 runtime. |
| build/ci/tests/.azure-devops-tests--skia.yml | Removes test-only macOS/Xcode parameters and uses the shared build image/Xcode for iOS Skia runtime tests. |
| build/ci/tests/.azure-devops-tests-ios-native.yml | Routes native iOS test jobs to the shared image/Xcode settings instead of test-only parameters. |
| build/ci/publish/.azure-devops-publish-ios-testflight.yml | Removes test-only Xcode root parameter to align publishing with build Xcode selection. |
| build/ci/.azure-devops-stages.yml | Stops supplying macOS-14/Xcode 15.3 test-only parameters into downstream templates. |
| .vsts-ci.yml | Removes macOS-14/Xcode 15.3 test-only variables from pipeline configuration. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Moves the remaining macOS-15 jobs to macOS-26, as on master. macOS-26 does not ship the iOS 26.1 simulator runtime that Xcode 26.1.1 needs, so Xcode moves to 26.6 (iOS 26.5 runtime preinstalled). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
|
Claude finished @MartinZikmund's task in 3m 13s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup is correct and complete, but 3 medium issues, 0 blocking:
Cross-cutting notes:
|
|
Claude finished @MartinZikmund's task in 2m 7s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup is correct and complete, but 3 medium issues, 0 blocking:
Cross-cutting notes:
|
The upstream Noto font data moved, so the Font Fallback Maps Validation stage fails on every release/stable/6.7 PR. master and servicing/6.8 regenerate these on a schedule; 6.7 does not. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
|
Claude finished @MartinZikmund's task in 2m 33s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup is correct and complete, but 3 medium issues, 0 blocking:
Cross-cutting notes:
|
Uno.Templates@*-* now resolves to 7.0.0-dev.17, so MyApp is built on 7.0 packages and the locally built 6.x RemoteControl client never connects. Mirrors the master ignore (37dc650). Refs #24800 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014RHVD5sbb5nMHzf8Lu24gZ (cherry picked from commit caa909b)
|
Claude finished @MartinZikmund's task in 1m 59s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup is correct and complete, but 3 medium issues, 0 blocking:
Each issue has a code suggestion attached to its inline comment — they are independent one-to-three line fixes. Cross-cutting notes:
|
.NET for iOS 26.1 refuses any Xcode but 26.1 ("requires Xcode 26.1. The current version of Xcode is 26.6"), so builds stay on Xcode 26.1.1, which macOS-26 also ships. That image has no iOS 26.1 simulator runtime, so build-only jobs skip the runtime check in Select Xcode, and the iOS runtime-test shards select Xcode 26.6, whose iOS 26.5 runtime is preinstalled.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24965/wasm-skia-net9/index.html |
|
Claude finished @MartinZikmund's task in 1m 46s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup is correct and complete, but 3 medium issues, 0 blocking:
Cross-cutting notes (unchanged from previous passes):
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24965/wasm-skia-net9/index.html |
On the macOS-26 image these segfault the whole Desktop Skia macOS run on 6.x, in three out of three runs, taking every later test with it. They are already skipped on iOS and Win32 for #11997; master passes them, so the crash is 6.x-specific and needs a Mac to root-cause. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa
61edc86 to
1936306
Compare
|
Claude finished @MartinZikmund's task in 2m 4s —— View job PR ReviewVerdict: fix-first — the CI YAML cleanup and the new 3 medium issues, 0 blocking:
New commit ( Adding Cross-cutting notes (unchanged from previous passes):
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24965/wasm-skia-net9/index.html |
|
The build 237295 did not find any UI Test snapshots differences. |
|
|
morning4coffe-dev
left a comment
There was a problem hiding this comment.
Verified: the CI changes mirror the 6.8 backport (same set of files, minus tvOS), and the diff applies to the current release/stable/6.7 blobs.
Blocking:
- Tests - Desktop Skia macOS Runtime Tests still fails on this head (Azure build 237295, head 1936306). The test process segfaults in Given_WebView2 "When_WebMessageReceived_After_RemoveAdd", which is not covered by the ExecuteScriptAsync skip. The description says that skip is what keeps the lane alive; the run shows the crash moving to another WebView2 test. Either skip the remaining crashing WebView2 tests on SkiaMacOS too, or correct the description.
Scope (non-blocking, please consider):
2. The PR also regenerates FontFallbackMaps.skia.cs, cherry-picks caa909b (ignores the DevServer app-launch test), and carries the macOS CI move. The first two are described, but they are unrelated to the CI change and change Uno.UI behavior on the release branch. Splitting them out would let the CI change be reverted independently.
3. I did not verify the claim that the upstream Noto data moved, or that the regenerated maps are correct.
Passing on this head: iOS Skia runtime tests 0-3, iOS Skia build, macOS native build, templates macOS tests 1-4.
Brings the review fixes master's #24961 got: retry the runtime and device-type lookups while simctl settles, give the missing device type its own UNOBLD009 code, and drop the unused device data path export. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmiyo6fvmNeNuLXL2kbyJN (cherry picked from commit 8fbf6e1)
|
Claude finished @agneszitte's task in 5m 52s —— View job PR ReviewVerdict: fix-first — the commit Issues found: 3 (1 blocking, 2 medium)
Each issue has a one-click code suggestion in its inline comment. Cross-cutting notes:
|
|
Resolving the automated review threads on I added the one commit #24964 got after these reviews, 8fbf6e1 (cherry-picked here as e5ce917). It brings master's #24961 review fixes: the runtime and device-type lookups are retried while |
|
|
||
| [TestMethod] | ||
| [PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaUIKit | RuntimeTestPlatforms.NativeUIKit | RuntimeTestPlatforms.SkiaWin32)] // Temporarily disabled due to #11997 | ||
| [PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaUIKit | RuntimeTestPlatforms.NativeUIKit | RuntimeTestPlatforms.SkiaWin32 | RuntimeTestPlatforms.SkiaMacOS)] // Temporarily disabled due to #11997; on macOS 26 these segfault the test process |
There was a problem hiding this comment.
Medium — When_WebMessageReceived_After_RemoveAdd calls ExecuteScriptAsync but is not excluded on SkiaMacOS.
The five When_ExecuteScriptAsync_* tests were correctly excluded on SkiaMacOS in commit 19363066, but When_WebMessageReceived_After_RemoveAdd (line 489) also calls ExecuteScriptAsync at two points in its body and its [PlatformCondition] only excludes SkiaIOS | NativeAndroid | NativeIOS. morning4coffe-dev's review of build 237295 confirmed the segfault moved to that test.
The fix is a one-line change at line 489:
[PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaIOS | RuntimeTestPlatforms.NativeAndroid | RuntimeTestPlatforms.NativeIOS | RuntimeTestPlatforms.SkiaMacOS)] // Temporarily disabled on macOS 26 due to ExecuteScriptAsync segfault; see #11997| for attempt in 1 2 3 4 5 6; do | ||
| UNO_UITEST_SIMULATOR_VERSION=$(xcrun simctl list runtimes --json | jq -r --arg ver "$IOS_SDK_VERSION" ' | ||
| .runtimes | ||
| | map(select(.isAvailable == true and (.identifier | test("SimRuntime\\.iOS")) and (.version | startswith($ver)))) |
There was a problem hiding this comment.
Medium — startswith($ver) can produce a false UNOBLD008 failure when SDK and runtime patch versions diverge.
xcrun --sdk iphonesimulator --show-sdk-version returns "26.5" on some Xcode versions and "26.5.0" on others. The runtime .version from simctl list runtimes is always three-part. If $ver is "26.5.0" and the installed runtime is "26.5.1", startswith("26.5.0") is false — a valid runtime is rejected and the job fails with UNOBLD008.
The meaningful compatibility boundary for simulator runtimes is major.minor. Compare only that:
| | map(select(.isAvailable == true and (.identifier | test("SimRuntime\\.iOS")) and (.version | startswith($ver)))) | |
| | map(select(.isAvailable == true and (.identifier | test("SimRuntime\\.iOS")) and (.version | split(".")[0:2] | join(".") == ($ver | split(".")[0:2] | join("."))))) |
| export DEVICELIST_FILEPATH=$LOG_FILEPATH/DeviceList-$LOG_PREFIX.json | ||
| echo "Listing iOS simulators to $DEVICELIST_FILEPATH" | ||
| xcrun simctl list devices --json > $DEVICELIST_FILEPATH | ||
| UITEST_IOSDEVICE_ID=$(find_ios_device) |
There was a problem hiding this comment.
Medium — single find_ios_device() call still reintroduces CoreSimulator startup flakiness.
The retry loop added in e5ce9178 correctly guards the runtime and device-type lookups, but the initial device ID lookup at this line is still a single call with no retry. CoreSimulator can take a few seconds to become responsive on a freshly provisioned agent; if it isn't ready here, find_ios_device() returns empty, execution falls through to the creation path, and simctl create can silently duplicate a pre-created device or fail.
A short bounded retry before the creation fallback restores the guard:
| UITEST_IOSDEVICE_ID=$(find_ios_device) | |
| for _cs_attempt in 1 2 3; do | |
| UITEST_IOSDEVICE_ID=$(find_ios_device) | |
| [ -n "$UITEST_IOSDEVICE_ID" ] && break | |
| echo "CoreSimulator not ready yet (attempt $_cs_attempt/3), retrying in 5s…" | |
| sleep 5 | |
| done |
If UITEST_IOSDEVICE_ID is still empty after retries, the existing creation path below is the correct fallback.


GitHub Issue: part of #24959
Backport of #24680 and #24961 to
release/stable/6.7, in one PR.PR Type:
🏗️ Build or CI related changes
What changed? 🚀
The hosted
macOS-14image is retired on 2 Nov 2026, with outage windows from 5 Oct. On this branch the iOS Skia runtime tests still ran on it (macOSVMImage_UITests/ Xcode 15.3), and every other Mac job ran onmacOS-15. This branch has no tvOS stage.macOS-15tomacOS-26. The DevServer CLI template-test jobs that hardcodedmacOS-15move too.xCodeRootSimulator), whose iOS 26.5 runtime is preinstalled, so they skip that download. An app built with the 26.1 SDK runs on the newer simulator.macOS-26, iOS 26.5 simulator).ios-uitest-run.shuses the simulator runtime that ships with the selected Xcode instead of the hardcodediOS-17-5, createsiPad Pro (12.9-inch) (6th generation)when the image lacks it (same screen size as before), and installs withxcrun simctl install(one retry). idb and its Homebrew tap / Python pins are gone.macOSVMImage_UITests,xCodeRoot_iOS_UITestsand thevmMacImageTest/vmImageTest/xCodeRootTesttemplate parameters are removed. The disabled native iOS stage and TestFlight now take the build image and Xcode.Also regenerates
FontFallbackMaps.skia.cs. The upstream Noto data moved, soSetup - Font Fallback Maps Validationfails on every 6.7 PR (master and 6.8 regenerate it on a schedule; 6.7 doesn't).Also cherry-picks
caa909b46c8fromservicing/6.8, which ignoresRealAppLaunchIntegrationTests.WhenRealAppBuiltAndRunWithDevServer_RealConnectionEstablished.Uno.Templates@*-*now scaffolds MyApp on 7.0 packages, which a 6.x DevServer can't connect to, so the test fails onrelease/stable/6.7itself (build 236027).Also skips the five WebView2
ExecuteScriptAsyncruntime tests onSkiaMacOS, next to their existing iOS/Win32 #11997 exclusion. On the macOS-26 image they segfault the whole Desktop Skia macOS process on 6.x (3 out of 3 runs on 6.7), so every later test is lost. Master passes them on macOS-26, and backporting the #24112 native-peer fix did not help, so the root cause is 6.x-specific and needs a Mac to chase.The iOS multi-window scene fix from #24680 isn't needed here: this branch doesn't support multiple windows on iOS (
SupportsMultipleWindowsisfalse), so closing a window can't background the app.Risk: the simulator moves from iOS 17.5 to iOS 26.5, so outcomes can shift. This PR's CI run is the check.
PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa