Skip to content

fix(sdk): keep the servicing/6.8 updater on the 6.x and .NET 10 lines - #2332

Merged
agneszitte merged 2 commits into
servicing/6.8from
dev/agzi/servicing-6.8-sdk-updater
Nov 4, 2026
Merged

agneszitte merged 2 commits into
servicing/6.8from
dev/agzi/servicing-6.8-sdk-updater

Conversation

@agneszitte

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): Related to #2291 (same bug on main: #2297)

PR Type

  • Build or CI related changes
  • Project automation

What is the current behavior?

servicing/6.8 isn'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:

  • move Resizetizer, Settings and App.Mcp to their 2.0 (Uno Platform 7.0) builds. Their packages have no Uno.WinUI dependency, so they pass the compatibility check;
  • never move Hot Design, Extensions, Toolkit or Themes. In preview mode the validation loop stops at the first incompatible version, and the newest one is always the 7.0 build (Uno.UI.HotDesign 2.0.0-dev.31 is not a valid dependency), so the 6.x builds are never looked at;
  • move the WasmBootstrap net10.0 override to 10.1.0-dev.282, the 7.0 line;
  • once .NET 11 ships, move the net10.0 overrides of MicrosoftLoggingConsole, WindowsCompatibility and Maui to 11.0.x (// 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. main and release/stable/* run their own copies.

  • First-party (Uno.*) groups stay on the major they're pinned to. Moving one to a new major stays a manual change.
  • Newer majors are dropped before validation, so the newest build of the pinned major is found.
  • WasmBootstrap is excluded: the 6.x version is picked by hand.
  • A target framework override stays on its .NET major: net10.0 → 10.x only, net9.0 → 9.x only.
  • The updater PR check also runs for PRs to servicing/* and for every file under tools/Uno.Sdk.Updater/.

Updater dry run on this branch, before and after (same feeds, same NBGV_SemVer2):

Group Pinned Before this PR With this PR
Core 6.8.0-dev.222 6.8.0-dev.225 6.8.0-dev.225
Resizetizer 1.13.0-dev.21 ❌ 2.0.0-dev.45 1.13.0-dev.21 (unchanged)
settings 1.14.0-dev.10 ❌ 2.0.0-dev.27 1.14.0-dev.18
AppMcp 1.4.0-dev.7 ❌ 2.0.0-dev.15 1.4.0-dev.7 (unchanged)
hotdesign 1.25.0-dev.4 skipped 1.25.0-dev.4 (latest 1.x)
Extensions 7.4.0-dev.85 skipped 7.4.0-dev.103
Toolkit 10.0.0-dev.7 skipped 10.0.0-dev.9
Themes 8.0.0-dev.25 skipped 8.0.0-dev.27
WasmBootstrap (net10.0) 10.1.0-dev.219 ❌ 10.1.0-dev.282 excluded (unchanged)

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.8 to the schedule on main (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.0 override pinned at 9.0.19 on MicrosoftLoggingConsole. Without this PR it moves to 10.0.13; with this PR it moves to 9.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.0 still 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.Updater on this branch, run locally with NBGV_SemVer2=6.8.0-dev.72 set by hand: exit 0, results in the table above. The Update Uno Sdk (PR) check on this PR is the first run with the CI setup (nbgv, .NET 8.0.407).
  • Override cap: net9.0 test entry, with and without this PR (see above)
  • Only this branch's updater changes

🤖 Generated with Claude Code

agneszitte and others added 2 commits October 20, 2026 23:13
- 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]>
@agneszitte agneszitte changed the title fix(sdk-updater): keep the servicing/6.8 updater on the 6.x and .NET 10 lines fix(sdk): keep the servicing/6.8 updater on the 6.x and .NET 10 lines Oct 21, 2026
@agneszitte
agneszitte force-pushed the dev/agzi/servicing-6.8-sdk-updater branch from 17cee0f to 5260a38 Compare October 21, 2026 04:57

@MartinZikmund MartinZikmund left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mergify

mergify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

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.

@agneszitte
agneszitte merged commit 9fb1dc8 into servicing/6.8 Nov 4, 2026
86 checks passed
@agneszitte
agneszitte deleted the dev/agzi/servicing-6.8-sdk-updater branch November 4, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants