Repository navigation
chore: Retarget to Uno 7.0.0-dev.2285 and Uno.Themes 9.0.0-dev.56 - #1681
Conversation
- Uno.Themes 9.0.0-dev.37 depends on Uno.WinUI.Lottie, which Uno removed in 7.0.0-dev.1664; 9.0.0-dev.56 drops it and requires Uno.WinUI 7.0.0-dev.2285 - Bump Uno.Sdk.Private and Uno.WinUI.DevServer to 7.0.0-dev.2285 to match - Use the Android host base types from Uno.UI.Runtime.Android in the sample heads Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- The Uno.Resizetizer pinned by Uno.Sdk 7.0.0-dev.2285 ignores Color on UnoSplashScreen (Uno.Resizetizer0001) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Uno 7.0.0-dev.1664 moved LottieVisualSource into Uno.UI, so no Release guest ships Uno.UI.Lottie any more Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- From Uno 7.0.0-dev.2285 a reloaded Cupertino guest's ALC stays alive after unload on Win32 Release (unoplatform/uno-private#2469, also seen on Linux in Uno.Themes), so the loader refused every further load - Log a warning and boot the next guest instead, accepting the uno#24581 stale-type risk in the sample wrapper only - Make the hosting smoke's reclamation check warning-only on Release desktop as well - Restore both once uno-private#2469 is fixed Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Hosted ProgressRing failure is pre-existing and upstream - Win32 guest ALC retention (uno-private#2469) and the temporary loader/smoke relaxation - Verification results Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1681.eastus2.azurestaticapps.net |
ajpinedam
left a comment
There was a problem hiding this comment.
Review from a seven-reviewer panel (architect, security, skeptic, quality, operability, contract, performance). Verdict: fix first.
The shipped packages are fine: no public API, DependencyProperty or resource-key changes, and src/ only changes version numbers. Every material finding comes back to the ThemeWrapper ALC workaround, which is broader than the single case it works around. The inline comments below have the details, and a consolidated summary is posted as a separate comment.
Review panel summary: Uno 7.0.0-dev.2285 retargetVerdict: fix first. Six reviewers said "approve with changes", skeptic said "fix first", and security found nothing. The shipped NuGet packages are fine: no public API, DependencyProperty or resource key changed, and nothing under Findings
Suggested path: scope the exemption to the one known case (guest + OS) and limit how many ALCs can stay alive. That clears the High item and most of the loader, tracking and logging items together. The docs, root-cause and verification items still need separate work. Existing before this PR (no action needed here)
Checked and fine
🤖 Generated with Claude Code |
- Track every unloaded guest ALC until it is collected, not only the last one - Release desktop again refuses to load over an unreclaimed ALC, unless the only survivor is one known Cupertino retention (uno-private#2469) - The hosting smoke's reclamation check is authoritative again on Release desktop; the known retention is reported as KNOWN-ISSUE on the RESULT line - One structured warning per load names the retained guests, the pass count and the uno#24581 risk; per-pass "still alive" lines move to Debug - TODO(uno-private#2469) markers at both sites Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- README: the Release reclamation guarantee now names its one temporary exception - Spec: Linux CI evidence, sweep-miss check, bisect limits, ProgressRing log lines, a restore checkbox naming the commits to revert, Cupertino package check Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
f9f2404 to
1cd6346
Compare
|
Thanks for the review. The fixes are pushed in
I'm waiting for this CI run, mainly the Linux hosting smoke, before I update the PR description and reply to the individual review threads. 🤖 Generated with Claude Code |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1681.eastus2.azurestaticapps.net |
2 similar comments
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1681.eastus2.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1681.eastus2.azurestaticapps.net |
GitHub Issue (If applicable): related to unoplatform/uno#25117
PR Type
What is the current behavior?
Toolkit is on Uno.Sdk
7.0.0-dev.1574and Uno.Themes9.0.0-dev.37. That Themes version depends onUno.WinUI.Lottie, a package Uno removed in7.0.0-dev.1664(unoplatform/uno#25117) whenLottieVisualSourcemoved intoUno.UI.Uno.Toolkit.WinUI.Materialand.Cupertinopass that dependency on to consumers. Uno.Themes moved past it in unoplatform/Uno.Themes#1760.What is the new behavior?
7.0.0-dev.2285(andUno.WinUI.DevServer) and Uno.Themes9.0.0-dev.56. The two must move together: Themes9.0.0-dev.56dropsUno.WinUI.Lottieand requiresUno.WinUI7.0.0-dev.2285. The bump needed these sample fixes:Uno.UI.Runtime.Android.ColoronUnoSplashScreen(Uno.Resizetizer0001), so the splash screens useBackgroundColor.!Uno.UI.Lottieguest isolation rule. No Release guest ships that assembly any more.nullonce a second ALC has loaded the owner assembly uno#24581 guard), so the wrapper got stuck on that guest and the hosting smoke failed at "Reloading Cupertino", 2/2 runs, whilemainpasses 2/2. Until #2469 is fixed:GuestAppLoadertracks every unloaded ALC, not only the last one. In Release desktop it still throwsGuestAppLoadExceptionunless the only survivor is a single Cupertino ALC. In that case it logs one warning naming the retained guest and the uno#24581 stale-type risk, and loads the next guest.KNOWN-ISSUE uno-private#2469on the RESULT line. With the exemption emptied, the smoke fails again at "Reloading Cupertino".TODO(uno-private#2469)markers sit at both code sites, and a restore checkbox in the spec names the commits to revert.README.mdnames the one temporary exception to the reclamation guarantee.specs/toolkit-wrapper/progress.mdrecords the retarget, the limitations below, and the verification.Package impact
Uno.Toolkit.WinUI.Materialand.Cupertinodepend onUno.Material.WinUI/Uno.Cupertino.WinUI9.0.0-dev.56andUno.WinUI7.0.0-dev.2285, with noUno.WinUI.Lottie(checked on locally packed nupkgs).Known limitations
Failed to load animation … FileNotFoundException: 'uno.material.winui'). This is not a regression:mainlogs the same two errors when Material is hosted. It is the upstreamembedded://resolution issue described in Uno.Themes'specs/05-alc-wrapper-app/upstream-issues.md§ 6. Standalone heads are unaffected.PR Checklist
Please check if your PR fulfills the following requirements:
Other information
Verified locally on Windows:
UXAML0007from the runtime-test engine. The Android heads (Debug) and the iOS and Windows App SDK libraries build. Android, iOS and Windows App SDK were build-only. The twoWMC1500warnings in the Windows Material library are also present onmain.main.Internal Issue (If applicable):
🤖 Generated with Claude Code