Skip to content

ci: Remove native build/runtime/UI test stages - #23484

Merged
MartinZikmund merged 14 commits into
feature/breakingchangesfrom
dev/mazi/nativecidrop
Jun 18, 2026
Merged

MartinZikmund merged 14 commits into
feature/breakingchangesfrom
dev/mazi/nativecidrop

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

…drop"

This reverts commit e7518b8, reversing
changes made to 4990906.

Conflicts:

src/Directory.Build.propsGitHub Issue: closes

PR Type:

What changed? 🚀

PR Checklist ✅

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]

MartinZikmund and others added 3 commits June 17, 2026 10:01
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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and read changed files
  • Review .azure-devops-stages.yml changes
  • Review determine-test-scope.ps1 changes
  • Review NuGet spec changes
  • Review solution filter changes
  • Review deleted test template files
  • Post inline comments and summary

Summary

Verdict: 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 (build/ci/tests/.azure-devops-tests-linux-skia.yml:28)

determine-test-scope.ps1 was changed to rename SkiaScreenshots → ScreenshotsRequired, but build/ci/tests/.azure-devops-tests-linux-skia.yml was not updated. Line 28 still reads:

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['SetScope.SkiaScreenshots'], 'true')))

SetScope.SkiaScreenshots is never published after this PR, so the condition evaluates to false on every PR — the Snapshot Tests job will silently skip forever. The format also diverges from every other scope condition in the pipeline, which uses DetermineScope.SetScope.<name>.

Fix: build/ci/tests/.azure-devops-tests-linux-skia.yml:28 →

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.ScreenshotsRequired'], 'true')))

Minor — PR body not filled out

**GitHub Issue:** closes # has no issue number, and ## What changed? 🚀 is empty. Per AGENTS.md, every PR must reference an associated issue. Please fill in the template before merging.


What looks good

  • determine-test-scope.ps1: The simplification is correct. ScreenshotsRequired is now set directly by the .skia.cs pattern, which is the only remaining heuristic that matters once native tests are gone. The fallback (Enable-AllScopes) is preserved.
  • .azure-devops-stages.yml: The screenshots_compare stage's dependsOn list is correctly stripped of wasm_tests, ios_tests, and android_tests. The surviving scope condition uses DetermineScope.SetScope.ScreenshotsRequired consistently.
  • iOS TestFlight publish: Removing the Native matrix entry and the associated InstallAppleProvisioningProfile step (which was profile-specific to the native SamplesApp bundle ID) is correct. The Skia matrix entry and its profile are untouched.
  • NuGet specs: All six .nuspec files consistently remove mobile TFM (net9.0-android, net9.0-ios, net10.0-android, net10.0-ios, net9.0-tvos, net10.0-tvos) and native-wasm (uno-runtime\*/webassembly) entries. Skia runtime entries are preserved. The trailing whitespace fix in Uno.WinUI.Lottie.nuspec and indentation correction in Uno.WinUI.Graphics2DSK.nuspec are clean-ups, not functional changes.
  • Solution filters: Both Uno.UI-packages-all.slnf and Uno.UI-packages-netcoremobile.slnf drop .netcoremobile.csproj references for Uno.UI, Uno.UI.Composition, Uno.UI.FluentTheme*, Uno.UI.Toolkit, Uno.UI.XamlHost, Uno.UI.RemoteControl, Uno.UI.BindingHelper.Android, Uno.UI.Maps, and the AddIns. The remaining entries in netcoremobile.slnf (Uno.Foundation, Uno.UI.Dispatching, Uno.UI.Runtime.Skia.Android/AppleUIKit, Uno.UWP) are still needed for Skia-on-mobile targets.
  • Deleted templates: All three deleted files (android-native, ios-native, webassembly-native) were referenced only from the stages now removed. No dangling template references remain from the changed files.
  • Conventional Commits: All three commit titles follow the format (ci:, build!:).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read changed pipeline files
  • Read changed scripts
  • Read changed nuspec/solution filter files
  • Read changed csproj files
  • Post inline comments for findings
  • Post summary

Summary

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

determine-test-scope.ps1 renames SkiaScreenshots → ScreenshotsRequired, but build/ci/tests/.azure-devops-tests-linux-skia.yml:28 was not updated. Line 28 still reads:

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['SetScope.SkiaScreenshots'], 'true')))

SetScope.SkiaScreenshots is never published after this PR, so the Snapshot Tests job will silently skip on every PR. The correct condition (matching the pattern used everywhere else in the pipeline) is:

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 determine-test-scope.ps1.


What looks good

  • determine-test-scope.ps1: The simplification is correct — ScreenshotsRequired is now set directly by the .skia.cs pattern, which is the only remaining heuristic after native tests are dropped. Enable-AllScopes fallback is preserved.
  • .azure-devops-stages.yml: screenshots_compare stage's dependsOn list correctly strips wasm_tests, ios_tests, and android_tests. Surviving scope condition uses DetermineScope.SetScope.ScreenshotsRequired consistently.
  • iOS TestFlight publish: Removing the Native matrix entry and its associated InstallAppleProvisioningProfile step is correct. The Skia matrix entry and its profile are untouched.
  • NuSpec files: All six .nuspec files consistently remove mobile TFM and native-wasm entries. Skia runtime entries are preserved.
  • Solution filters: Both packages-all.slnf and packages-netcoremobile.slnf correctly drop .netcoremobile.csproj references for Uno.UI and above. Remaining entries (Uno.Foundation, Uno.UI.Dispatching, Uno.UI.Runtime.Skia.*, Uno.UWP, GooglePlay, MSAL, Foldable) are still needed for Skia-on-mobile targets.
  • csproj files: MessagePack 3.1.4 → 3.1.7 bump across all three affected projects is correct (GHSA-hv8m-jj95-wg3x fix).
  • Deleted templates: All three deleted files (android-native, ios-native, webassembly-native) were only referenced from stages now removed. No dangling template references in the surviving files.
  • Conventional Commits: All commit titles follow the format (ci:, build!:, fix:).

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read changed pipeline files
  • Check if critical issue from prior review is fixed
  • Post inline comments for findings
  • Post summary

Summary

Verdict: 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 (build!: Stop native builds for Uno.UI and above, build!: Stop WASM (DOM) builds for Uno.UI and above).

Issues: 1 critical (unchanged from prior rounds)


Critical — stale pipeline variable reference (3rd round, still unfixed)

determine-test-scope.ps1 publishes ScreenshotsRequired, but build/ci/tests/.azure-devops-tests-linux-skia.yml:28 still reads:

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['SetScope.SkiaScreenshots'], 'true')))

SetScope.SkiaScreenshots is never published anywhere in the pipeline after this PR, so the Snapshot Tests job silently skips on every PR. Two bugs in one expression:

  1. Wrong variable name: SkiaScreenshots → ScreenshotsRequired
  2. Missing job-name prefix: SetScope → DetermineScope.SetScope (compare stages.yml:82 and stages.yml:142)

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 determine-test-scope.ps1:35.


What looks good (new commits)

  • build!: Stop native builds for Uno.UI and above — removes .netcoremobile output items from Directory.Build.props cleanly.
  • build!: Stop WASM (DOM) builds for Uno.UI and above — parallel removal for WASM. Both are consistent deletions with no dangling references in the surviving build files.

@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Check if critical issue from prior review rounds is fixed
  • Review any new changes in latest commit
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. The critical issue flagged in three prior review rounds is now fixed. No new issues found.

Issues: 0


Critical issue — fixed ✅

build/ci/tests/.azure-devops-tests-linux-skia.yml:28 now correctly reads:

condition: and(succeeded(), or(ne(variables['Build.Reason'], 'PullRequest'), eq(stageDependencies.Setup.outputs['DetermineScope.SetScope.ScreenshotsRequired'], 'true')))

The Snapshot Tests job will no longer silently skip on every PR.


Latest commit (fix: Run screenshots on any .cs change in Uno.UI+)

The ScreenshotsRequired trigger was also broadened from *.skia.cs only to any .cs change under src/Uno.UI* or src/AddIns:

ScreenshotsRequired = [regex]'(?i)^src/(uno\.ui|addins).*\.cs$'

This is a safe, conservative widening: the old pattern would have missed .crossruntime.cs, .skia.reference.cs, shared .cs, and any other non-suffixed UI files. The new pattern covers the entire UI layer while still excluding non-UI assemblies (Uno.Foundation, Uno.UWP, tooling, etc.). The stages.yml screenshot stage condition already uses DetermineScope.SetScope.ScreenshotsRequired consistently (line 142), so no further changes are needed there.


Remaining minor issue (non-blocking)

The PR body still has **GitHub Issue:** closes # without an issue number and an empty ## What changed? 🚀 section. Per AGENTS.md, every PR must reference an associated issue. Please fill in the template before merging.

@MartinZikmund
MartinZikmund enabled auto-merge June 17, 2026 08:52
@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read changed pipeline files
  • Review pipeline/script changes
  • Review nuspec/solution filter changes
  • Post summary

Summary

Verdict: Approve. The previously-critical variable rename (SkiaScreenshots → ScreenshotsRequired + DetermineScope. prefix) is correctly fixed. The two new commits (build!: Stop WASM (DOM) builds for Uno.UI and above, fix: Drop unbuilt Maps/Runtime.WebAssembly from API diff) are clean and consistent.

Issues: 0 blocking, 1 informational (unchanged file, not introduced by this PR)


New commits — what looks good

  • build!: Stop WASM (DOM) builds for Uno.UI and above — removes .Wasm.csproj entries from packages-wasm.slnf and packages-all.slnf (UI layer: Uno.UI, Uno.UI.Composition, Uno.UI.FluentTheme*, Uno.UI.Toolkit, Uno.UI.XamlHost, Uno.UI.RemoteControl, Uno.UI.Runtime.WebAssembly). Lower-layer packages (Uno.Foundation.Runtime.WebAssembly, Uno.UWP.Wasm, Dispatching) are correctly retained. Consistent with the stop native builds commit from last round.
  • fix: Drop unbuilt Maps/Runtime.WebAssembly from API diff — removes Uno.WinUI.Maps and Uno.WinUI.Runtime.WebAssembly from the _diffPackage ItemGroup in Uno.UI.Build.csproj. Since those packages are no longer built by this pipeline, comparing them against vslatest artifacts would always fail. The surviving entries (Uno.WinUI.WebAssembly, Uno.Foundation.Runtime.WebAssembly, all Skia runtimes, etc.) are still built and correctly retained in the diff.
  • determine-test-scope.ps1 + .azure-devops-tests-linux-skia.yml — the fix from 49c67f7 is in place. DetermineScope.SetScope.ScreenshotsRequired matches the published variable name and the three-part job-prefix format used everywhere else in the pipeline.

Informational — Uno.WinUI.WebAssembly.nuspec stale dependency (pre-existing, not introduced by this PR)

build/nuget/Uno.WinUI.WebAssembly.nuspec (unchanged in this PR) still declares <dependency id="Uno.WinUI.Runtime.WebAssembly">. That package is no longer built after this PR's WASM DOM build stop. The file is still in _NuspecFiles in Uno.UI.Build.csproj, and the XmlPoke on line 183 updates its version to the release semver before packing.

If Uno.WinUI.WebAssembly continues to be published, NuGet consumers would declare a transitive dependency on Uno.WinUI.Runtime.WebAssembly@<new-semver>, which would not exist on the feed. If the intent is to discontinue Uno.WinUI.WebAssembly entirely (as expected for a breaking-changes branch), no action is needed here. If it will still be published, the dependency should be removed. This is outside the scope of the current PR changes, but worth a follow-up issue.


Minor (non-blocking, carried from prior rounds)

The PR body still has **GitHub Issue:** closes # with no number, and ## What changed? 🚀 is empty. Per AGENTS.md, every PR must reference an associated issue. Please fill in before merging.

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read latest commits and changed files
  • Check new commit build!: Stop producing Uno.WinUI.Maps entirely
  • Review pipeline/script changes for any new issues
  • Post inline comments for findings
  • Post summary

Summary

Verdict: 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 depends on Uno.WinUI.Runtime.WebAssembly (no longer produced)

build!: Stop WASM (DOM) builds for Uno.UI and above removed Uno.WinUI.Runtime.WebAssembly from _diffPackage (and there is no Uno.WinUI.Runtime.WebAssembly.nuspec in build/nuget/), so the package is no longer produced. However, build/nuget/Uno.WinUI.WebAssembly.nuspec:20 still declares:

<dependency id="Uno.WinUI.Runtime.WebAssembly" version="1.0.0" />

Uno.WinUI.WebAssembly is still in _NuspecFiles (line 160) and still packed and published (lines 228, 258). The XmlPoke at Uno.UI.Build.csproj:183 will stamp the live semver into this broken dependency at publish time, meaning NuGet consumers who install Uno.WinUI.WebAssembly will get a transitive dependency on Uno.WinUI.Runtime.WebAssembly@<release-version> — a package that won't be on the feed.

Fix: remove build/nuget/Uno.WinUI.WebAssembly.nuspec:20 and the now-dead XmlPoke at build/Uno.UI.Build.csproj:182-183. Inline comment posted on build/Uno.UI.Build.csproj:260.


What looks good (new commit build!: Stop producing Uno.WinUI.Maps entirely)

  • src/Uno.Sdk/packages.json: Uno.WinUI.Maps removed from the SDK packages list — clean.
  • src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.targets: maps feature condition block removed — clean.
  • build/Uno.UI.Build.csproj: Uno.WinUI.Maps removed from _diffPackage — consistent with Uno.WinUI.Maps.nuspec already being absent from build/nuget/.
  • src/AddIns/Uno.UI.Maps/Uno.UI.Maps.netcoremobile.csproj still exists with <PackageId>Uno.WinUI.Maps</PackageId> but the project is no longer in any solution filter or active build stage, so it's effectively orphaned. This is a follow-up cleanup and does not block this PR.

What looks good (prior round fixes, still correct)

  • build/ci/tests/.azure-devops-tests-linux-skia.yml:28: DetermineScope.SetScope.ScreenshotsRequired — ✅ fixed.
  • determine-test-scope.ps1: ScreenshotsRequired set directly via src/(uno\.ui|addins).*\.cs$ pattern — ✅ correct. Enable-AllScopes fallback preserved.
  • .azure-devops-stages.yml: screenshots_compare dependsOn stripped of native/wasm test stages — ✅ correct.
  • All six .nuspec files: native mobile TFM and WASM native entries removed consistently — ✅ correct.
  • Solution filters: netcoremobile and wasm UI-layer .csproj entries removed correctly — ✅ correct.
  • MessagePack 3.1.7 bump across three DevServer projects — ✅ correct.
  • Deleted templates (android-native, ios-native, webassembly-native): no dangling references — ✅ correct.

Minor (non-blocking, carried from prior rounds)

PR body has **GitHub Issue:** closes # with no number and empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

Comment thread build/Uno.UI.Build.csproj Resolved
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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read latest commits and changed files
  • Check if blocking issue from prior review is fixed
  • Review any new changes in latest commits
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. The blocking issue flagged across three prior review rounds is fully resolved by commit 9bab62e7. No new blocking issues found.

Issues: 0 blocking, 1 informational


Blocking issue — fixed ✅

build/nuget/Uno.WinUI.WebAssembly.nuspec no longer declares <dependency id="Uno.WinUI.Runtime.WebAssembly">. The remaining dependency (Uno.Foundation.Runtime.WebAssembly) is still produced (present in packages-wasm.slnf, packages-all.slnf, and _diffPackage), so the metapackage is now self-consistent.


Informational — dead XmlPoke in build/Uno.UI.Build.csproj:182-183

<XmlPoke ... Query="...[@id='Uno.WinUI.Runtime.WebAssembly']/@version" ... />

No nuspec retains Uno.WinUI.Runtime.WebAssembly as a dependency any longer, so this XmlPoke iterates all nuspec files, matches nothing, and silently no-ops. It is harmless but orphaned. Not blocking — can be cleaned up in a follow-up.


Minor (non-blocking, carried from prior rounds)

PR body still has **GitHub Issue:** closes # with no issue number and an empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read latest commits and changed files
  • Verify all prior blocking/critical issues are resolved
  • Check for any new issues in latest commits
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. Both new commits (9bab62e7, ed223abf) cleanly resolve the blocking issue flagged in the prior round. No new issues found.

Issues: 0 blocking


Latest commits — verified ✅

  • fix: Drop dangling DOM-renderer dep from WASM metapackage (9bab62e) — removes <dependency id="Uno.WinUI.Runtime.WebAssembly"> from build/nuget/Uno.WinUI.WebAssembly.nuspec. The remaining dependency (Uno.Foundation.Runtime.WebAssembly) is still produced; the metapackage is now self-consistent. A grep for WinUI.Runtime.WebAssembly across all nuspec files returns clean.

  • chore: Remove dead Runtime.WebAssembly version XmlPoke (ed223ab) — removes the now-orphaned <XmlPoke ... Query="...[@id='Uno.WinUI.Runtime.WebAssembly']/@version" .../> from build/Uno.UI.Build.csproj. No nuspec retains that dependency any longer, so the XmlPoke was a silent no-op. Clean removal.


Prior issues — all resolved

Issue Status
Stale SkiaScreenshots → ScreenshotsRequired in tests-linux-skia.yml:28 ✅ Fixed (49c67f7)
Uno.WinUI.WebAssembly.nuspec depending on removed Uno.WinUI.Runtime.WebAssembly ✅ Fixed (9bab62e)
Dead XmlPoke for Uno.WinUI.Runtime.WebAssembly version stamp ✅ Fixed (ed223ab)

Minor (non-blocking, carried from prior rounds)

PR body has **GitHub Issue:** closes # without an issue number and an empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read changed pipeline files
  • Review pipeline/script changes
  • Review nuspec/solution filter changes
  • Review csproj/SDK changes
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. The latest commit (test!: Drop native mobile template-test builds) is clean. All previously-flagged blocking issues remain resolved.

Issues: 0 blocking, 1 informational


Latest commit — verified ✅

test!: Drop native mobile template-test builds (c956cbd) removes native mobile template test builds from:

  • run-net7-template-linux.ps1 — removes the 5.6/uno56droidioswasmskia template (a project that targets Android/iOS/WASM together; correctly dropped since all three TFMs are out of scope)
  • run-netcore-mobile-template-tests.ps1 — removes Android/iOS build configurations from groups 0/1/3 and the 5.6/uno56droidioswasmskia template builds. Array continuation syntax is correct (preceding group 2 item retains its trailing comma).
  • WASM-Skia builds (@("Wasm", "", "") in group 0) and net9.0-browserwasm targets in group 1 are correctly retained — these are Skia-on-WASM, not the dropped DOM-renderer.

Prior blocking issues — all resolved

Issue Status
Stale SkiaScreenshots → ScreenshotsRequired + missing DetermineScope. prefix in tests-linux-skia.yml:28 ✅ Fixed (49c67f7)
Uno.WinUI.WebAssembly.nuspec depending on removed Uno.WinUI.Runtime.WebAssembly ✅ Fixed (9bab62e)
Dead XmlPoke for Uno.WinUI.Runtime.WebAssembly version stamp ✅ Fixed (ed223ab)

Informational — Uno.WinUI.Graphics2DSK.nuspec stale mobile <dependencies> groups

build/nuget/Uno.WinUI.Graphics2DSK.nuspec had its mobile <files> entries removed (correct), but the <metadata>/<dependencies> groups for net9.0-android30.0, net10.0-android36.0, net9.0-ios18.0, net10.0-ios26.0, net9.0-tvos18.0, and net10.0-tvos26.0 are still present. Since no lib\net-mobile assemblies exist in the package anymore, NuGet falls back to lib\net9.0/lib\net10.0 — the stale dependency groups don't block installation or cause broken transitive dependencies. Not blocking on a feature/breakingchanges branch; fine to clean up in a follow-up.


Minor (non-blocking, carried from prior rounds)

PR body has **GitHub Issue:** closes # without an issue number and an empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 5m 25s —— View job


PR Review

  • Gather context and understand request
  • Read changed files in latest commits
  • Check stale references activated by feat! commit
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Needs one more fix. All issues from prior review rounds are resolved. One new blocking issue was found in the latest commit (feat!: Always use Skia renderer (SkiaRenderer implicit)).

Issues: 1 blocking


Blocking — feat! commit activates a broken Uno.WinUI.Runtime.WebAssembly pin

src/Uno.Sdk/targets/Uno.Features.targets:13 now unconditionally adds ;skiarenderer; to UnoFeatures for every project. This activates the condition on line 77 of src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Wasm.targets (unchanged in this PR):

Condition=" $(UnoFeatures.Contains(';skiarenderer;')) "

That condition pins Uno.WinUI.Runtime.WebAssembly (with ExcludeAssets="all") as an implicit package reference for every WASM executable project. But Uno.WinUI.Runtime.WebAssembly was removed from solution filters and nuspec files by the earlier build!: Stop WASM (DOM) builds for Uno.UI and above commit — it will not exist on the NuGet feed for the new major version. Before feat!, the condition was only true when the user explicitly listed skiarenderer; now it fires for everything.

Two cleanups needed:

  1. Remove the Uno.WinUI.Runtime.WebAssembly pin (lines 65–79) from src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Wasm.targets.
  2. Remove "Uno.WinUI.Runtime.WebAssembly" from src/Uno.Sdk/packages.json:22.

An inline comment has been posted on src/Uno.Sdk/targets/Uno.Features.targets:13.


Prior blocking issues — all resolved ✅

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 (strip nativerenderer, inject skiarenderer if absent) is evaluated in Uno.Common.targets (line 67) before Uno.Implicit.Packages.targets (line 88), so UnoFeatures is 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.targets no longer references the maps ProjectSystem package — consistent with build!: 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.

@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read latest commit changes (61d0b9d7 fix: Stop injecting removed Runtime.WebAssembly (WASM))
  • Verify prior blocking issue is resolved
  • Check for any new issues
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. The blocking issue flagged across prior review rounds is fully resolved by commit 61d0b9d7. No new blocking issues found.

Issues: 0 blocking, 2 informational


Blocking issue — fixed ✅

Both Uno.WinUI.Runtime.WebAssembly injection ItemGroups are removed from src/Uno.Sdk/targets/Uno.Implicit.Packages.ProjectSystem.Wasm.targets, and the package entry is dropped from src/Uno.Sdk/packages.json. A full grep -rn "Uno.WinUI.Runtime.WebAssembly" src/ build/ is clean — no stale references remain in either directory.


All prior blocking issues — resolved ✅

Issue Fixed in
Stale SkiaScreenshots → ScreenshotsRequired + missing DetermineScope. prefix in tests-linux-skia.yml:28 49c67f7
Uno.WinUI.WebAssembly.nuspec depending on removed Uno.WinUI.Runtime.WebAssembly 9bab62e
Dead XmlPoke for Uno.WinUI.Runtime.WebAssembly version stamp ed223ab
feat! making skiarenderer always-true, activating the broken Uno.WinUI.Runtime.WebAssembly pin for every WASM project 61d0b9d

Informational 1 — stale template + dead CI test (not in diff, non-blocking)

src/SolutionTemplate/MyCrossRuntimeLib/MyCrossRuntimeLib/MyCrossRuntimeLib.Wasm.csproj (not in this PR's diff) still carries:

<PackageReference Include="Uno.WinUI.Runtime.WebAssembly" Version="$(NBGV_SemVer2)" />

Uno.WinUI.Runtime.WebAssembly is no longer produced after this PR. However, the CI test that would exercise this template at build/test-scripts/run-netcore-mobile-template-tests.ps1:111 is already unreachable — it sits inside if ($IsWindows) { ... if (!$IsWindows) { ... } }, a dead-code pattern pre-dating this PR. Non-blocking for now, but both the template .Wasm.csproj reference and the unreachable guard should be cleaned up as a follow-up (drop the explicit reference, matching MyCrossRuntimeLib.Skia.csproj which only references Uno.WinUI).

Informational 2 — dead renderer conditions in Uno.Implicit.Packages.ProjectSystem.Wasm.targets (carried from prior round)

Lines 10–12 (Uno.WinUI.MediaPlayer.WebAssembly conditioned on !skiarenderer) and 19–27 (Uno.WinUI.WebAssembly conditioned on nativerenderer OR (!nativerenderer AND !skiarenderer)) are now always false since skiarenderer is always injected and nativerenderer is always stripped. Both ItemGroups are dead; clean-up candidate for a follow-up.


Minor (non-blocking, carried from prior rounds)

PR body has **GitHub Issue:** closes # without an issue number and an empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

@unodevops

Copy link
Copy Markdown
Contributor

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]>
@github-actions

