Skip to content

ci: Move iOS runtime tests off macOS-14 (backport 6.7) - #24965

Merged
agneszitte merged 11 commits into
release/stable/6.7from
dev/mazi/ci-macos14-off-6.7
Oct 28, 2026
Merged

agneszitte merged 11 commits into
release/stable/6.7from
dev/mazi/ci-macos14-off-6.7

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

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-14 image 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 on macOS-15. This branch has no tvOS stage.

  • No macOS-15 either: the build image moves from macOS-15 to macOS-26. The DevServer CLI template-test jobs that hardcoded macOS-15 move too.
  • Xcode: builds stay on Xcode 26.1.1 (also on macOS-26), because .NET for iOS 26.1 refuses any other Xcode. macOS-26 doesn't preinstall the iOS 26.1 simulator runtime, and the build jobs need it (actool won't compile asset catalogs without a runtime that matches the SDK), so Select Xcode downloads it there, as it already did when missing. The iOS runtime-test shards select Xcode 26.6 (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.
  • The iOS shards run on the build image (macOS-26, iOS 26.5 simulator).
  • The macOS desktop runtime-test job timeout goes from 60 to 120 min: the 6.x suite already took 26-55 min on macOS-15 and ran past 60 on macOS-26.
  • ios-uitest-run.sh uses the simulator runtime that ships with the selected Xcode instead of the hardcoded iOS-17-5, creates iPad Pro (12.9-inch) (6th generation) when the image lacks it (same screen size as before), and installs with xcrun simctl install (one retry). idb and its Homebrew tap / Python pins are gone.
  • macOSVMImage_UITests, xCodeRoot_iOS_UITests and the vmMacImageTest / vmImageTest / xCodeRootTest template 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, so Setup - Font Fallback Maps Validation fails on every 6.7 PR (master and 6.8 regenerate it on a schedule; 6.7 doesn't).

Also cherry-picks caa909b46c8 from servicing/6.8, which ignores RealAppLaunchIntegrationTests.WhenRealAppBuiltAndRunWithDevServer_RealConnectionEstablished. Uno.Templates@*-* now scaffolds MyApp on 7.0 packages, which a 6.x DevServer can't connect to, so the test fails on release/stable/6.7 itself (build 236027).

Also skips the five WebView2 ExecuteScriptAsync runtime tests on SkiaMacOS, 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 (SupportsMultipleWindows is false), 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 ✅

🤖 Generated with Claude Code

https://claude.ai/code/session_018riLfyvT4wZYEh8iFjWkKa

MartinZikmund and others added 2 commits October 3, 2026 11:37
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
Copilot AI balanced review requested due to automatic review settings October 3, 2026 09:38
@MartinZikmund MartinZikmund added the area/build Categorizes an issue or PR as relevant to build infrastructure label Oct 3, 2026
@MartinZikmund MartinZikmund self-assigned this Oct 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Medium severity · 1 Low severity

Open (4)
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.sh from 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_UITests and xCodeRoot_iOS_UITests variables 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.

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
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
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 3m 13s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup is correct and complete, but ios-uitest-run.sh has three medium reliability issues that are likely to cause flaky shard failures on freshly provisioned agents.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:177 startswith($IOS_SDK_VERSION) version match can miss a valid runtime when SDK and runtime versions diverge at patch level
2 Medium ios-uitest-run.sh:194 CoreSimulator startup poll removed — single find_ios_device() call with no retry reintroduces the flakiness the old loop guarded against
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses

Cross-cutting notes:

  • CI YAML cleanup is solid. Removing macOSVMImage_UITests / xCodeRoot_iOS_UITests from all call sites and template parameter lists is consistent and correct. The previously undeclared vmImageTest parameter in ios-native.yml (which silently expanded to empty) is now correctly replaced with the declared vmImage.
  • idb removal is correct. The tap breakage and 6-minute install cost were genuine blockers; xcrun simctl install is the right replacement for Xcode 26.
  • UnoTargetFrameworkOverride=net9.0-ios18.0 is unchanged — apps targeting iOS 18 minimum run forward-compatibly on iOS 26 simulators, so this is fine.
  • All three issues are concentrated in ios-uitest-run.sh and can be addressed without touching the CI YAML files.

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 7s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup is correct and complete, but ios-uitest-run.sh still has three medium-reliability issues that are likely to cause flaky shard failures on freshly provisioned agents. These were flagged in the previous review pass and remain unaddressed after the macOS-26 / Xcode 26.6 follow-up commits.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:175 startswith($ver) version match rejects a valid runtime when SDK and runtime patch versions diverge
2 Medium ios-uitest-run.sh:194 CoreSimulator startup poll removed — single find_ios_device() call with no retry reintroduces the flakiness the old loop guarded against
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses

Cross-cutting notes:

  • CI YAML cleanup is solid. Removing macOSVMImage_UITests / xCodeRoot_iOS_UITests from all call sites and template parameter lists is consistent and correct. The vmMacImageTest / xCodeRootTest parameters are cleanly excised from ios-skia, ios-native, and the skia-stages fan-out. The previously undeclared vmImageTest parameter in ios-native.yml (which silently expanded to empty) is now replaced with the declared vmImage.

  • macOS-15 → macOS-26 / Xcode_26.1.1 → Xcode_26.6 uplift in the two most recent commits is consistent across .vsts-ci.yml and the two matrix entries in .azure-devops-tests-templates.yml.

  • idb removal is correct. The tap breakage and 6-minute install cost were genuine blockers; xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • All three issues are concentrated in ios-uitest-run.sh and can be addressed without touching any YAML files.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
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
@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 33s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup is correct and complete, but ios-uitest-run.sh still has three medium-reliability issues that are likely to cause flaky shard failures on freshly provisioned agents. These were flagged in the previous two review passes and remain unaddressed.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:175 startswith($ver) rejects a valid runtime when SDK and runtime patch versions diverge
2 Medium ios-uitest-run.sh:194 CoreSimulator startup poll removed — single find_ios_device() call reintroduces flakiness the old loop guarded against
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses

Cross-cutting notes:

  • CI YAML cleanup is solid. macOSVMImage_UITests / xCodeRoot_iOS_UITests removed from .vsts-ci.yml and all call sites. vmMacImageTest / xCodeRootTest cleanly excised from ios-skia-build, ios-skia, and the skia-stages fan-out. The previously undeclared vmImageTest parameter in ios-native.yml (which silently expanded to empty) is now correctly replaced with the declared vmImage. The two hardcoded macOS-15 entries in .azure-devops-tests-templates.yml are updated to macOS-26.

  • macOS-26 / Xcode 26.6 uplift is consistent across .vsts-ci.yml and both matrix entries in the templates file.

  • idb removal is correct. The tap breakage and 6-minute install cost were genuine blockers; xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • UnoTargetFrameworkOverride=net9.0-ios18.0 is unchanged — apps targeting iOS 18 minimum run forward-compatibly on iOS 26.5 simulators, so this is fine.

  • All three issues are concentrated in ios-uitest-run.sh and can be addressed without touching any YAML files.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
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)
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 59s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup is correct and complete, but ios-uitest-run.sh still has three medium-reliability issues that are likely to cause flaky shard failures on freshly provisioned agents. These have been flagged in every previous review pass and remain unaddressed after the macOS-26 / Xcode 26.6 follow-up commits.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:175 startswith($ver) rejects a valid runtime when SDK and runtime patch versions diverge
2 Medium ios-uitest-run.sh:194 Single find_ios_device() call reintroduces the CoreSimulator startup flakiness the old poll loop guarded against
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses

Each issue has a code suggestion attached to its inline comment — they are independent one-to-three line fixes.

Cross-cutting notes:

  • CI YAML cleanup is solid. macOSVMImage_UITests / xCodeRoot_iOS_UITests removed from all call sites. vmMacImageTest / xCodeRootTest cleanly excised from ios-skia-build, ios-skia, and the skia-stages fan-out. The previously undeclared vmImageTest parameter in ios-native.yml (which silently expanded to empty) is replaced with the declared vmImage. The two hardcoded macOS-15 entries in .azure-devops-tests-templates.yml are updated to macOS-26.

  • macOS-26 / Xcode 26.6 uplift is consistent across .vsts-ci.yml and both matrix entries in the templates file.

  • idb removal is correct. The tap breakage and 6-minute install cost were genuine blockers; xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • UnoTargetFrameworkOverride=net9.0-ios18.0 is unchanged — apps targeting iOS 18 minimum run forward-compatibly on iOS 26.5 simulators, so this is fine.

  • FontFallbackMaps.skia.cs regeneration is a correct housekeeping fix for the broken upstream Noto data path.

  • All three issues are concentrated in ios-uitest-run.sh and can be addressed without touching any YAML files.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
.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
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform label Oct 3, 2026
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 1m 46s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup is correct and complete, but ios-uitest-run.sh still has three medium-reliability issues that have been flagged in every review pass and remain unaddressed. Each has a one-click code suggestion attached to its inline comment.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:175 startswith($ver) rejects a valid runtime when SDK and runtime patch versions diverge — compare major.minor only
2 Medium ios-uitest-run.sh:194 Single find_ios_device() call reintroduces the CoreSimulator startup flakiness the old poll loop guarded against — add a 3-attempt bounded retry
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses — use // empty and emit UNOBLD009 warning

Cross-cutting notes (unchanged from previous passes):

  • CI YAML cleanup is solid. macOSVMImage_UITests / xCodeRoot_iOS_UITests removed from all call sites. vmMacImageTest / xCodeRootTest cleanly excised from ios-skia-build, ios-skia, and the skia-stages fan-out. The two hardcoded macOS-15 entries in .azure-devops-tests-templates.yml are updated to macOS-26.

  • macOS-26 / Xcode 26.6 uplift is consistent across .vsts-ci.yml and both matrix entries in the templates file.

  • idb removal is correct. The tap breakage and 6-minute install cost were genuine blockers; xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • RealAppLaunchIntegrationTests [Ignore] is the right approach — Uno.Templates@*-* scaffolds against 7.0 packages that a 6.x DevServer can't connect to.

  • FontFallbackMaps.skia.cs regeneration is a correct housekeeping fix.

  • All three open issues are confined to ios-uitest-run.sh and can be addressed without touching any YAML files.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
@unodevops

Copy link
Copy Markdown
Contributor

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
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/ci-macos14-off-6.7 branch from 61edc86 to 1936306 Compare October 3, 2026 23:01
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 2m 4s —— View job


PR Review

Verdict: fix-first — the CI YAML cleanup and the new 19363066 commit are correct, but ios-uitest-run.sh still has three medium-reliability issues that have been flagged in every review pass and remain unaddressed. Each has a one-click code suggestion attached to its inline comment.

3 medium issues, 0 blocking:

# Severity Location Issue
1 Medium ios-uitest-run.sh:175 startswith($ver) rejects a valid runtime when SDK and runtime patch versions diverge — compare major.minor only
2 Medium ios-uitest-run.sh:194 Single find_ios_device() call reintroduces the CoreSimulator startup flakiness the old poll loop guarded against — add a 3-attempt bounded retry
3 Medium ios-uitest-run.sh:215 UITEST_IOSDEVICE_DATA_PATH gets the literal string "null" instead of empty when the UDID lookup misses — use // empty and emit UNOBLD009 warning

New commit (19363066) is correct:

Adding RuntimeTestPlatforms.SkiaMacOS to the [PlatformCondition] exclude list for the five When_ExecuteScriptAsync_* tests in Given_WebView2.cs is the right approach. The comment clearly documents the reason (segfault on macOS-26) and links to #11997. Using [PlatformCondition] is more targeted than [Ignore] and is consistent with the existing exclusions in that file.

Cross-cutting notes (unchanged from previous passes):

  • CI YAML cleanup is solid. macOSVMImage_UITests / xCodeRoot_iOS_UITests removed from all call sites. vmMacImageTest / xCodeRootTest cleanly excised from ios-skia-build, ios-skia, and the skia-stages fan-out. The two hardcoded macOS-15 entries in .azure-devops-tests-templates.yml are updated to macOS-26.

  • macOS-26 / Xcode 26.6 uplift is consistent across .vsts-ci.yml and both matrix entries in the templates file.

  • idb removal is correct. xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • RealAppLaunchIntegrationTests [Ignore] is the right approach — Uno.Templates@*-* scaffolds against 7.0 packages that a 6.x DevServer can't connect to.

  • FontFallbackMaps.skia.cs regeneration is a correct housekeeping fix.

  • All three open issues are confined to ios-uitest-run.sh and can be addressed without touching any YAML files.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
Comment thread build/test-scripts/ios-uitest-run.sh Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 237295 did not find any UI Test snapshots differences.

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 237295 has failed on Uno.UI - CI.

@morning4coffe-dev morning4coffe-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. 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)
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @agneszitte's task in 5m 52s —— View job


PR Review

Verdict: fix-first — the commit e5ce9178 correctly addressed issue 3 (UITEST_IOSDEVICE_DATA_PATH null leak, now removed) and added retry loops for the runtime and device-type lookups. Two medium shell-script issues and one confirmed-blocking WebView2 test exclusion remain.

Issues found: 3 (1 blocking, 2 medium)

# Severity Location Issue
1 Blocking Given_WebView2.cs:489 When_WebMessageReceived_After_RemoveAdd calls ExecuteScriptAsync but SkiaMacOS is absent from its [PlatformCondition] exclusion — confirmed by morning4coffe-dev as the crash in build 237295 after the five ExecuteScriptAsync tests were excluded
2 Medium ios-uitest-run.sh:178 startswith($ver) rejects a valid runtime when SDK and runtime patch versions diverge — compare major.minor only
3 Medium ios-uitest-run.sh:202 Single find_ios_device() call with no retry reintroduces the CoreSimulator startup flakiness the old poll loop guarded against

Each issue has a one-click code suggestion in its inline comment.

Cross-cutting notes:

  • CI YAML cleanup is solid. All macOSVMImage_UITests / xCodeRoot_iOS_UITests / vmMacImageTest / xCodeRootTest parameters are consistently removed. The two hardcoded macOS-15 entries in .azure-devops-tests-templates.yml are updated to macOS-26. The macOS-26 / Xcode 26.6 uplift is consistent across .vsts-ci.yml and both matrix entries in the templates file.

  • e5ce9178 improvements are correct. The runtime-lookup and device-type-lookup retry loops are good. Removing UITEST_IOSDEVICE_DATA_PATH eliminates the "null" string leak from previous reviews.

  • idb removal is correct. xcrun simctl install with a single retry is the right replacement for Xcode 26.

  • RealAppLaunchIntegrationTests [Ignore] is the right approach — Uno.Templates@*-* scaffolds against 7.0 packages that a 6.x DevServer can't connect to.

  • FontFallbackMaps.skia.cs regeneration is a correct housekeeping fix for the broken upstream Noto data path.

  • Gather context

  • Read changed files

  • Analyze findings

  • Post inline comments

  • Update summary

@agneszitte

Copy link
Copy Markdown
Member

Resolving the automated review threads on build/test-scripts/ios-uitest-run.sh: this 6.7 backport now simply matches the merged 6.8 backport #24964.

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 simctl settles, a missing device type gets its own UNOBLD009 code, and the unused device data path export is gone. ios-uitest-run.sh is now identical to #24964; anything beyond that goes to master and 6.8 first.

@agneszitte
agneszitte merged commit 7edf376 into release/stable/6.7 Oct 28, 2026
12 of 16 checks passed
@agneszitte
agneszitte deleted the dev/mazi/ci-macos14-off-6.7 branch October 28, 2026 03:23

[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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Fix this →

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))))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Suggested change
| 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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

Suggested change
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants