Repository navigation
refactor(build)!: Re-delete resurrected native WASM test head - #23972
Conversation
The head was deleted by c3608f4 and re-added by master-sync merge 8d5e55d: master modified it (47bce13) while this branch had deleted it, and the sync job staged master's copy. It is unreferenced by any solution, filter or CI leg, and 5 of its ProjectReferences no longer exist. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01D5wk47a5fYoVKWwn9xbexY
Uno.UI-Wasm-only.slnf and SamplesApp.Wasm were deleted with the native WASM-DOM stack; the browser target is now Skia and lives in Uno.UI-Skia-only.slnf / SamplesApp.Skia.WebAssembly.Browser. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01D5wk47a5fYoVKWwn9xbexY
|
Claude finished @MartinZikmund's task in 3m 10s —— View job Code Review
Verdict: LGTM with minor suggestions — 2 findings (1 minor, 1 nit), no correctness or correctness-blocking issues. The deletion of Minor (1): Nit (1): No other issues found: no stale |
There was a problem hiding this comment.
Pull request overview
This PR removes a resurrected, no-longer-referenced native WebAssembly runtime-tests project head and updates developer/Gitpod entry points and documentation to point to the Skia WebAssembly browser head and current solution filters.
Changes:
- Delete
Uno.UI.RuntimeTests.Wasm.csprojand itsLinkerDefinition.Wasm.xmlresidue. - Update Gitpod build/serve scripts to publish and serve
SamplesApp.Skia.WebAssembly.Browseroutput. - Refresh
AGENTS.mdandcrosstargeting_override.props.sampleto reflect the current solution filters/TFM guidance.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Uno.UI.RuntimeTests/Uno.UI.RuntimeTests.Wasm.csproj | Removes the resurrected native WASM runtime-tests project head. |
| src/Uno.UI.RuntimeTests/LinkerDefinition.Wasm.xml | Removes linker descriptor that was only consumed by the deleted WASM head. |
| src/crosstargeting_override.props.sample | Updates the documented target/framework ↔ solution-filter mapping to current net10/net11 + filters. |
| build/gitpod/serve-sampleapp-wasm.sh | Serves the published Skia WebAssembly browser head instead of the deleted SamplesApp.Wasm. |
| build/gitpod/build-wasm.sh | Publishes SamplesApp.Skia.WebAssembly.Browser to produce a wwwroot suitable for serving. |
| AGENTS.md | Updates solution-filter table and sample-app validation step away from deleted WASM head. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23972/wasm-skia-net9/index.html |
|
|
GitHub Issue: Part of epic unoplatform/uno-private#2049 — 🦋 Drop native targets. Closes unoplatform/uno-private#2097.
PR Type:
🏗️ Build or CI related changes · 📚 Documentation content changes
What changed? 🚀
Addresses the four items left open when unoplatform/uno-private#2097 was reopened by audit.
The resurrected head
src/Uno.UI.RuntimeTests/Uno.UI.RuntimeTests.Wasm.csprojwas deleted byc3608f48c4and came back on this branch through master-sync merge8d5e55db9f(#23800). Master had modified the file (47bce13e28) while this branch had deleted it, so the merge hit a modify/delete conflict and the sync job staged master's copy.It is dead residue: no
.slnf/.slnx/.sln,.props,.targetsor CI.ymlreferences it, and 5 of itsProjectReferences point at projects that no longer exist (Uno.UI.Wasm.csproj,Uno.UI.Toolkit.Wasm.csproj,Uno.UI.FluentTheme.Wasm.csproj,Uno.UI.RemoteControl.Wasm.csproj,Uno.UI.Runtime.WebAssembly.csproj). Deleted again, along withLinkerDefinition.Wasm.xml, whose only consumer was that project.The root cause of the resurrection — and a guard against it — is handled in the unoplatform/uno-private#2059 PR.
Stale entry points
Uno.UI-Wasm-only.slnfandSamplesApp.Wasmwere removed with the native WASM-DOM stack, but four places still pointed at them. The browser target is now Skia, covered byUno.UI-Skia-only.slnfandSamplesApp.Skia.WebAssembly.Browser.build/gitpod/build-wasm.sh— built the deleted filter; now publishes the browser head (which is what the serve script needs, and whatbuild-skia.sh's plainbuilddoes not produce).build/gitpod/serve-sampleapp-wasm.sh—pushded into the deletedSamplesApp.Wasmand served anetstandard2.0/distpath that no longer exists; now serves the head'spublish/wwwroot, mirroringbuild/test-scripts/wasm-run-skia-runtime-tests.sh. Port 8000 still matches.gitpod.yml.AGENTS.md— the solution-filter table listed two deleted filters; replaced with the filters that exist (noteUno.UI-Reference-**O**nly.slnf, capital O). Also repointed the sample-app validation step offSamplesApp.Wasm.src/crosstargeting_override.props.sample— the target/filter table advertised both deleted filters and was still on net9.0/net10.0; regenerated for net10.0/net11.0 with the box-drawing alignment preserved.Validation
git grepoverAGENTS.md,build/,src/*.props.sampleforUno.UI-Wasm-only,Uno.UI-netcore-mobile-onlyandSamplesApp.Wasm/returns nothing outsidespecs/(historical records, deliberately untouched).dotnet restore Uno.UI-Skia-only.slnfcannot run locally on this branch (no local .NET 11 SDK;Uno.UI.RemoteControl.TestProcessoris net11-only, soNETSDK1045). CI covers it.Not in this PR
Called out so nothing here reads as more complete than it is:
build/gitpod/.gitpod.DockerfilepinsDOTNET_VERSION=8.0and.gitpod.ymlalso installs 7.0.302. The scripts now name the right projects, but the image cannot build this branch. Worth its own issue.build/test-scripts/ios-uitest-build.shandlocal-ios-uitest-run.shstillcdinto the deletedSamplesApp.netcoremobile, andlocal-android-uitest-run.shpoints at a stale output path. No CI.ymlinvokes them. Left alone — repointing them is a behaviour change I cannot validate here..github/labeler.ymlstill has glob pairs for four deleted directories.src/Uno.UI/AssemblyInfo.cscarries several deadInternalsVisibleToentries (Uno.UI.RuntimeTests.Wasm,SamplesApp.Wasm,SamplesApp.macOS,Uno.UI.Maps, …). Removing one of seven would be worse than removing none; a sweep belongs in its own PR.PR Checklist ✅
Screenshots Compare Test Runresults.This targets
feature/breakingchanges: the deleted project head is a breaking change for anyone building it, though nothing in-tree does.