github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review

  • Gather context and understand request
  • Read latest commits and changed files
  • Check new commit test: Remove obsolete DOM-renderer ref in uno53lib fixture
  • Review any remaining informational issues from prior round
  • Post inline comments for findings
  • Post summary

Summary

Verdict: Approve. The latest commit (18ab5b42) is clean and correct. All blocking issues from prior review rounds remain resolved.

Issues: 0 blocking, 2 informational (carried from prior rounds)


Latest commit — verified ✅

test: Remove obsolete DOM-renderer ref in uno53lib fixture (18ab5b4) removes the #if __WASM__ block from src/SolutionTemplate/5.3/uno53AppWithLib/uno53lib/Class1.cs that used Uno.UI.Runtime.WebAssembly.HtmlElementAttribute. Since Uno.WinUI.Runtime.WebAssembly is no longer produced by this PR, the reference would have caused CS0234 on net9.0-browserwasm. The commit message correctly explains the sweep — no other template fixture C# source contains a removed-DOM type reference.


All prior blocking issues — resolved ✅

Issue Fixed in
Stale SkiaScreenshots → ScreenshotsRequired + missing DetermineScope. prefix in tests-linux-skia.yml:28 49c67f7
Uno.WinUI.WebAssembly.nuspec depending on removed Uno.WinUI.Runtime.WebAssembly 9bab62e
Dead XmlPoke for Uno.WinUI.Runtime.WebAssembly version stamp ed223ab
feat! making skiarenderer always-true, activating the broken Uno.WinUI.Runtime.WebAssembly pin for every WASM project 61d0b9d

Informational 1 — MyCrossRuntimeLib.Wasm.csproj stale package reference (carried, non-blocking)

src/SolutionTemplate/MyCrossRuntimeLib/MyCrossRuntimeLib/MyCrossRuntimeLib.Wasm.csproj:10 still declares <PackageReference Include="Uno.WinUI.Runtime.WebAssembly" Version="$(NBGV_SemVer2)" />. The package is no longer produced. However, the CI exercise of this template at run-netcore-mobile-template-tests.ps1:111 is permanently dead code — it is inside if ($IsWindows) { if (!$IsWindows) { ... } } (lines 82 and 106), so the build against that csproj never runs. Follow-up cleanup: remove the stale PackageReference from the csproj and unwrap or delete the dead guard.

Informational 2 — dead renderer conditions in Uno.Implicit.Packages.ProjectSystem.Wasm.targets (carried, non-blocking)

Since Uno.Features.targets always strips nativerenderer and always injects skiarenderer, two conditions in Uno.Implicit.Packages.ProjectSystem.Wasm.targets are now permanently false:

  • Line 10–12: !$(UnoFeatures.Contains(';skiarenderer;')) AND ... → always false; the Uno.WinUI.MediaPlayer.WebAssembly ItemGroup is dead.
  • Lines 19–27: nativerenderer OR (!nativerenderer AND !skiarenderer) → always false; the Uno.WinUI.WebAssembly ItemGroup is dead.

Both can be cleaned up in a follow-up.


Minor (non-blocking, carried from prior rounds)

PR body has **GitHub Issue:** closes # with no issue number and an empty ## What changed? 🚀. Per AGENTS.md, every PR must reference an associated issue before merging.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

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

@MartinZikmund
MartinZikmund disabled auto-merge June 18, 2026 09:49
@MartinZikmund
MartinZikmund merged commit 697771e into feature/breakingchanges Jun 18, 2026
63 of 64 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/nativecidrop branch June 18, 2026 10:31
This was referenced Jun 18, 2026
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.

3 participants