Repository navigation
Native drop follow-up: sync-gen ref assertion + orphaned template servers - #23534
Conversation
|
Claude finished @MartinZikmund's task in 2m 29s —— View job Code Review
Overall verdict: ✅ Approve with one missed clean-upBoth changes are correct and well-scoped. One real issue was found that was not addressed in the PR: Finding — missed CI script update (medium, not in diff)
Line 44 — entry inside @("Server", "", ""),This causes Line 60 — a direct, redundant second build call (inside & dotnet build -c Debug $default "UnoAppWinUI.Server\UnoAppWinUI.Server.csproj"Both are under Everything else: LGTM
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23534/wasm-skia-net9/index.html |
|
Tick the box to add this pull request to the merge queue (same as
|
|
Native/WASM Microsoft.UI.Dispatching symbols are now resolved transitively through the kept Uno.UWP head. Add Uno.UI.Dispatching to the platform-head expectedRefs so a missing reference fails the restore loudly instead of silently stripping the Dispatching native #if defines. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01PqTYB6MEHxNkSz7D78dneL
The UnoAppWinUI / UnoAppWinUILinuxValidation .Server projects only existed to host the WASM-DOM heads dropped in the native-targets removal. Their ProjectReference pointed at deleted .Wasm csproj, breaking restore of the standalone template solutions. Delete the now-purposeless .Server projects and prune them from the solutions. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01PqTYB6MEHxNkSz7D78dneL
10c40c7 to
baaeb58
Compare
|
Claude finished @MartinZikmund's task in 1m 34s —— View job Code Review
Overall verdict:
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23534/wasm-skia-net9/index.html |
|
|
GitHub Issue: Part of unoplatform/uno-private#2049 — 🦋 Drop native targets
Follow-up to #23470 (native drop), addressing two loose ends surfaced during its review. No behavioral change to
Uno.UIor any shipping renderer.PR Type:
🔄 Refactoring · 🏗️ Build or CI related changes
What changed? 🚀
Two small, independent clean-ups left over from the native-targets drop:
1. Sync generator — make the Dispatching reference assertion load-bearing (
refactor)After the native drop, the WinAppSDK sync generator sources native/WASM
Microsoft.UI.Dispatching.*symbols transitively through the keptUno.UWPhead (which referencesUno.UI.Dispatching). The restore-validation guard inLoadProject, however, only assertedUno.Foundationfor that platform head.That left a silent failure mode: if the
Uno.UWP → Uno.UI.Dispatchingreference were ever broken,GetTypeByMetadataNamewould quietly returnnullfor the Dispatching types and the generator would strip their native#ifguards from the generated stubs — exactly the regression that occurred (and was fixed) mid-#23470 — with no error. AddingUno.UI.Dispatchingto the platform-headexpectedRefsturns that into a loud restore failure. BothUno.UWPheads (Uno.netcoremobile,Uno.Wasm) already carry the reference, so the stricter assertion holds today.2. Templates — delete orphaned WASM bootstrap-server heads (
build)The
UnoAppWinUIandUnoAppWinUILinuxValidationsolution-validation templates each still carried a*.Serverproject (aUno.Wasm.Bootstrap.Serverhost) whose only purpose was serving the WASM-DOM head removed by the native drop. Their<ProjectReference>pointed at the now-deleted*.Wasm.csproj, breaking restore of those standalone template solutions (the.slnfiles had already had their.Wasmentries pruned, but the.Serverref-removal was missed). With no browser head left for them to host, the.Serverprojects are removed entirely and pruned from both.slnfiles.These are internal solution-validation templates; the main
Uno.UI.slnxbuild graph never referenced them and is unaffected.Validation 🧪
Uno.WinAppSDKSyncGeneratorbuilds clean (net, 0 errors/0 warnings).dotnet sln liston both template solutions parses cleanly;.Serverremoved, all other heads (Mobile/Windows/Skia.Linux.FrameBuffer/base) intact.PR Checklist ✅
Screenshots Compare Test Runresults..Serverheads were already non-restorable; main build graph unaffected🤖 Generated with Claude Code
https://claude.ai/code/session_01PqTYB6MEHxNkSz7D78dneL