Skip to content

build: Remove the four superseded SamplesApp heads - #24046

Merged
MartinZikmund merged 28 commits into
feature/breakingchangesfrom
dev/mazi/samplesapp-drop-old-heads
Sep 2, 2026
Merged

MartinZikmund merged 28 commits into
feature/breakingchangesfrom
dev/mazi/samplesapp-drop-old-heads

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: relates to unoplatform/uno-private#2151 (internal: "Convert Samples app to Uno.Sdk", Platform 7.0) — follow-up to #23536, Phase 6 of specs/051-samplesapp-unosdk-skia

#23536 and #24048 have since merged; this PR now targets feature/breakingchanges directly.

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

Removes the four SamplesApp heads that #23536 superseded, now that one Uno.Sdk head covers every target:

Removed Replaced by
SamplesApp.Skia.Generic SamplesApp (net11.0-desktop)
SamplesApp.Skia.WebAssembly.Browser SamplesApp (net11.0-browserwasm)
SamplesApp.Skia.netcoremobile SamplesApp (net11.0-android / -ios / -tvos)
SamplesApp.Windows SamplesApp (net11.0-windows10.0.19041.0)
SamplesApp.Wasm.UITests — orphaned node/puppeteer runner from the native WASM era; snapshots have been taken by a dedicated Linux CI job for a long time

104 files, +76 / −14370.

Retargeted rather than deleted

  • Package.appxmanifest now sits at the head's project root and is embedded on every non-WinUI TFM. It cannot live under Platforms/Windows: the SDK treats each Platforms/<platform>/ folder as belonging to that platform alone and strips it from the other target frameworks, which silently emptied Package.Current.DisplayName off windows.
  • AlcApp / HRApp / HRUnoLib resolved their reference set from SamplesApp.Skia.Generic/bin/$(Configuration)/$(TargetFramework). The consolidated head appends a platform to the moniker, so this is now bin/$(Configuration)/$(NetCurrent)-desktop — $(TargetFramework) would have pointed at a folder that never exists. Worth knowing: the surrounding condition tests the SamplesApp folder, not the bin path, so a wrong path there yields an empty reference set instead of an error.
  • InternalsVisibleTo grants for the two deleted Skia heads dropped from Uno.UI and Uno.WinUI.SpellChecking. The grants for SamplesApp.Windows in Uno.UI.Composition and Uno.UI.RuntimeTests are deliberately kept — the head still builds its WinUI target under that assembly name, which is what keeps it out of the Toolkit/Foundation IVT lists and avoids the duplicate-internal collision. Review follow-up: also swept 23 long-dead grants (SamplesApp.iOS, SamplesApp.Droid, SamplesApp.MacOS, SamplesApp.Skia.Tizen, Uno.UI.Runtime.Skia.Tizen - none of which have a .csproj or AssemblyName left in the tree) across 10 AssemblyInfo files.
  • Solution files: entries removed from Uno.UI.slnx, Uno.UI-Skia-only.slnf and Uno.UI-Windows-only.slnf. All six filters plus the .slnx were checked programmatically — every project path resolves.
  • Tooling and docs: /add-sample, /runtime-tests, /winui-runtime-tests (including the MSIX AppPackages path and the WinAppSDK TFM), AGENTS.md, the CodeQL manual build step, the gitpod wasm scripts (now passing an explicit TFM, since the head is multi-targeted), and two feature docs.

