Skip to content

Prepare SR13 for servicing packages - #39774

Merged
kubaflo merged 1 commit into
release/10.0.1xx-sr13from
kubaflo-sr13-servicing-versions
Oct 30, 2026
Merged

kubaflo merged 1 commit into
release/10.0.1xx-sr13from
kubaflo-sr13-servicing-versions

Conversation

@kubaflo

@kubaflo kubaflo commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Explicit release-target exception: this focused release-preparation PR intentionally targets release/10.0.1xx-sr13, not main, as requested after the SR13 branch was created from candidate 07024e2926da3730e23bafa85719967f8f95bf97 (#39597).

Apply the established SR11/SR12 servicing flip (#38464, #39490), changing only eng/Versions.props:

  • Replace ci.main and the conditional inflight/current ci.inflight override with one PreReleaseVersionLabel=servicing.
  • Change the existing conditional default of StabilizePackageVersion to true, preserving explicit overrides.
  • Preserve PatchVersion=130, SdkBandVersion=10.0.100, and all unrelated content.

The delta is one file, two insertions and three deletions. No matching open or recently merged SR13 servicing PR was found; the exact SR13 target also had no PRs at the final pre-push check. There is no main version bump or SR14 milestone; the next release preparation is .NET 11 SR1. Closed #39600 is not reopened.

Validation

All commands below passed (exit code 0), using local SDK 11.0.100-preview.6.26359.118 / MSBuild 18.9.0.36018:

xmllint --noout eng/Versions.props
git diff --check

Result: well-formed XML; no whitespace errors. Existing formatting is preserved. No configuration tests were added.

dotnet msbuild eng/Versions.props -nologo -v:quiet -getProperty:MajorVersion,MinorVersion,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,IsServicingBuild,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix,SdkBandVersionForWorkload_FromRuntimeVersions
dotnet msbuild eng/Versions.props -nologo -v:quiet -p:BUILD_SOURCEBRANCH=refs/heads/inflight/current -getProperty:MajorVersion,MinorVersion,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,IsServicingBuild,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix,SdkBandVersionForWorkload_FromRuntimeVersions

Result for both: major/minor/patch 10.0.130, SDK band 10.0.100, label servicing, IsServicingBuild=true, StabilizePackageVersion=true, DotNetFinalVersionKind=release, empty workload suffix, and SdkBandVersionForWorkload_FromRuntimeVersions=10.0.100. The former inflight trigger no longer overrides the servicing label.

dotnet msbuild eng/Versions.props -nologo -v:quiet -p:BUILD_SOURCEBRANCH=refs/heads/inflight/current -p:StabilizePackageVersion=false -getProperty:MajorVersion,MinorVersion,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,IsServicingBuild,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix,SdkBandVersionForWorkload_FromRuntimeVersions

Result: explicit StabilizePackageVersion=false remains honored; label servicing, IsServicingBuild=true, empty DotNetFinalVersionKind, workload suffix -servicing, and workload band 10.0.100-servicing. Patch and SDK band remain unchanged.

dotnet msbuild src/Core/src/Core.csproj -nologo -v:quiet -p:TargetFramework=net10.0 -p:TargetFrameworks=net10.0 -getProperty:PackageVersion,Version,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,IsServicingBuild,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix,SdkBandVersionForWorkload_FromRuntimeVersions
dotnet msbuild src/Core/src/Core.csproj -nologo -v:quiet -p:TargetFramework=net10.0 -p:TargetFrameworks=net10.0 -p:BUILD_SOURCEBRANCH=refs/heads/inflight/current -getProperty:PackageVersion,Version,PatchVersion,SdkBandVersion,PreReleaseVersionLabel,IsServicingBuild,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix,SdkBandVersionForWorkload_FromRuntimeVersions

Result for both actual Core project evaluations: PackageVersion=10.0.130 and Version=10.0.130, with the same stable servicing properties above.

Limitations: the pinned 10.0.113-servicing.26454.107 toolset is not installed (dotnet --list-sdks checked). These are MSBuild property evaluations only, not an official build, pack, signed-artifact, or runtime validation. No unit/device/UI tests were run for this configuration-only change.

Remaining release gates — not ship approval

Candidate 07024e2926da3730e23bafa85719967f8f95bf97 is cut. Its supplied validation evidence is: build pipeline 1655781 passed, device run 1655779 failed, and UI run 1655780 failed. This versioning-only PR does not fix or clear those failures and is not ship approval.

PR review/CI, investigation and disposition of the failed device/UI runs, and final stabilized release-head build/package/runtime validation remain required before a human ship decision. No direct release-branch push, merge, tag, package promotion, or release-pipeline dispatch is part of this PR.

Issues Fixed

N/A - SR13 release preparation; this does not fix a product bug.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 30a901d0-ec5e-4ba0-8c8f-c351f143da0a
Copilot AI balanced review requested due to automatic review settings October 30, 2026 13:27
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:27 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39774

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39774"

@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:28 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:28 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:30 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:33 — with GitHub Actions Inactive
@github-actions github-actions Bot added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Oct 30, 2026
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 30, 2026 13:34 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Release-wide build and package validation with the pinned servicing toolset remains outstanding, as the supplied evidence only covers property evaluation using a different SDK, not produced or signed artifacts.

No open issues 🎉

What changed in this PR

Prepares .NET MAUI 10 SR13 for stable servicing packages on release/10.0.1xx-sr13, following the SR11/SR12 versioning pattern. This configuration-only change does not resolve outstanding validation failures or authorize release.

Changes:

  • Replaces the CI prerelease labels and inflight override with a single servicing label.
  • Enables package stabilization by default while preserving explicit overrides, patch version 130, and SDK band 10.0.100.
File Description
eng/​Versions.props Sets servicing versioning and defaults to stable packages for SR13.

Review effort: Balanced

@kubaflo

kubaflo commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

@dalexsoto stamp

@PureWeen PureWeen 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.

Adversarial review

No new actionable defects found at 6abec827bd31f0082cadf810dc764dcee4b291e8.

Each independent reviewer read the complete eng/Versions.props source and its single changed hunk, then traced the affected versioning, workload, and packaging consumers. The authoritative GitHub snapshot contains exactly one changed file (+2/-3). The title and description accurately describe this focused SR13 servicing flip.

Independent head/base MSBuild property evaluations confirmed the intended transition: default and inflight cases now select servicing, enable stabilization, and leave the workload suffix empty; explicit StabilizePackageVersion=false remains honored and produces -servicing. Patch 130 and SDK band 10.0.100 are unchanged.

Coverage and limits: No automated tests were added in this configuration-only diff. Six isolated property cases were checked with installed SDK 11.0.100-rc.3.26522.148, not the unavailable pinned 10.0.113-servicing.26454.107 toolset. These checks do not establish full-project package generation, signed-artifact correctness, or runtime behavior; no build, pack, device, or UI test was run as part of this review.

Prior feedback: The existing review and complete issue-comment inventory were checked for duplicate claims. No inline review comments were present; thread-resolution metadata was not queried. The already-noted full-package validation limitation is not raised as a new defect.

Methodology: 3 independent reviewers with adversarial consensus; all reported no verified PR-caused defects.

Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.

@dalexsoto dalexsoto 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.

Stamping as requested by @kubaflo; no code review performed.

@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo merged commit 4bd53f0 into release/10.0.1xx-sr13 Oct 30, 2026
206 of 216 checks passed
@kubaflo
kubaflo deleted the kubaflo-sr13-servicing-versions branch October 30, 2026 16:23
@github-actions github-actions Bot added this to the .NET 10 SR13 milestone Oct 30, 2026
kubaflo added a commit that referenced this pull request Nov 7, 2026
…ranches (#40042)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

<!-- Enter description of the fix in this section -->

Derive MAUI's prerelease label and default package stabilization from
the full `BUILD_SOURCEBRANCH` ref in `eng/Versions.props`, **before
Arcade evaluates package versions**.

**User-directed scope expansion:** the original labels-only commit was
followed by the request to automate the remaining
`StabilizePackageVersion=true` flip: "i wish this has been automated as
well". This PR now has two normal commits, with no amend, rebase, or
force-push: original label policy
`e58dd764d38552dfa05d6c0b04ed6401b2195acb`, followed by automatic SR
stabilization `8d92a2dda43d96f2052f633c522a5014a00cbeca`. It still
targets literal `main`; the original base is
`171c30d4ae467b41c51b2bdda866113508ad2d9a`.

| Full source ref | Default label | Default stabilization |
|---|---|---|
| `refs/heads/main`, `refs/heads/net11`, `refs/heads/net11.0`, candidate
refs, unknown refs, PR refs, or absent source ref | `ci.main` | `false`
|
| `refs/heads/inflight/current` | `ci.inflight` | `false` |
| `refs/heads/inflight/<major>.0.<band>xx-sr<N>` | `ci.inflight` |
`false` |
| `refs/heads/release/<major>.0.<band>xx-sr<N>` with effective
`servicing` branding | `servicing` | `true` |
| Preview/RC/GA release refs, unsupported Preview/RC inflight refs,
numeric legacy inflight refs, malformed refs, or sandbox-prefixed refs |
`ci.main` | `false` |

Numeric components must be positive decimal integers without leading
zeros. Patterns match the entire ref with `\A`/`\z`; SR0, leading zeros,
suffixes, nested refs, wrong casing, and trailing newlines do not match.
This classifies the source lane; it does not infer or update SDK bands,
product/patch/assembly versions, or prove that branch contents match a
release cycle. No local Git discovery or PR-target/source-branch
reinterpretation is added.

**Stable by default only for servicing-branded strict SR source refs.**
The existing single `StabilizePackageVersion` node retains
`Condition="'$(StabilizePackageVersion)' == ''"`. Its value evaluates
the strict SR ref and effective label together, producing lowercase
`true` or `false`. It remains after `IsServicingBuild` and before
`DotNetFinalVersionKind` and workload-version calculation.

- A recognized SR release ref produces stable packages without a
separate flip: `IsServicingBuild=true`, `StabilizePackageVersion=true`,
`DotNetFinalVersionKind=release`, and no workload prerelease suffix.
- Explicit `-p:StabilizePackageVersion=false` still produces servicing
prereleases on SR refs. Explicit `true` still wins on main, net11,
candidate, inflight, or any other ref.
- Explicit Preview, RC, PR, or other non-servicing labels keep the
default stabilization `false`, even on an SR source ref. Without the
effective-label guard, Arcade would strip these explicitly requested
prerelease labels. An explicit stabilization `true` still wins if
requested.
- `IsServicingBuild` remains governed by its existing rule and explicit
overrides, independently of stabilization. For example, SR plus
`StabilizePackageVersion=false` remains a servicing build but produces
prerelease packages.

**Stable versioning is not publication authorization or evidence of
shipment.** Signing, manual approval, public publication gates,
previous-version testing, and version pins are unchanged. No pipeline
configuration, production refs, mirror, release execution, or package
publication is changed by this PR. The companion release coordinator
must recognize the exact auto-stable policy before skipping a redundant
servicing-preparation PR.

The original tightly coupled scheduled-build fix is retained:
`SetVersions` no longer overwrites the label with `nightly` after Arcade
has calculated package/workload versions. Scheduled builds keep the
correct source-derived label and stabilization plus the existing
`##vso[build.addbuildtag]nightly` output.

#### Validation

On head `8d92a2dda43d96f2052f633c522a5014a00cbeca`, **98 actual MSBuild
cases / 1,905 property assertions passed**, before the follow-up commit
and again on the pushed commit. Evaluation uses the actual SDK, workload
manifest, and template projects. The complete command/property/item
matrix is a session artifact, not a YAML/pipeline test or a new
committed test runner.

Exact command, result **passed**:

```bash
python3 /Users/kubaflo/.copilot/session-state/d2e450cf-6eb9-450d-8ea6-4839b4568b1f/files/validate_auto_stable_versions.py
# PASS: 98 actual MSBuild cases; 1905 property assertions; XML parsed.
```

The runner calls `dotnet msbuild` with `OfficialBuildId=20261107.1`,
`_SkipUpdateBuildNumber=true`, the full source ref, and
`-t:SetVersions`, plus evaluation-only and template-selection cases. It
asserts label/iteration, `PackageVersion`, `Version`,
`PackageReferenceVersion`, `IsServicingBuild`, stabilization,
final-version kind, workload suffix/SDK version, unchanged
product/SDK/assembly versions and previous-version testing,
publication/signing defaults, and the nightly tag. The single
stabilization node and its evaluation order are also checked.

| Actual case(s) | PackageVersion | IsServicingBuild |
StabilizePackageVersion | DotNetFinalVersionKind | Workload SDK version
|
|---|---|---|---|---|---|
| main, net11, net11.0, net12.0, candidate, absent/unknown/malformed/PR
refs | `11.0.10-ci.main.26557.1` | unset | false | unset |
`11.0.100-ci.main` |
| inflight/current and strict versioned inflight refs |
`11.0.10-ci.inflight.26557.1` | unset | false | unset |
`11.0.100-ci.inflight` |
| strict release/11.0.1xx-sr1, release/10.0.1xx-sr13,
release/12.0.2xx-sr10 | `11.0.10` | true | true | release | `11.0.100` |
| SR + explicit stabilization false | `11.0.10-servicing.26557.1` | true
| false | unset | `11.0.100-servicing` |
| main/net11/candidate/inflight + explicit stabilization true |
`11.0.10` | unset | true | release | `11.0.100` |
| Preview/RC/GA refs without label overrides | `11.0.10-ci.main.26557.1`
| unset | false | unset | `11.0.100-ci.main` |
| SR or Preview ref + explicit preview/iteration 3 |
`11.0.10-preview.3.26557.1` | unset | false | unset |
`11.0.100-preview.3` |
| SR or RC ref + explicit rc/iteration 2 | `11.0.10-rc.2.26557.1` |
unset | false | unset | `11.0.100-rc.2` |
| SR/inflight/PR merge ref + explicit PR label |
`11.0.10-ci.pr40041.26557.1` | unset | false | unset |
`11.0.100-ci.pr40041` |
| non-SR or malformed ref + explicit servicing label |
`11.0.10-servicing.26557.1` | true | false | unset |
`11.0.100-servicing` |
| SR + IsServicingBuild=false | `11.0.10` | false | true | release |
`11.0.100` |
| main + IsServicingBuild=true | `11.0.10-ci.main.26557.1` | true |
false | unset | `11.0.100-ci.main` |

CLI `TRUE`/`FALSE` variants remain authoritative. Explicit Preview/RC
plus stabilization `true` produces stable versions as explicitly
requested. Scheduled main, inflight, and SR cases match normal version
outputs; scheduled Preview/PR-label and explicit stabilization-false
overrides remain prerelease. Evaluation before `SetVersions` already
produces the stable SR result.

Manifest and template projects were separately evaluated for main,
inflight, SR, stabilization-false, and Preview override cases. Stable
template selections contain no wildcards. With a controlled prerelease
logging dependency override, the stable SR template preserves exact
`11.0.0-preview.7.1234`; an explicit stabilization-false build retains
the existing `11.0.0-*` floating behavior.

Exact scheduled-tag command, result **passed**, emitted
`##vso[build.addbuildtag]nightly`:

```bash
dotnet msbuild src/Workload/Microsoft.Maui.Sdk/Microsoft.Maui.Sdk.csproj -nologo -t:SetVersions -v:minimal -p:OfficialBuildId=20261107.1 -p:CI=true -p:BUILD_REASON=Schedule -p:BUILD_SOURCEBRANCH=refs/heads/release/11.0.1xx-sr1 -p:_SkipUpdateBuildNumber=true
```

`git diff --check`: **passed**. `git ls-remote origin
refs/heads/kubaflo-branch-derived-release-labels`: **passed**, matches
`8d92a2dda43d96f2052f633c522a5014a00cbeca`. Validation used host SDK
`11.0.100-preview.6.26359.118`, MSBuild `18.9.0.36018`, and
repository-pinned Arcade `11.0.0-beta.26514.118`; the RTM SDK under
`global.json` tools was not provisioned. No compilation/device builds,
signing, release execution, or package publication was performed. No new
CI run was manually queued. Results from the earlier labels-only head
are not certification of this follow-up or merge readiness.

#### Upstream overlap / compatibility with #39913

Open and recently merged upstream overlap was checked before each
publication, including release/inflight-targeted versioning work.
#39774/#39490 are branch-specific stabilization flips, #39473 enables
stable GA packaging, and #39805 prepares main for SR1; they are prior
art, not duplicate central auto-stable policies. #39913 supplies the
companion release infrastructure, not this central policy. The PRs
remain intentionally separate.

At published head `a484491c9435f3f006006e1f397d0dafd5e56d28`, #39913
includes the automatic-policy compatibility from
`c9097ef73b44a3eb634a1454e9ee84ee85cd607a` plus scoped-validation,
source, URI, and provenance guards. It strictly recognizes this PR's
exact ordered three-label policy and single-node effective-servicing +
SR stabilization expression, preserves the raw defaults during phase
changes, and skips the redundant servicing-preparation PR only when the
policy is recognized and `servicingSha` equals the approved merge. The
coordinator verifies human-managed candidate proof and pins the signed
source to the exact approved cut. Legacy separate-PR behavior, public
publication approvals, recovery, strict scoped trials, and rejected
scoped publication remain supported. Readiness and
development-forwarding consumers are adapted. The companion PR has
removed its overlapping `eng/Versions.props` edit.

The parent session reports final persisted local evidence at
`a484491c9435f3f006006e1f397d0dafd5e56d28`: **263 coupled business
Pester cases, 150 actual MSBuild assertions, 2,358 readiness cases, and
88 branch-role cases passed**. The business coverage includes real Git
release cycles, no-redundant-PR behavior, and publication guards;
MSBuild coverage includes defaults, Preview/RC, explicit CLI `false`,
and scoped behavior. These are parent-reported results, not additional
runs performed by this child. This PR's independently executed **98
actual MSBuild cases / 1,905 assertions** remain unchanged.

Hosted evidence for the preceding
`c9097ef73b44a3eb634a1454e9ee84ee85cd607a` head is now available.
[Release Readiness
42404931455](https://github.com/dotnet/maui/actions/runs/42404931455)
completed successfully; its raw logs confirm **2,348 / 94 / 88 passed
with zero failures, plus 150 actual MSBuild assertions**. [PowerShell
Script Tests
42404931432](https://github.com/dotnet/maui/actions/runs/42404931432)
reports **2,665 passed and two failed Retina screenshot-cropping
tests**. [Documentation Checks
42404931524](https://github.com/dotnet/maui/actions/runs/42404931524)
reports **seven spelling findings in three files**. The parent
identifies the two Retina failures and seven documentation findings as
unchanged baseline findings; this child verified the raw outcomes but
did not independently repeat that baseline comparison. The failing
checks are not dismissed or described as green.

**New `a484491c9435f3f006006e1f397d0dafd5e56d28` hosted validation is
pending**: [Release Readiness
42410685974](https://github.com/dotnet/maui/actions/runs/42410685974)
and [PowerShell Script Tests
42410685901](https://github.com/dotnet/maui/actions/runs/42410685901)
were observed `in_progress`. That head's [Documentation Checks
42410685857](https://github.com/dotnet/maui/actions/runs/42410685857)
has already reported failure; this body-only task has not investigated
or attributed that newer result. Earlier hosted passes do not certify
the final companion head. No all-green or merge-readiness claim is made.

The literal-first-`ci.main`-leaf consumer finding is **addressed in the
companion implementation**, not proven fixed by #40042 standing alone:
the frozen main readiness parser still reads literal metadata until
those consumer changes land. The companion changes must be adopted with
this policy, and unknown expressions remain rejected rather than
executed or treated as boolean evidence. No human-review draft thread
has been resolved, and this metadata-only update supplies no new source
fix or standalone validation for that finding. This child has not
modified #39913, queued a run, or changed any source commit or
production ref.

Adopt central policy and compatible infrastructure together in `net11`
**before the .NET 12 cutover**, so retained .NET 11 lanes inherit both
pieces. This states adoption order, not authorization to merge,
retarget, or change main/staging/production refs.

Exact decoded label conditions, in order after literal `ci.main`,
remain:

```text
'$(BUILD_SOURCEBRANCH)' == 'refs/heads/inflight/current' or $([System.Text.RegularExpressions.Regex]::IsMatch('$(BUILD_SOURCEBRANCH)', '\Arefs/heads/inflight/[1-9][0-9]*\.0\.[1-9][0-9]*xx-sr[1-9][0-9]*\z'))
$([System.Text.RegularExpressions.Regex]::IsMatch('$(BUILD_SOURCEBRANCH)', '\Arefs/heads/release/[1-9][0-9]*\.0\.[1-9][0-9]*xx-sr[1-9][0-9]*\z'))
```

Exact stabilization node, after the unchanged `IsServicingBuild` rule
and before the unchanged `DotNetFinalVersionKind` rule:

```xml
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">$([System.Text.RegularExpressions.Regex]::IsMatch('$(PreReleaseVersionLabel):$(BUILD_SOURCEBRANCH)', '\Aservicing:refs/heads/release/[1-9][0-9]*\.0\.[1-9][0-9]*xx-sr[1-9][0-9]*\z').ToString().ToLowerInvariant())</StabilizePackageVersion>
```

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

N/A — user-requested central version-label policy and automatic SR
stabilization. Related: #39913; this PR does not close, retarget, merge,
or modify it.

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

---------
kubaflo added a commit that referenced this pull request Nov 13, 2026
…on backports (#40217)

<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

<!--
!!!!!!! MAIN IS THE ONLY ACTIVE BRANCH. MAKE SURE THIS PR IS TARGETING
MAIN. !!!!!!!
-->

### Description of Change

**Explicit release-target exception:** this PR intentionally targets the
new `release/10.0.1xx-sr14` branch. `main`, `net11` and the inflight
lanes are now .NET 11, so .NET 10 SR14 is cut from the SR13 release head
(`release/10.0.1xx-sr14` was created at `54d76458e0`, the tip of
`release/10.0.1xx-sr13`, which already includes all post-cut SR13 fixes
#39830, #39855, #39879, #39891 and the servicing/stable configuration
from #39774).

This PR brings the .NET 10 changes needed since SR13:

1. **Backport #39887** – `[Windows] Prevent duplicate Shell startup
navigation from stale tab selection events`. Fixes #39859 (regressed in
10.0.120); it was merged only to `main`. Clean `cherry-pick -x`.
2. **Backport #40132** – `Fix custom Shape.PathForBounds dispatch
regression`. Fixes #40129 (regressed in 10.0.130); it was merged only to
`candidate/11.0.1xx-sr2`. The unrelated .NET 11
`eng/release-rollover.json` change from that commit is excluded (file
does not exist on the .NET 10 line).
3. **Version bump** – `PatchVersion` 130 → 140 in `eng/Versions.props`.
Servicing label and `StabilizePackageVersion=true` are inherited from
SR13.

Reviewed and intentionally **not** included:

- #40136 (`net10.0` Publish-Build-Assets cleanup): SR13 has no
`Publish-Build-Assets` references, so nothing to remove.
- #39882 (re-land of the CollectionView2 height fix): SR13 already
carries the revert #39855 that fixed #39847; re-landing is a
fix-forward, not a regression fix.
- #40213 (`[net10.0][XSG]` CA2252 suppression, issue #40045): still
open/unmerged; can be backported once approved.
- Other `regressed-in-10.0.1x0` issues closed since the SR13 cut
(#38622, #39557/#39681, #39722) are already fixed on SR13 or were fixed
outside MAUI.

Keep in draft pending review and CI. This PR does not tag, publish, or
authorize a release; the internal dnceng mirror of
`release/10.0.1xx-sr14` has not been created.

#### Validation

Using the pinned SDK `10.0.113` provisioned by `eng/common/dotnet.sh`:

- `dotnet msbuild eng/Versions.props
-getProperty:PatchVersion,SdkBandVersion,PreReleaseVersionLabel,StabilizePackageVersion,DotNetFinalVersionKind`
→ `140`, `10.0.100`, `servicing`, `true`, `release`. `xmllint --noout
eng/Versions.props` passed.
- `dotnet test
src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj -f
net10.0 --filter FullyQualifiedName~StrokeShapeTests` (platform TFMs
disabled): **passed 59/59**. With `Shape.cs` reverted to SR13: **failed
3/59** (the new `CustomShapeReimplementingIShape*` tests); restored:
**passed 59/59**.
- #39887 is Windows-only (`ShellItemHandler.Windows.cs` + Windows device
test) and was not built locally on macOS; it relies on CI.

### Issues Fixed

Fixes #39859
Fixes #40129

<!--
Are you targeting main? All PRs should target the main branch unless
otherwise noted.
-->

---------

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 6abec827 Deployed Oct 30, 2026 by kubaflo via conclusion #2590
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants