Repository navigation
fix(sdk): keep the servicing/6.8 updater on the 6.x and .NET 10 lines - #2332
Conversation
- Hold every first-party (Uno.*) group to the major it is pinned to. Resizetizer, Settings and App.Mcp have no Uno.WinUI dependency, so their 2.0 (Uno Platform 7.0) builds passed the compatibility check. - Drop the newer majors before validation. In preview mode validation stops at the first incompatible version, and the newest one is the 7.0 build, so Hot Design, Extensions, Toolkit and Themes never moved. - Exclude WasmBootstrap: its net10.0 override would follow the 10.1-dev (7.0) line. - Run the updater PR check on servicing/* and on every updater file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A versionOverride keyed by a target framework (net10.0) could move to any major. Once .NET 11 ships, the net10.0 entries of MicrosoftLoggingConsole, WindowsCompatibility and Maui would get 11.0.x; MAUI 11 doesn't support net10. They now stay on 10.x. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17cee0f to
5260a38
Compare
There was a problem hiding this comment.
LGTM. The Update Uno Sdk (PR) run on this head shows exactly the table from the description: Resizetizer/settings/AppMcp/hotdesign stay on their 1.x lines, Extensions/Toolkit/Themes move within 7/10/8, WasmBootstrap is skipped, and Maui/LoggingConsole net10.0 stay on 10.x. Applying the major cap before validation is the right fix for the early-exit loop.
Nit (non-blocking): GetTargetFrameworkMajor caps by the TFM number for any package with a netX.0 override. That's fine for the current manifest, but a third-party override whose own major is above X (none today) would silently stop updating.
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
GitHub Issue (If applicable): Related to #2291 (same bug on
main: #2297)PR Type
What is the current behavior?
servicing/6.8isn't in the scheduled Uno.Sdk updater, so its pins are bumped by hand. Running this branch's updater today (NBGV_SemVer2=6.8.0-dev.72) would:Uno.WinUIdependency, so they pass the compatibility check;Uno.UI.HotDesign 2.0.0-dev.31 is not a valid dependency), so the 6.x builds are never looked at;10.1.0-dev.282, the 7.0 line;// Explicit VersionOverrides should always allow major upgrades). MAUI 11 doesn't support net10.What is the new behavior?
This only changes this branch's copy of the updater.
mainandrelease/stable/*run their own copies.Uno.*) groups stay on the major they're pinned to. Moving one to a new major stays a manual change.net10.0→ 10.x only,net9.0→ 9.x only.servicing/*and for every file undertools/Uno.Sdk.Updater/.Updater dry run on this branch, before and after (same feeds, same
NBGV_SemVer2):The other changes are the same before and after: UnoFonts 2.10.0-dev.12, MicrosoftLoggingConsole 9.0.21 / 10.0.13, Maui net10.0 10.0.110, MsalClient 4.91.1, WinAppSdkBuildToolsWinApp 0.7.1, VlcNativeWindowsAssets 3.0.24, MicrosoftWebView2 1.0.4258.31.
Adding
servicing/6.8to the schedule onmain(uno-updater.yml) is a separate PR, to merge after this one..NET 11 isn't out yet, so the override cap was checked with the same situation one major earlier: a
net9.0override pinned at9.0.19on MicrosoftLoggingConsole. Without this PR it moves to10.0.13; with this PR it moves to9.0.21. The real overrides are unchanged today (net10.0: MicrosoftLoggingConsole 10.0.13, WindowsCompatibility 10.0.13, Maui 10.0.110).main(net10 + net11) has the same override code and gets its own fix. There,net11.0still moves from 11.0.0-rc.2 to 11.0.0 when .NET 11 ships.PR Checklist
dotnet run -c Release --project tools/Uno.Sdk.Updateron this branch, run locally withNBGV_SemVer2=6.8.0-dev.72set by hand: exit 0, results in the table above. TheUpdate Uno Sdk (PR)check on this PR is the first run with the CI setup (nbgv, .NET 8.0.407).net9.0test entry, with and without this PR (see above)🤖 Generated with Claude Code