SamplesApp.Skia is gone too (#24048)

The base library this PR originally had to keep has since been removed: the samples now compile into the head on every TFM, and the head sets UnoRuntimeIdentifier=Skia on every non-WinUI target. Measured on net11.0-android (evaluated properties in the CI binlog for build 227194):

...;__UNO_SKIA__;__UNO_SKIA_ANDROID__;...;__SKIA__;...;__ANDROID__;...

So __SKIA__ and __ANDROID__ now coexist, while the head's own .Android.cs / .iOS.cs entry points still compile - the suffix gates key off $(IsAndroid) / $(IsAppleUIKit), not the runtime identifier. (__UNO_SKIA__ and __SKIA__ are not the same switch: the former comes from the Uno.UI.Runtime.Skia.* package props and only marks the host, the latter comes from Uno.CrossTargetting.targets via UnoRuntimeIdentifier and also selects the .skia.cs file variants.)

That made the platform #if branches in sample pages live for the first time. Build 227194 caught the fallout, fixed here:

Target Failure Root cause Fix
android IL1034: Root assembly 'SamplesApp' does not have entry point UnoXamlResourcesTrimming reached a real head for the first time, so _UnoLinkerHintsPass1 ran ILLink with -a SamplesApp entrypoint - an android app assembly has no managed entry point UnoXamlResourcesTrimming=false on android; Uno.GenerateAot.targets already does the same for NativeAOT
browserwasm Failed to find published file: Uno.Fonts.Fluent/Fonts/uno-fluentui-assets.ttf the flat copy under $(PublishDir) only ever existed because the fonts arrived through the SamplesApp.Skia project reference; ms-appx assets owned by the head itself only land in the wasm package folder check $(OutputPath)publish/wwwroot/package_<hash>/, which is what is actually served and what CI ships as the artifact
ios CS0029 / CS1061 on native UIKit APIs, plus IL2xxx raised as errors two samples reached for native UIKit APIs removed with the native UI layer, and iOS never carried the trimmer NoWarn set that wasm and android have ported both samples off UIViewController / TextBox.KeyboardAppearance; gave iOS/tvOS the same NoWarn set

Validation

Built clean on this branch:

Target Tool Result
net10.0-desktop dotnet build ✅
net10.0-browserwasm dotnet build ✅
net10.0-android dotnet build ✅
net10.0-windows10.0.19041.0 MSBuild.exe -r ✅ (produces SamplesApp.Windows.dll as designed)
ios / tvos — requires macOS; covered by CI

Plus: every .slnf and the .slnx verified to contain no dangling project paths, and a repo-wide sweep for references to the removed projects (excluding the SamplesApp.Windows_UI_Xaml* namespace prefix, which is a false-positive trap).

Two known leftovers, both deliberate: Platforms/WebAssembly/aot.profile is a binary blob that still embeds an old head name (AOT hit-rate only), and specs/ keeps its historical references.

PR Checklist ✅

  • 🧪 Existing runtime tests exercised — this is build infrastructure, no new tests
  • 📚 Docs and agent tooling updated to the consolidated head
  • 🖼️ Validated PR Screenshots Compare Test Run results (pending CI)
  • ❗ Contains NO breaking changes (no public API surface; samples-app/build-infra only)
  • 👀 Reviewed 2 other open pull requests

Copilot AI lite review requested due to automatic review settings August 11, 2026 12:53
@MartinZikmund MartinZikmund self-assigned this Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Review diff for correctness (path updates, IVT drops, solution filter changes)
  • Review documentation and tooling updates
  • Post inline review comments for findings
  • Post summary

Summary

Verdict: ship (with one fix)

This is a clean, well-scoped infrastructure removal. The four superseded heads and the orphaned WASM UITests runner are fully excised, all consumers are retargeted, and the documentation/tooling sweep is thorough. The PR description's accounting of what was kept and why (SamplesApp.Skia, the SamplesApp.Windows IVTs, the aot.profile blob) is accurate and appreciated.

The IVT drops are correct — SamplesApp.Skia.Generic and SamplesApp.Skia.WebAssembly.Browser removed from Uno.WinUI.SpellChecking and Uno.UI, while SamplesApp.Windows is deliberately retained in Uno.UI.Composition and Uno.UI.RuntimeTests. The AlcApp/HRApp/HRUnoLib path retargeting to $(NetCurrent)-desktop is correct. The gitpod scripts, codeql.yml, solution filters, and PowerShell helper scripts all look right.

Issues found: 2 (both in .claude/skills/runtime-tests/SKILL.md)

Severity Count
Low 2

Issue 1 — Inline comment posted (line 224): The quick-reference summary table's "Build command" row still carries net10.0 in both Skia Desktop and Skia WASM columns, while the Phase 1 build commands directly above were correctly updated to net11.0-desktop/net11.0-browserwasm. An agent following the table would pass the wrong TFM.

Issue 2 — Line 46 (context line, not in diff; no inline possible): The strict-mode description still reads:

"omit the -p:UnoFastDevBuild=true and -p:UnoTargetFrameworkOverride=net10.0 flags"

Should be net11.0-desktop to match the Phase 1 build commands.

Suggested fix for line 46:

**Strict mode**: If the user input contains the keyword `strict`, omit the `-p:UnoFastDevBuild=true` and `-p:UnoTargetFrameworkOverride=net11.0-desktop` flags from the build command in Phase 1 so the build runs with full CI-equivalent analyzer coverage and all cross-targeted TFMs.

Both are low-severity doc-only issues that only affect AI-agent tooling; neither blocks CI.

@github-actions github-actions Bot added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation kind/documentation labels Aug 11, 2026
@mergify

mergify Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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.

Pull request overview

This PR removes superseded/obsolete SamplesApp “head” projects (Skia Generic, Skia WASM Browser, netcoremobile, Windows, plus the old WASM puppeteer runner) after the repo moved to a consolidated multi-target SamplesApp (Uno.Sdk) head, and retargets remaining build/test/docs/tooling references accordingly.

Changes:

  • Dropped InternalsVisibleTo grants and solution/filter entries for removed SamplesApp heads.
  • Retargeted RuntimeTests helper apps (ALC/HR*) to reference the consolidated SamplesApp desktop output.
  • Updated docs, Gitpod scripts, CodeQL workflow, and agent skills to use the consolidated head and explicit TFMs.

Reviewed changes

Copilot reviewed 76 out of 104 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Uno.UI/AssemblyInfo.cs Remove IVT entries for deleted Skia head assemblies (consolidated head uses SamplesApp).
src/Uno.UI.slnx Remove deleted SamplesApp head projects (and old WASM UI tests node project) from the solution.
src/Uno.UI.RuntimeTests/Tests/HotReload/Frame/HRUnoLib/Uno.UI.RuntimeTests.HRUnoLib.csproj Retarget base-reference bin path to consolidated SamplesApp desktop output folder.
src/Uno.UI.RuntimeTests/Tests/HotReload/Frame/HRApp/Uno.UI.RuntimeTests.HRApp.Skia.csproj Retarget base-reference bin path to consolidated SamplesApp desktop output folder; remove stale path comment.
src/Uno.UI.RuntimeTests/Tests/AssemblyLoadContext/AlcApp/Uno.UI.RuntimeTests.AlcApp.csproj Retarget base-reference bin path to consolidated SamplesApp desktop output folder; remove stale path comment.
src/Uno.UI-Windows-only.slnf Remove deleted SamplesApp.Windows project from Windows-only solution filter.
src/Uno.UI-Skia-only.slnf Remove deleted Skia head projects from Skia-only solution filter.
src/SamplesApp/SamplesApp/SamplesApp.csproj Tighten/update comments to match consolidated-head setup (no functional change shown in this diff).
src/SamplesApp/SamplesApp.Windows/SamplesApp.Windows.csproj Delete obsolete Windows head project (superseded by consolidated head WinUI TFM).
src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-x86.pubxml Delete obsolete Windows head publish profile.
src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-x64.pubxml Delete obsolete Windows head publish profile.
src/SamplesApp/SamplesApp.Windows/Properties/PublishProfiles/win-arm64.pubxml Delete obsolete Windows head publish profile.
src/SamplesApp/SamplesApp.Windows/Properties/launchSettings.json Delete obsolete Windows head launch settings.
src/SamplesApp/SamplesApp.Windows/Package.appxmanifest Delete obsolete Windows head manifest (now hosted under consolidated head Platforms/Windows).
src/SamplesApp/SamplesApp.Windows/GlobalUsings.cs Delete obsolete Windows head global usings.
src/SamplesApp/SamplesApp.Windows/app.manifest Delete obsolete Windows head app manifest.
src/SamplesApp/SamplesApp.Wasm.UITests/tsconfig.json Delete orphaned Node/puppeteer runner config.
src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.ts Delete orphaned Node/puppeteer runner source.
src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.js.map Delete orphaned Node/puppeteer runner artifact.
src/SamplesApp/SamplesApp.Wasm.UITests/TestRunner.js Delete orphaned Node/puppeteer runner artifact.
src/SamplesApp/SamplesApp.Wasm.UITests/SamplesApp.Wasm.UITests.njsproj Delete orphaned Node/VS node project.
src/SamplesApp/SamplesApp.Wasm.UITests/package.json Delete orphaned Node dependency manifest.
src/SamplesApp/SamplesApp.Wasm.UITests/dist/Properties/launchSettings.json Delete orphaned node runner launch settings.
src/SamplesApp/SamplesApp.Wasm.UITests/app.ts Delete orphaned Node/puppeteer runner entrypoint.
src/SamplesApp/SamplesApp.Wasm.UITests/app.js.map Delete orphaned Node/puppeteer runner artifact.
src/SamplesApp/SamplesApp.Wasm.UITests/app.js Delete orphaned Node/puppeteer runner artifact.
src/SamplesApp/SamplesApp.Skia/SamplesApp.Skia.csproj Retarget embedded Windows manifest to consolidated head’s Platforms/Windows/Package.appxmanifest.
src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/WasmScripts/AppManifest.js Delete obsolete WASM-browser head asset.
src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/SamplesApp.Skia.WebAssembly.Browser.csproj Delete obsolete WASM-browser head project (superseded by consolidated head WASM TFM).
src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/Properties/launchSettings.json Delete obsolete WASM-browser head launch settings.
src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/Program.cs Delete obsolete WASM-browser head entry point.
src/SamplesApp/SamplesApp.Skia.WebAssembly.Browser/LinkerConfig.xml Delete obsolete WASM-browser head linker descriptor.
src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Media.xcassets/LaunchImages.launchimage/Contents.json Delete obsolete netcoremobile head tvOS asset catalog content.
src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Main.tvOS.cs Delete obsolete netcoremobile head tvOS entry point.
src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Info.plist Delete obsolete netcoremobile head tvOS plist.
src/SamplesApp/SamplesApp.Skia.netcoremobile/tvOS/Entitlements.plist Delete obsolete netcoremobile head tvOS entitlements.
src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj Delete obsolete netcoremobile head project (superseded by consolidated head mobile TFMs).
src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Media.xcassets/LaunchImages.launchimage/Contents.json Delete obsolete netcoremobile head MacCatalyst asset catalog content.
src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Main.MacCatalyst.cs Delete obsolete netcoremobile head MacCatalyst entry point.
src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Info.plist Delete obsolete netcoremobile head MacCatalyst plist.
src/SamplesApp/SamplesApp.Skia.netcoremobile/MacCatalyst/Entitlements.plist Delete obsolete netcoremobile head MacCatalyst entitlements.
src/SamplesApp/SamplesApp.Skia.netcoremobile/LinkerConfig.xml Delete obsolete netcoremobile head linker descriptor.
src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Media.xcassets/LaunchImages.launchimage/Contents.json Delete obsolete netcoremobile head iOS asset catalog content.
src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Main.iOS.cs Delete obsolete netcoremobile head iOS entry point.
src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Info.plist Delete obsolete netcoremobile head iOS plist.
src/SamplesApp/SamplesApp.Skia.netcoremobile/iOS/Entitlements.plist Delete obsolete netcoremobile head iOS entitlements.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Splash/splash_screen.svg Delete obsolete netcoremobile head asset.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Lottie/uno.json Delete obsolete netcoremobile head asset.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Lottie/4930-checkbox-animation.json Delete obsolete netcoremobile head asset.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Icons/icon.svg Delete obsolete netcoremobile head asset.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/Icons/icon_foreground.svg Delete obsolete netcoremobile head asset.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Assets/AboutAssets.txt Delete obsolete netcoremobile head placeholder doc.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/values/Styles.xml Delete obsolete netcoremobile head Android resource.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/values/Strings.xml Delete obsolete netcoremobile head Android resource.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Resources/AboutResources.txt Delete obsolete netcoremobile head placeholder doc.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/MainActivity.Android.cs Delete obsolete netcoremobile head Android activity entry point.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/Main.Android.cs Delete obsolete netcoremobile head Android application/host setup.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/environment.conf Delete obsolete netcoremobile head Android environment config.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/AssemblyInfo.Android.cs Delete obsolete netcoremobile head Android permissions assembly info.
src/SamplesApp/SamplesApp.Skia.netcoremobile/Android/AndroidManifest.xml Delete obsolete netcoremobile head Android manifest.
src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj Delete obsolete Skia generic head project (superseded by consolidated head desktop TFM).
src/SamplesApp/SamplesApp.Skia.Generic/Resources/Info.plist Delete obsolete Skia generic head macOS plist.
src/SamplesApp/SamplesApp.Skia.Generic/Properties/launchSettings.json Delete obsolete Skia generic head launch settings.
src/SamplesApp/SamplesApp.Skia.Generic/Program.cs Delete obsolete Skia generic head entry point.
src/SamplesApp/SamplesApp.Skia.Generic/Assets/Splash/splash_screen.svg Delete obsolete Skia generic head asset.
src/SamplesApp/SamplesApp.Skia.Generic/Assets/Icons/icon.svg Delete obsolete Skia generic head asset.
src/SamplesApp/SamplesApp.Skia.Generic/Assets/Icons/icon_foreground.svg Delete obsolete Skia generic head asset.
src/SamplesApp/SamplesApp.Skia.Generic/app.manifest Delete obsolete Skia generic head app manifest.
src/SamplesApp/SamplesApp.Samples/Windows_UI_Xaml_Media/Geometry/Geometry_VisualParity_Notes.md Update instructions to reference consolidated head desktop target.
src/SamplesApp/SamplesApp.Samples/SamplesApp.Samples.csproj Update project comment to reflect consolidated-head + base-lib compilation flow.
src/AddIns/Uno.WinUI.SpellChecking/AssemblyInfo.cs Remove IVT entries for deleted Skia head assemblies.
specs/051-samplesapp-unosdk-skia/plan.md Mark phase/task completion and document why SamplesApp.Skia base library remains.
doc/articles/uno-development/working-with-the-samples-apps.md Remove local puppeteer runner guidance; keep CI snapshot guidance.
doc/articles/features/SpeechRecognition.md Update contributor note/path to consolidated head desktop build output.
doc/articles/features/accessibility/testing-with-screen-readers.md Update steps to run consolidated head desktop target (net11.0-desktop).
build/gitpod/serve-sampleapp-wasm.sh Retarget wwwroot discovery to consolidated head wasm publish output directory.
build/gitpod/build-wasm.sh Publish consolidated head with explicit WASM TFM for Gitpod flow.
AGENTS.md Update sample app run command and references to old head naming.
.gitignore Remove ignore entry tied to deleted SamplesApp.Wasm.UITests/out.
.github/workflows/codeql.yml Retarget CodeQL manual build step to consolidated head (net11.0-desktop).
.claude/skills/winui-runtime-tests/SKILL.md Update WinUI runtime-test skill docs for consolidated head + updated WinAppSDK TFM.
.claude/skills/winui-runtime-tests/install-msix.ps1 Update MSIX install path to consolidated head AppPackages folder.
.claude/skills/winui-runtime-tests/cleanup.ps1 Update cleanup path to consolidated head AppPackages folder.
.claude/skills/runtime-tests/SKILL.md Update runtime-tests skill docs/commands to consolidated head TFMs and outputs.
.claude/skills/add-sample/SKILL.md Update add-sample skill build verification command to consolidated head desktop TFM.
Files not reviewed (1)
  • src/SamplesApp/SamplesApp.Wasm.UITests/package-lock.json: Generated file

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread .claude/skills/runtime-tests/SKILL.md Resolved
@MartinZikmund
MartinZikmund changed the base branch from dev/mazi/samplesapp-unosdk to feature/breakingchanges August 11, 2026 14:14
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/samplesapp-drop-old-heads branch from bbff48d to 5425f9c Compare August 11, 2026 17:35
@github-actions

github-actions Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Review changed files (retargeting paths, IVT drops, solution filters, documentation)
  • Post inline review comments for findings
  • Post summary

Summary

Verdict: ship (with minor doc fixes)

This is a clean, well-scoped infrastructure deletion. The IVT drops, retargeted consumer paths, solution-filter and .slnx cleanup, gitpod scripts, CodeQL step, and the winui-runtime-tests skill are all correct. A few specific highlights worth noting:

Verified correct:

  • IVT drops in Uno.UI/AssemblyInfo.cs and Uno.WinUI.SpellChecking/AssemblyInfo.cs correctly remove only the deleted assemblies (SamplesApp.Skia.Generic, SamplesApp.Skia.WebAssembly.Browser). The deliberate keeps (SamplesApp.Windows in Composition and RuntimeTests) are correct per the PR description.
  • AlcApp/HRApp/HRUnoLib retargeting to $(NetCurrent)-desktop is correct — uses the MSBuild property rather than a hardcoded TFM, consistent with build-system.md conventions.
  • SamplesApp.Skia.csproj manifest path retargeted to Platforms/Windows/Package.appxmanifest under the consolidated head.
  • build/gitpod/build-wasm.sh correctly uses an env-variable-backed default (_TFM="${TFM:=net11.0-browserwasm}") with UnoTargetFrameworkOverride passed through — appropriate for a shell script that can't reference MSBuild properties.
  • winui-runtime-tests/SKILL.md correctly updates all TFM references from net9.0-windows10.0.19041.0 → net11.0-windows10.0.19041.0 and NetPreviousWinAppSDK → NetCurrentWinAppSDK.

Issues found: 3 (all low-severity, doc-only)

Severity File Description
Low .claude/skills/runtime-tests/SKILL.md:224 Build command quick-ref table row still has net10.0 — inline comment + suggestion posted
Low .claude/skills/winui-runtime-tests/SKILL.md:193 NU1201 error pattern in the fix table still says net9.0-... — inline comment + suggestion posted
Low .claude/skills/runtime-tests/SKILL.md:46 Strict-mode description still names -p:UnoTargetFrameworkOverride=net10.0; should be net11.0-desktop to match the Phase 1 build command — cannot post as inline (line not in diff)

None of these block merge — they only affect AI-agent tooling reads of the skill files. Fix the three with the suggestions and the two missing from the previous review pass (line 46 is easy: s/net10.0/net11.0-desktop/ in the strict-mode sentence).

Comment thread .claude/skills/runtime-tests/SKILL.md Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 227041 found UI Test snapshots differences: skia-linux-screenshots: 74, skia-windows-screenshots: 121

Details
  • skia-linux-screenshots: 74 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • DamageRegion_ShadowChildPaintingCaster.png-dark
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • CalendarView_Theming.png-dark
    • Examples.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DynamicFont.png-dark
    • DoubleImageBrushInList.png-dark
    • ImageIconPage.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
  • skia-windows-screenshots: 121 changed over 2366

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ContentPresenter_Padding.png-dark
    • ContentPresenter_Padding.png
    • ExpanderColorValidationPage.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Examples.png
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ContentPresenter_NativeEmbedding_Android_FillType.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Focus_FocusVisual_Properties.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • EmailManagerTests.png-dark
    • EmailManagerTests.png

@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Read changed files — skill docs, IVT drops, path retargeting, solution filters
  • Check prior review findings (are the two known net10.0 issues fixed?)
  • Review remaining changes for new findings
  • Post inline comments
  • Post summary

Summary

Verdict: fix-first (all low-severity, doc-only)

The structural changes — IVT drops, consumer path retargeting, solution filter cleanup, gitpod scripts, CodeQL step, PowerShell helper scripts — are all correct and clean. Three doc issues have now survived three consecutive review passes without being fixed; two of them have inline comments with suggestion blocks (see above), the other two could not be attached inline because those lines are outside the diff context.

Verified correct

  • Uno.UI and Uno.WinUI.SpellChecking IVT drops correctly remove only the deleted assembly grants (SamplesApp.Skia.Generic, SamplesApp.Skia.WebAssembly.Browser); the deliberate SamplesApp.Windows keeps in Uno.UI.Composition and Uno.UI.RuntimeTests are intact.
  • AlcApp / HRApp / HRUnoLib all retargeted to SamplesApp/SamplesApp/bin/$(Configuration)/$(NetCurrent)-desktop.
  • Uno.UI-Skia-only.slnf and Uno.UI-Windows-only.slnf contain no dangling paths to deleted projects.
  • Gitpod scripts use SamplesApp/SamplesApp.csproj with the correct env-backed net11.0-browserwasm default.
  • CodeQL manual build correctly targets net11.0-desktop.
  • install-msix.ps1 and cleanup.ps1 correctly resolve SamplesApp\SamplesApp\AppPackages.
  • add-sample/SKILL.md build verification command correctly uses net11.0-desktop.
  • winui-runtime-tests/SKILL.md Phase 1 and Phase 1c correctly use net11.0-windows10.0.19041.0 throughout.

Issues found: 4 (all low-severity, doc-only, AI-agent tooling only)

Severity File Line Status
Low .claude/skills/runtime-tests/SKILL.md 224 Inline comment + suggestion posted
Low .claude/skills/winui-runtime-tests/SKILL.md 193 Inline comment + suggestion posted
Low .claude/skills/runtime-tests/SKILL.md 46 Cannot post inline (line not in diff)
Low .claude/skills/winui-runtime-tests/SKILL.md 129 Cannot post inline (line not in diff)

Lines 46 and 129 — suggested fixes (not patchable inline):

runtime-tests/SKILL.md:46 — strict-mode description still names net10.0 where it should say net11.0-desktop:

**Strict mode**: If the user input contains the keyword `strict`, omit the `-p:UnoFastDevBuild=true` and `-p:UnoTargetFrameworkOverride=net11.0-desktop` flags from the build command in Phase 1 so the build runs with full CI-equivalent analyzer coverage and all cross-targeted TFMs.

winui-runtime-tests/SKILL.md:129 — "dead giveaway" symptom text still names net9.0; in a net11 build the unexpected cross-target would surface as net10.0/net11.0:

- Hundreds of errors from `Uno.UI.csproj::TargetFramework=net10.0` (or `net11.0`) — dead giveaway that the wrong TFM was picked up

None of these four issues affects CI or runtime behaviour. They only mislead AI agents reading the skill files.

Comment thread .claude/skills/runtime-tests/SKILL.md Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund
MartinZikmund force-pushed the dev/mazi/samplesapp-drop-old-heads branch from ddbca7c to 6547b17 Compare September 2, 2026 08:35
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Restore stale working-tree changes — git restore requires approval in CI; stale changes remain local-only and will NOT be merged
  • Review new commits since last "ship" verdict (d15dc90e, 6547b174)
  • Verify all prior findings remain fixed in committed state
  • Post inline comments — none needed, no new issues found
  • Post summary

Summary

Verdict: ship

Two new commits since the previous "ship" pass; both are correct.

New commits reviewed

d15dc90e (fix(samplesapp): Carry the iOS scene lifecycle to the head)

Moves SceneDelegate.iOS.cs from the deleted SamplesApp.Skia.netcoremobile/iOS/ to the consolidated head's Platforms/iOS/ (a file rename/move), and adds the matching UIApplicationSceneManifest block to Platforms/iOS/Info.plist. Assessment:

  • SceneDelegate extends UnoUISceneDelegate from Uno.UI.Runtime.Skia.AppleUIKit — correct type for the Skia-on-iOS host.
  • Decorated with [Register("SceneDelegate")], matching the UISceneDelegateClassName in the plist — names align.
  • The plist uses the standard __UNO_DEFAULT_SCENE_CONFIGURATION__ name and UIApplicationSupportsMultipleScenes: true — matches the pattern Uno recommends for multi-window support. Without this entry UnoUISceneDelegate.HasSceneManifest returns false, disabling the scene lifecycle entirely. ✅

6547b174 (fix(samplesapp): Stop excluding a live sample with the dead one)

Narrows the Wasm\** wildcard exclusion in ItemExclusions.props down to just Wasm_CustomEvent.xaml and its code-behind. Assessment:

  • Wasm_CustomEvent.xaml.cs uses #if __WASM__ with Uno.Foundation and Uno.Extensions DOM APIs — excluded correctly.
  • Wasm_ViewportOrientationTelemetry.xaml.cs uses #if __CROSSRUNTIME__ throughout (comment in the file explicitly states "Not __WASM__"), and has a [Sample] attribute only under that guard — it compiles cleanly on every TFM. Was incorrectly swept up by the wildcard; now correctly included. ✅

All prior findings confirmed resolved

Finding Fix commit Status
Quick-ref table Build command (net10.0) 07466de3 ✅
NU1201 error pattern (net9.0-...) 07466de3 ✅
Strict-mode TFM (net10.0 → net11.0-desktop) 86b8a3b0 ✅
Symptom bullet (net9.0 → net11.0) 86b8a3b0 ✅
Android Resizetizer platform type (wpf) 3b3cc7af ✅
Android icon APT2144 mipmap path 55f0fd6b ✅
iOS/tvOS trimmer roots 1a8fda27 ✅
iOS launch storyboard SIGABRT 95f62e12 ✅
iOS scene lifecycle orphaned d15dc90e ✅
Dead IVT grants (23 entries, 10 files) 6fc82e9f ✅
SamplesApp.macOS IVT grants (6 files) 9d274ec1 ✅
iOS/tvOS bindable metadata (trimmer opt-out) df6a4838 ✅
LinkerConfig.xml duplicate 07466de3 ✅
Playground Monaco editor CS0246 6d3a7c47 ✅
DOM-era wasm sample code (CS0103/CS0117) 96a45b0d ✅
Wasm folder wildcard excluding live sample 6547b174 ✅

No new findings in this pass. No inline comments posted.

⚠️ Non-blocking: stale working-tree changes (5 files)

Five skill files have uncommitted local changes from prior CI sessions that revert correct committed fixes back to deleted project paths and stale TFMs. git restore continues to require manual approval in this CI context. They are not staged and will not be merged. When convenient:

git restore .claude/skills/add-sample/SKILL.md \
            .claude/skills/runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/cleanup.ps1 \
            .claude/skills/winui-runtime-tests/install-msix.ps1

@MartinZikmund MartinZikmund mentioned this pull request Sep 2, 2026
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

MartinZikmund and others added 2 commits September 2, 2026 11:40
The class arrived upstream after the commit that removed the netcoremobile
head was written, so replaying that removal left it behind in a project
that no longer exists.

It stays inert until an Info.plist scene manifest names it. Enabling that
here made 15 multi-window tests run on iOS for the first time and two of
them failed, so the switch belongs in its own change.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
Only Wasm_CustomEvent drives the DOM directly. The folder-wide exclusion
also swept up Wasm_ViewportOrientationTelemetry, which landed later and is
guarded for every target, dropping it from all five heads.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/samplesapp-drop-old-heads branch from 6547b17 to 5079701 Compare September 2, 2026 09:41
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Check for new commits since the last "ship" verdict (job run 33609556235)
  • Determine what triggered this re-run (merge commit vs. new PR content)
  • Post inline comments — none needed, no new PR content to review
  • Post summary

Summary

Verdict: ship (no change since previous pass)

This trigger fired on a merge commit (b420914f, "Merge 507970157aef7... into 0950717a...") rather than new work on the PR itself. 50797015 (fix(samplesapp): Stop excluding a live sample with the dead one) is the same tip commit already reviewed in the previous pass, and the merge only pulls in unrelated upstream content from feature/breakingchanges via the routine automation/master-sync job (ScrollViewer_TouchScrollBarDrag, ScrollBarExtensions, doc articles on unrelated features, a claude-code-review.yml tweak) — none of those files intersect this PR's own changed-file list, so there is nothing new in this PR's actual diff to re-review.

All structural and correctness findings from the fourteen prior review passes remain resolved in the committed state (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard/scene-delegate fixes, dead IVT grant sweep, stale TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup, and the Wasm\** exclusion narrowing). No new findings.

⚠️ Non-blocking: stale working-tree changes (5 files) — still present

The same CI-environment residue flagged in every prior pass is still there: 5 skill files have uncommitted local changes that revert the correct committed fixes back to deleted project paths and stale TFMs. They are not staged and will not be merged, but continue to mislead any automated session that inspects the working tree on this branch:

git restore .claude/skills/add-sample/SKILL.md \
            .claude/skills/runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/cleanup.ps1 \
            .claude/skills/winui-runtime-tests/install-msix.ps1

No inline comments posted — no new issues found in this pass.

Close() only respects WindowEventArgs.Handled when the platform reports
SupportsClosingCancellation, and Apple UIKit reported false. Every other
target that supports multiple windows reports true, because closing is a
request the app can refuse; on iOS it is CloseCore that asks UIKit to
destroy the scene, so a handled Closed never gets that far either.

A scene disconnect is the exception: UIKit tells us after the fact, so
that path suppresses cancellation while it tears the window down.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/samplesapp-drop-old-heads branch from 86c3409 to 5ecc227 Compare September 2, 2026 09:53
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and understand the PR
  • Check for new commits since last "ship" verdict — one new tip commit: 5ecc2274
  • Review the new commit for correctness (Window closing / scene lifecycle semantics)
  • Post inline comments — 1 posted
  • Post summary

Summary

Verdict: ship (with one non-blocking note)

The only change since the previous "ship" pass is the new tip commit 5ecc2274 — fix(ios): Honor a handled Window.Closed under the scene lifecycle. This is a deliberate, well-sequenced follow-up to 407261f1 ("Keep the orphaned iOS scene delegate"), whose commit message explicitly said enabling the scene manifest surfaced 2 failing multi-window tests and deferred the fix to "its own change" — this commit is that fix.

What it does, and why it's correct:

  • NativeWindowFactoryExtension.SupportsClosingCancellation on Apple UIKit was hardcoded false. It's now SupportsMultipleWindows && !NativeWindowWrapper.IsSceneDisconnecting — matching every other multi-window-capable target (X11/Win32/macOS report true), while still falling back to the old false behavior for apps that don't opt into the scene lifecycle (SupportsMultipleWindows requires HasSceneManifest).
  • The IsSceneDisconnecting escape hatch is the right root-cause distinction: an app-driven Close() goes through CloseCore(), which is what asks UIKit to tear the scene down — cancelling before that point means UIKit is never asked, so e.Handled = true can legitimately veto it. A scene disconnect initiated by UIKit itself (OnSceneDisconnected) reports the teardown after the fact — the native window is already gone, so cancellation must not apply there. The try/finally correctly scopes the flag to just that synchronous call chain.
  • Platforms/iOS/Info.plist now declares UIApplicationSceneManifest (finally flipping the switch 407261f1 deferred), matching the existing UnoSceneConfigurationKey constant (__UNO_DEFAULT_SCENE_CONFIGURATION__) and the SceneDelegate registration name. The now-stale explanatory comment in SceneDelegate.iOS.cs (which said adding the manifest was deferred) is correctly removed.
  • Verified against Given_Window.When_Window_Closed_Is_Handled (Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_Window.cs:324), which isn't excluded on iOS and directly exercises the app-driven cancel-then-close sequence this fix enables.

Non-blocking note (inline comment posted on AppleUIKitWindowWrapper.cs:47): IsSceneDisconnecting is a type-level static flag standing in for a per-window/per-scene condition. SupportsClosingCancellation is consulted globally, so a Closed handler on the disconnecting window that synchronously closes a different, still-live window would have that window's cancellation ignored too, since the flag doesn't distinguish which scene is disconnecting. This is a narrow scenario not exercised by current multi-window tests, so not blocking, but worth a comment or tighter scoping if easy.

All prior findings remain resolved (unchanged from previous pass)

No new issues elsewhere; the rest of the PR (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard fixes, dead IVT grant sweep, stale-TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup, Wasm\** exclusion narrowing) was already verified correct across the prior 15+ review passes.

⚠️ Non-blocking: stale working-tree changes (5 files) — still present

The same CI-environment residue flagged in every prior pass is still there: 5 skill files have uncommitted local changes that revert the correct committed fixes back to deleted project paths and stale TFMs. They are not staged and will not be merged, but continue to mislead any automated session inspecting the working tree on this branch:

git restore .claude/skills/add-sample/SKILL.md \
            .claude/skills/runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/cleanup.ps1 \
            .claude/skills/winui-runtime-tests/install-msix.ps1

@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and check for new commits since the last "ship" verdict
  • Review new commit 5ecc2274 (fix(ios): Honor a handled Window.Closed under the scene lifecycle) against AGENTS.md
  • Post inline comments for findings
  • Post summary

Summary

Verdict: fix-first (1 low-severity finding, non-blocking)

The only new commit since the previous "ship" pass is 5ecc2274. It's a follow-up to 407261f1 (which deliberately kept the iOS SceneDelegate inert because enabling it surfaced 2 failing multi-window tests) — this commit turns on the UIApplicationSceneManifest in Platforms/iOS/Info.plist and fixes the bug that caused those failures.

Root cause and fix, verified correct:

  • iOS previously hardcoded SupportsClosingCancellation => false — a handled Window.Closed could never veto a close on iOS at all.
  • Now that the scene manifest is enabled, SupportsMultipleWindows becomes true on iOS, so Window.Closed cancellation should work like every other multi-window platform — except a scene disconnect (OS tearing the scene down) reports itself only after the fact, so that path must stay uncancelable.
  • The fix distinguishes the two: SupportsClosingCancellation => SupportsMultipleWindows && !NativeWindowWrapper.IsSceneDisconnecting, with IsSceneDisconnecting toggled true only for the duration of OnSceneDisconnected's synchronous OnNativeClosed()/Close() calls, reset in a finally.
  • Test coverage: no new test was added, but this correctly activates existing coverage — Given_Window.When_Window_Closed_Is_Handled (Tests/Windows_UI_Xaml/Given_Window.cs:324) was previously Assert.Inconclusived out on iOS via AssertSupportsMultipleWindows() (since SupportsMultipleWindows was false pre-manifest); it now runs for the first time and exercises exactly this "handled Closed keeps the window open" scenario. This matches the repo's red/fix/green expectation without needing new test code.
  • The Info.plist scene-manifest block and SceneDelegate.iOS.cs comment removal are consistent with the patterns already used/reviewed for this PR's Android/tvOS trimmer and scene-delegate work.

Finding (inline comment posted, low severity, non-blocking):

  • src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Window/NativeWindowFactoryExtension.cs:19 — IsSceneDisconnecting is a process-global static flag rather than being scoped to the specific window whose scene is being disconnected. If an app closes a different window synchronously from within the disconnecting window's Closed handler, that other window's close is also incorrectly forced uncancelable, even though it's an unrelated, app-driven close. Narrow edge case (nested cross-window close during scene teardown), doesn't block this PR, but worth a comment or a per-window scoping fix.

No other issues found. All findings from the fifteen-plus prior review passes on the rest of this PR remain resolved.
· branch dev/mazi/samplesapp-drop-old-heads

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

SupportsClosingCancellation describes the platform, so a scene teardown
must not flip it: any other window closed from the same call stack would
have its handled Closed ignored too.

The window itself now answers whether its close can still be cancelled,
defaulting to the platform capability, and only the window UIKit has
already disconnected opts out.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AU8DEmFQHvzqx5BVqGUhUZ
@github-actions

github-actions Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

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


PR Review: build: Remove the four superseded SamplesApp heads

Tasks

  • Gather context and check for new commits since the last review pass
  • Review new commit ea6387db (Scope closing cancellation to the window being closed) against the previously flagged IsSceneDisconnecting finding
  • Post inline comments — none needed, prior finding is resolved
  • Post summary

Summary

Verdict: ship

The only new commit since the previous pass is ea6387db, and it's a direct, correct fix for the non-blocking concern raised in the two previous inline comments on AppleUIKitWindowWrapper.cs / NativeWindowFactoryExtension.cs (that IsSceneDisconnecting was a process-global static flag that could incorrectly suppress cancellation on an unrelated window closed synchronously from the same call stack).

What changed, and why it's correct:

  • The static NativeWindowWrapper.IsSceneDisconnecting flag is removed entirely — replaced with a new instance-level IsClosingCancellable on INativeWindowWrapper (default NativeWindowFactory.SupportsClosingCancellation in NativeWindowWrapperBase).
  • AppleUIKitWindowWrapper.cs's NativeWindowWrapper overrides it as base.IsClosingCancellable && !_isSceneDisconnected — now genuinely per-window. Verified the ordering in OnSceneDisconnected(): _isSceneDisconnected = true is set (line 231) before OnNativeClosed()/Close() are invoked, so only the disconnecting window's own synchronous close observes IsClosingCancellable == false; any other window closed from the same handler now correctly still sees its own IsClosingCancellable (true, since its _isSceneDisconnected is unset).
  • NativeWindowFactoryExtension.SupportsClosingCancellation is simplified back to a pure platform capability check (SupportsMultipleWindows), with the per-window opt-out now delegated to NativeWindowWrapper.IsClosingCancellable — matches what the doc comment says.
  • BaseWindowImplementation reads the new IsClosingCancellable (NativeWindowWrapper?.IsClosingCancellable ?? NativeWindowFactory.SupportsClosingCancellation) at all three call sites that previously read NativeWindowFactory.SupportsClosingCancellation directly.
  • Confirmed no other platform wrapper (X11WindowWrapper, Win32WindowWrapper, MacOSWindowWrapper, WebAssemblyWindowWrapper, Android, Headless, FrameBuffer) overrides IsClosingCancellable, so they all keep falling back to the base virtual — behavior on every other platform is unchanged.
  • Confirmed via grep that no reference to the removed IsSceneDisconnecting static remains anywhere in src/.

This is a genuine root-cause fix (moves the "is this specific window's close still cancellable" question onto the window instance that actually knows the answer) rather than a narrower guard — it resolves the concern cleanly with no remaining edge case.

No new findings. All structural work from the prior 15+ review passes on the rest of this PR remains resolved (IVT drops, consumer path retargeting, solution filter cleanup, Resizetizer/trimmer/launch-storyboard/scene-delegate fixes, dead IVT grant sweep, stale-TFM doc fixes, Playground/Monaco removal, DOM-era wasm cleanup, Wasm\** exclusion narrowing).

⚠️ Non-blocking: stale working-tree changes (5 files) — still present

The same CI-environment residue flagged in every prior pass remains: 5 skill files have uncommitted local changes that revert the correct committed fixes back to deleted project paths and stale TFMs. They are not staged and will not be merged, but continue to mislead any automated session inspecting the working tree on this branch:

git restore .claude/skills/add-sample/SKILL.md \
            .claude/skills/runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/SKILL.md \
            .claude/skills/winui-runtime-tests/cleanup.ps1 \
            .claude/skills/winui-runtime-tests/install-msix.ps1

No inline comments posted — no new issues found in this pass.
· branch dev/mazi/samplesapp-drop-old-heads

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 231527 found UI Test snapshots differences: skia-linux-screenshots: 75, skia-windows-screenshots: 111

Details
  • skia-linux-screenshots: 75 changed over 2356

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DynamicFont.png
    • Examples.png
    • Buttons.png-dark
    • Buttons.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Gamepad_Enumeration.png-dark
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • Attributed_text_FontSize_Changing.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
  • skia-windows-screenshots: 111 changed over 2358

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Examples.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Battery.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ContentPresenter_Template.png-dark
    • ContentPresenter_Template.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • Attributed_text_FontSize_Changing.png-dark
    • CalendarView_Theming.png-dark
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ImageBrush_Formats.png
    • InfoBarPage.png-dark

@MartinZikmund
MartinZikmund merged commit 6dfcb8f into feature/breakingchanges Sep 2, 2026
56 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/samplesapp-drop-old-heads branch September 2, 2026 11:47
@github-actions github-actions Bot mentioned this pull request Sep 2, 2026
4 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/documentation platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants