Skip to content

fix(manifests): Align the required SDK with the workload feature band - #559

Merged
ajpinedam merged 2 commits into
mainfrom
dev/mazi/manifest-sdk-feature-band-consistency
Sep 25, 2026
Merged

ajpinedam merged 2 commits into
mainfrom
dev/mazi/manifest-sdk-feature-band-consistency

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

What

c748387e moved DOTNET_SDK_VERSION to 10.0.300 in the stable and preview manifests, but left every workload manifest pinned to feature band 10.0.100. So both manifests ask for an SDK from one band while installing workload manifests from another:

manifest required SDK SDK band workload manifests consistent
uno.ui 10.0.300 10.0.300 wasm-tools 10.0.108/10.0.100, ios 26.5.10280/10.0.100, … ❌
uno.ui-preview 10.0.300 10.0.300 same ❌
uno.ui-preview-major 11.0.100-rc.1.26425.128 11.0.100-rc.1 …/11.0.100-rc.1 ✅

Why it matters

A workload manifest from a different feature band is not visible to the SDK, so consumers hit:

NETSDK1147: To build this project, the following workloads must be installed: wasm-tools

on every net10.0-ios / net10.0-browserwasm build, after uno-check --fix reported success.

It is worse than a no-op. dotnet.sdks[].requireExact is false, and DotNetCheckup.Examine treats "no installed SDK >= required" as Status.Error, remedied under --fix by DotNetSdkScriptInstallSolution. On a CI agent deliberately provisioned with a band-10.0.100 SDK, uno.check therefore downloads and installs 10.0.300 over it, and then provisions band-10.0.100 workloads for it.

The practical effect is that any pipeline pinning its .NET SDK is stuck on uno.check 1.34.1 — the last self-consistent release (10.0.101 ↔ 10.0.101/10.0.100) — and therefore stuck on SDK 10.0.101. Every 1.35.0-dev.* has the mismatch:

uno.check required SDK SDK band wasm-tools manifest pack band
1.34.1 10.0.101 10.0.100 10.0.101/10.0.100 10.0.100 ✅
1.35.0-dev.23 … dev.62 10.0.201 10.0.200 10.0.105/10.0.100 10.0.100 ❌
1.35.0-dev.98 10.0.300 10.0.300 10.0.108/10.0.100 10.0.100 ❌

Found while trying to move unoplatform/uno.toolkit.ui off its 10.0.101 pin (unoplatform/uno.toolkit.ui#1645); unoplatform/Uno.Themes carries the same pin for the same reason.

Changes

  1. fix(manifests) — set DOTNET_SDK_VERSION to 10.0.108 in uno.ui and uno.ui-preview: the band-10.0.100 SDK matching the already-pinned WASMTOOLS_VERSION 10.0.108/10.0.100, mirroring how 1.34.1 paired 10.0.101 with 10.0.101/10.0.100. uno.ui-preview-major is untouched.

  2. test(manifests) — a guard in ManifestVersionGuardTests asserting that every embedded manifest requires an SDK from the same feature band as its workload manifests. FeatureBandOf derives the band exactly as it appears after the slash, so prerelease channels round-trip (11.0.100-rc.1.26425.128 → 11.0.100-rc.1).

Verified red against the pre-fix manifest:

SDK 10.0.300 is in feature band 10.0.300, but these workload manifests are pinned to another
band: android -> 10.0.100, ios -> 10.0.100, maccatalyst -> 10.0.100, tvos -> 10.0.100,
maui -> 10.0.100, maui-android -> 10.0.100, wasm-tools -> 10.0.100. ...

Full suite green after the fix: 325 passed, 0 failed.

Choice of direction — please confirm

I fixed the SDK to match the workloads, because the workload pins were the ones never moved and 10.0.108 is verifiable against the existing WASMTOOLS_VERSION.

If the band move to 10.0.300 was the intent, the fix is the other direction — repin all six workload manifests to /10.0.300. I did not do that, because manifests/README.md and AGENTS.md §5 require transcribing dotnet workload list from a clean machine, which I cannot do here. Happy to swap if you prefer that.

Either way the new guard keeps the two in step.

Note

uno.ui-preview.manifest.json is currently identical to uno.ui.manifest.json — the channel-overlap advisory in the drift checker. Left as-is, out of scope here.

🤖 Generated with Claude Code

MartinZikmund and others added 2 commits September 22, 2026 14:45
`c748387e` moved `DOTNET_SDK_VERSION` to `10.0.300` but left every workload
manifest pinned to band `10.0.100`, so the stable and preview manifests ask for
an SDK from one feature band while installing workload manifests from another.

A workload manifest from a different band is not visible to the SDK, so
consumers hit `NETSDK1147: the following workloads must be installed:
wasm-tools` on every `net10.0-ios` / `net10.0-browserwasm` build. Worse, since
`dotnet.sdks[].requireExact` is `false`, `DotNetCheckup` reports `Status.Error`
on an agent running a band-`10.0.100` SDK and `--fix` then installs `10.0.300`
over the SDK the pipeline deliberately provisioned.

- Set `DOTNET_SDK_VERSION` to `10.0.108` in `uno.ui` and `uno.ui-preview`, the
  band-`10.0.100` SDK matching the pinned `WASMTOOLS_VERSION` `10.0.108/10.0.100`

`uno.ui-preview-major` is already self-consistent (`11.0.100-rc.1`) and is left
alone. If the band move to `10.0.300` was intended, the fix is the other
direction -- repin all six workload manifests to `/10.0.300` -- which needs a
`dotnet workload list` on a clean machine per `manifests/README.md`.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
- Assert that every embedded manifest requires an SDK from the same feature
  band its workload manifests are pinned to
- Verified red against the pre-fix manifests: it names each out-of-band
  workload and why it breaks consumers

`FeatureBandOf` derives the band the way it appears after the slash in a
workload version, so prerelease channels round-trip too
(11.0.100-rc.1.26425.128 -> 11.0.100-rc.1).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@ajpinedam
ajpinedam merged commit 2607ee3 into main Sep 25, 2026
62 checks passed
@ajpinedam
ajpinedam deleted the dev/mazi/manifest-sdk-feature-band-consistency branch September 25, 2026 18:58
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