Repository navigation
ci: Remove native build/runtime/UI test stages - #23484
Conversation
Drop the WebAssembly-, Android- and iOS-native stages (native build + runtime tests + UI tests) from the Azure DevOps pipeline and delete their job templates. Drop the Native head from the iOS TestFlight publish (Skia head kept). Slim determine-test-scope.ps1 to the surviving template/screenshot scopes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Remove the native-rendering lib/net*-android|ios|tvos assemblies, the WASM DOM uno-runtime/webassembly assets, and Uno.UI.BindingHelper.Android from the Uno.WinUI, Lottie, Svg, Graphics2DSK, XamlHost and DevServer nuspecs. Keep the Reference (net9.0/net10.0) and uno-runtime/skia assets, Windows heads, SkiaSharp dependency groups, and the platform-API packages (Uno.WinRT/Uno.Foundation/MSAL). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Remove the Uno.UI netcoremobile cluster (Uno.UI, Composition, Toolkit, FluentTheme[.v1/.v2], XamlHost, RemoteControl, BindingHelper.Android and the Lottie/Svg/Graphics2DSK/Maps add-ins) from the package build solution filters. Uno.Foundation, Uno.UWP, Uno.UI.Dispatching and the platform-capability add-ins (MSAL/Foldable/GooglePlay) still build native; the Skia hosts reference Uno.UI.Skia and are unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 3m 35s —— View job PR Review
SummaryVerdict: Approve with one fix required. The deletions are clean and consistent. One stale variable reference in an unmodified file will silently break Skia snapshot tests on all PRs after this lands. Issues by severity: 1 critical, 1 minor Critical — stale pipeline variable reference (
|
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 3m 26s —— View job PR Review
SummaryVerdict: Approve with one fix required. The deletions are clean and consistent across pipeline stages, nuspec files, and solution filters. One critical issue remains unfixed from the previous review round. Issues: 1 critical Critical — stale pipeline variable reference (unfixed from prior review)
condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['SetScope.SkiaScreenshots'], 'true')))
condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.ScreenshotsRequired'], 'true')))An inline comment with a code suggestion has been posted on the relevant line of What looks good
|
Remove the WebAssembly (DOM) UI cluster from the package build filters: Uno.UI/Composition/Toolkit/FluentTheme[.v1/.v2]/XamlHost/RemoteControl/Lottie/MSAL (.Wasm), the Uno.UI.Runtime.WebAssembly DOM renderer, and Uno.UI.MediaPlayer.WebAssembly. Strip the DOM uno-runtime/webassembly head from MSAL.nuspec. Skia-on-WASM is unaffected: the Uno.UI.Runtime.Skia.WebAssembly.Browser host uses Uno.UI.Skia and provides media via BrowserMediaPlayerPresenterExtension. Uno.Foundation.Wasm, Uno.Wasm (UWP), Uno.UI.Dispatching.Wasm and Uno.Foundation.Runtime.WebAssembly keep building. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 1m 28s —— View job PR Review
SummaryVerdict: Still needs a fix before merge. The same critical issue flagged in the two prior review rounds remains unresolved. No new issues found in the newly pushed commits ( Issues: 1 critical (unchanged from prior rounds) Critical — stale pipeline variable reference (3rd round, still unfixed)
condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['SetScope.SkiaScreenshots'], 'true')))
Required fix: condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.ScreenshotsRequired'], 'true')))An inline comment with the code suggestion is posted on What looks good (new commits)
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
Broaden ScreenshotsRequired from *.skia.cs to any .cs under src/Uno.UI* or src/AddIns (the UI layer), and fix the stale/malformed scope reference in tests-linux-skia.yml (SetScope.SkiaScreenshots -> DetermineScope.SetScope.ScreenshotsRequired). The old SkiaScreenshots variable is no longer published, which silently skipped the Snapshot Tests job. Addresses PR review. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 1m 30s —— View job PR Review
SummaryVerdict: Approve. The critical issue flagged in three prior review rounds is now fixed. No new issues found. Issues: 0 Critical issue — fixed ✅
condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.ScreenshotsRequired'], 'true')))The Latest commit (
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
Uno.WinUI.Maps (netcoremobile-only, fully removed) and Uno.WinUI.Runtime.WebAssembly (DOM renderer, stopped) are no longer produced, so the ValidatePackage API-diff failed with FileNotFound on their .nupkg. Remove both from the _diffPackage list. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 4m 10s —— View job PR Review
SummaryVerdict: Approve. The previously-critical variable rename ( Issues: 0 blocking, 1 informational (unchanged file, not introduced by this PR) New commits — what looks good
Informational —
|
Native Google Maps add-in is removed: drop Uno.WinUI.Maps from the Uno.Sdk packages manifest and the implicit maps-feature package injection (it was already out of the build filters and the package API-diff). The maps UnoFeature no longer pulls a (now-unbuilt) package. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 4m 8s —— View job PR Review
SummaryVerdict: Needs one more fix. All issues from prior review rounds are resolved. One new blocking issue was found in the latest commits. Issues: 1 blocking Blocking —
|
Uno.WinUI.WebAssembly depended on Uno.WinUI.Runtime.WebAssembly, which is no longer produced (DOM renderer stopped) - leaving the metapackage with a dangling dependency that breaks restore. Remove that dependency so the metapackage restores cleanly. Interim: the metapackage and the SDK WASM renderer-defaulting (make skiarenderer implicit, remove legacy DOM template heads) are removed properly in the validatable WASM/W1 work. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 1m 38s —— View job PR Review
SummaryVerdict: Approve. The blocking issue flagged across three prior review rounds is fully resolved by commit Issues: 0 blocking, 1 informational Blocking issue — fixed ✅
Informational — dead XmlPoke in
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
The Uno.WinUI.Runtime.WebAssembly dependency-version XmlPoke is now a no-op since that dependency was removed from the only nuspec that declared it (Uno.WinUI.WebAssembly). Drop it. Completes the review-thread fix. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 1m 29s —— View job PR Review
SummaryVerdict: Approve. Both new commits ( Issues: 0 blocking Latest commits — verified ✅
Prior issues — all resolved
Minor (non-blocking, carried from prior rounds)PR body has |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
The template fixtures bootstrap their Android/iOS heads via Microsoft.UI.Xaml.NativeApplication / Uno.UI.ApplicationActivity, which are native-only (#if __ANDROID__ / .Android.cs) and no longer ship for net*-android/ios after the native package drop, so every native app-head build fails (CS0234). Remove the net*-android / net*-ios / .Mobile / all-TFM-native build invocations from the template test scripts (the native UI tests of the template suite), keeping desktop/wasm/windows/generic builds. Also drops the uno56droidioswasmskia builds (native-bootstrapped); desktop/wasm coverage remains via uno56netcurrent. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 4m 44s —— View job PR Review
SummaryVerdict: Approve. The latest commit ( Issues: 0 blocking, 1 informational Latest commit — verified ✅
Prior blocking issues — all resolved
Informational —
|
Native UI rendering is removed in 7.0, so Skia is the only renderer. In the UnoFeatures normalization (Uno.Features.targets), strip the nativerenderer feature and always imply skiarenderer, so apps are always Skia even when neither feature is listed - making SkiaRenderer effectively a no-op. This makes the SDK always inject the Skia hosts (Uno.WinUI.Runtime.Skia.Android/AppleUIKit/WebAssembly.Browser) for app heads (which carry the Android/iOS NativeApplication/ApplicationActivity bootstrap), and renders the !skiarenderer / nativerenderer injection branches (DOM WASM metapackage + Uno.UI.Runtime.WebAssembly, Android UniversalImageLoader, etc.) dead. Fixes template/app WASM heads that previously pulled the now-unbuilt DOM renderer. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 5m 25s —— View job PR Review
SummaryVerdict: Needs one more fix. All issues from prior review rounds are resolved. One new blocking issue was found in the latest commit ( Issues: 1 blocking Blocking —
|
| Issue | Fixed in |
|---|---|
Stale SkiaScreenshots → ScreenshotsRequired + missing DetermineScope. prefix |
49c67f7 |
Uno.WinUI.WebAssembly.nuspec depending on removed Uno.WinUI.Runtime.WebAssembly |
9bab62e |
Dead XmlPoke for Uno.WinUI.Runtime.WebAssembly version stamp |
ed223ab |
What looks good (latest commit feat!: Always use Skia renderer)
src/Uno.Sdk/targets/Uno.Features.targets: The normalization logic (stripnativerenderer, injectskiarendererif absent) is evaluated inUno.Common.targets(line 67) beforeUno.Implicit.Packages.targets(line 88), soUnoFeaturesis correctly normalized before all ProjectSystem targets see it.- String manipulation is correct:
.Replace(';nativerenderer;', ';')handles all positions in the semicolon-delimited list, and$(UnoFeatures)skiarenderer;appends correctly because normalization already ensures a trailing;. src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.targetsno longer references themapsProjectSystem package — consistent withbuild!: Stop producing Uno.WinUI.Maps entirely.
Informational — dead nativerenderer conditions in Uno.Implicit.Packages.ProjectSystem.Wasm.targets
Lines 19–27 and 52–61 of Uno.Implicit.Packages.ProjectSystem.Wasm.targets check $(UnoFeatures.Contains(';nativerenderer;')), which is now always false (stripped by Uno.Features.targets). These dead conditions can be cleaned up in a follow-up. Similarly, Uno.WinUI.MediaPlayer.WebAssembly at line 10 is gated on !$(UnoFeatures.Contains(';skiarenderer;')) which is now always false.
Minor (non-blocking, carried from prior rounds)
PR body has **GitHub Issue:** closes # without an issue number and empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
With skiarenderer now always implied, the build-only Uno.WinUI.Runtime.WebAssembly pin (conditioned on skiarenderer) fired for every WASM executable, but that DOM-renderer package is no longer produced -> NU1603 restore failures. Remove both Uno.WinUI.Runtime.WebAssembly injection ItemGroups from Uno.Implicit.Packages.ProjectSystem.Wasm.targets and drop it from Uno.Sdk/packages.json. Addresses PR review. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 11m 1s —— View job PR Review
SummaryVerdict: Approve. The blocking issue flagged across prior review rounds is fully resolved by commit Issues: 0 blocking, 2 informational Blocking issue — fixed ✅Both All prior blocking issues — resolved ✅
Informational 1 — stale template + dead CI test (not in diff, non-blocking)
<PackageReference Include="Uno.WinUI.Runtime.WebAssembly" Version="$(NBGV_SemVer2)" />
Informational 2 — dead renderer conditions in
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
uno53lib/Class1.cs referenced Uno.UI.Runtime.WebAssembly.HtmlElementAttribute under #if __WASM__ to assert that libraries pull the DOM-renderer package. That package is removed (Skia-only), so the reference no longer compiles (CS0234) on net9.0-browserwasm. Drop the obsolete assertion. Swept all template fixture source: this was the only removed-DOM reference (other #if __WASM__ blocks use the kept Uno.Extensions.Logging.WebAssembly). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude finished @MartinZikmund's task in 2m 41s —— View job PR Review
SummaryVerdict: Approve. The latest commit ( Issues: 0 blocking, 2 informational (carried from prior rounds) Latest commit — verified ✅
All prior blocking issues — resolved ✅
Informational 1 —
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23484/wasm-skia-net9/index.html |
|
|
697771e
into
feature/breakingchanges
…drop"
This reverts commit e7518b8, reversing
changes made to 4990906.
Conflicts:
src/Directory.Build.propsGitHub Issue: closes
PR Type:
What changed? 🚀
PR Checklist ✅
Screenshots Compare Test Runresults.Drop the WebAssembly-, Android- and iOS-native stages (native build + runtime tests + UI tests) from the Azure DevOps pipeline and delete their job templates. Drop the Native head from the iOS TestFlight publish (Skia head kept). Slim determine-test-scope.ps1 to the surviving template/screenshot scopes.
Co-Authored-By: Claude Opus 4.8 (1M context) [email protected]