Skip to content

[automated] Merge branch 'main' => 'net11.0' - #39803

Closed
github-actions[bot] wants to merge 1 commit into
net11.0from
merge/main-to-net11.0
Closed

github-actions[bot] wants to merge 1 commit into
net11.0from
merge/main-to-net11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR.

This PR merges commits made on main by the following committers:

  • kubaflo

Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.

merge button instructions

If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.

Instructions for merging via command line

Run these commands to merge this pull request from the command line.

git fetch
git checkout main
git pull --ff-only
git checkout net11.0
git pull --ff-only
git merge --no-ff main

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
or if you are using SSH
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or using the command line.

Instructions for updating this pull request

Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.

git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull https://github.com/dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/maui HEAD:merge/main-to-net11.0
or if you are using SSH
git fetch
git checkout -b merge/main-to-net11.0 origin/net11.0
git pull git@github.com:dotnet/maui merge/main-to-net11.0
(make changes)
git commit -m "Updated PR with my changes"
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

<!-- 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 -->

Promotes the `net11.0` release line to `main` for the .NET 11 SR1
servicing cycle.

**Current publication status: CI repair remains in progress; this
promotion is not yet all-three-pipeline green or merge-ready.** The
original #39688 head remains `c13dddb0a6b5b57a31a7fed4d4779dc01b31a9ef`,
so the fixes are not in this PR yet. Active prerequisite
[#39779](#39779), targeting protected
`net11.0`, remains published at
`691808743d1b3915c9af359c9a37dae0588f51c2`; both owned correction refs
converge there, GitHub REST confirms that head, and the parent checkout
is clean. Exact-source
[device1657679](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657679)
completed succeeded all9/9 jobs with full native acceptance recorded
below. Exact-source
[maui-pr1657678](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657678)
has30/31 jobs passed with one running;
[UI1657680](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657680)
has113 passed,11 running, and3 failed jobs at the latest13:01UTC
receipt. The active `691-current-ci-watch5` observer source-checks
`691`. Azure `triggerInfo.pr.sourceSha` is `691`, while `92a13b…` is the
merge SHA, not the source head. #39688 inherits the fixes only after
#39779 passes required checks and is merged with explicit user
authorization. Protected `net11.0` and #39688 remain at `c13`; no
bypass, force-push, approval, or merge occurred.

**Current `691` device full native acceptance:** device1657679 has9/9
Helix jobs `Finished` and71/71 work items `Finished` with exit0. The
audit covers62 logical application reports; nine administrative items
are excluded. It retained164 original XML exports and154 canonical XMLs:
ten Windows aggregate duplicate exports are excluded, while intentional
OS/runtime/package/category repetitions remain. Every declaration
reconciles:46,208 actual tests=44,986 passed+1,222 measured actual
skips+0 failures/errors. This does not claim exact skip-identity
equivalence with historical f26 and no new skip source change was made.
Parent receipts: `files/691-all-device-native-audit.json`, all164
original XMLs under `files/691-all-device-native-audit-originals/`, and
size/SHA verification in
`files/691-native-originals-storage-receipt.json`; the earlier agent
memory-only artifact issue was fully recovered, leaving no
unretained-evidence boundary. Windows Shell completed77/77 passed in
each package mode; all six exact
`ShellTests.SearchHandlerFocusTracksDetachment` cases passed.
Packaged/unpackaged timings were removal0.8677749s/0.7552682s,
replacement0.5545906s/0.6443377s, and disconnect0.5587209s/0.4077961s.
The nine distinct GC cases across ten native runtime/platform reports
completed90 passes+0 nonpasses. Exact
`EarlierReferenceCollectedDuringLaterWait(useWaitForGC: True)` passed
in2.8526568s on Android Mono and4.3604772s on Android CoreCLR, verified
from original XML. Windows packaged Controls1051=1018 passed+33 skips,
Core2146=2035 passed+111 skips, and Blazor45=41 passed+4 skips;
unpackaged reports have the same counts, all nonempty real-runtime
results. Catalyst OS26 Core completed2486=2301 passed+185 skips+0
failures/errors, providing real execution unlike the historically
canceled combined-79 Core. This certifies the current device gate
only—not all-three pipelines or protected integration into original
#39688.

**Current `691` iOS Mono same-code recovery receipt:** device1657679
OS26 Mono General completed1292=1278 passed+14 existing skips+0
failures/errors, with all declarations reconciled. Exact
`MemoryTests_TabbedViewHandler.WindowDoesNotLeak("Window Does Not
Leak")` passed in0.2446597s on `dci-mac-build-475`; receipt: parent
`files/691-ios26-general-results.xml`. The current Window test, helper,
and40-GC behavior are unchanged from historical `d673`, where the same
case failed in1.1958577s, and from the passing f26/local cohorts. This
fresh same-code cohort recovery is not a root-cause fix, certified undo
experiment, product patch, or evidence for changing the fixture, helper,
GC count, wait budget, or skip.

**Current `691` Catalyst UI setup receipt:** UI1657680 Catalyst Shell1
task `bcc8dcd8-bcf8-5783-51a6-38f65fe366c5` / raw2612 failed before
tests while downloading the MSBuild logger ZIP from
`vstsagenttools.blob.core.windows.net`: DNS reported `nodename nor
servname provided, or not known`; telemetry to `dev.azure.com` also
recorded DNS failure. Both attempts produced no readable NUnit XML or
TRX, so the native Shell1 cases are **unmeasured**, not four badge-test
failures or evidence of a native product bug or global outage. The
Catalyst UI stage remains running and no stage2 retry has been admitted;
classification waits for stage completion and all failures. No network,
runtime, source, URI, timeout, budget, or configuration change is
claimed.

**Current `691` iOS badge visual-failure receipt:** UI1657680 iOS
CoreCLR latest Shell1 raw4524 and publisher4526 completed initial173=163
passed+6 existing skips+4 failures; the exact four-case targeted NUnit
retry completed4 failures+0 passes. Run46147754 reports result100169
`ShellBadgeCanBeCleared` at2.30%, result100170 `InitialBadgeIsVisible`
at2.31%, result100171 `SetAtRuntime` at2.31%, and result100172
`MultipleTabsCanHaveBadges` at2.31%; all four retained the same
percentage across both attempts and the publisher recorded four real
failures. Parent receipts: `files/691-ios-shell1-failed4524.log` and
`files/691-ios-shell1-publisher4526.log`. This is a current native iOS
badge visual mismatch, distinct from Catalyst Shell1's DNS pre-test
failure with no XML. No new expected colors, precise underlying
mechanism, golden change, mask, tolerance, or skip is claimed before
current-image inspection.

**Current `691` Windows CV1 receipt:** UI1657680
raw4534/publisher4536/run46147778 completed initial355=332 passed+13
existing skips+10 failures. The exact targeted retry completed10 cases=9
passed+1 failed, so final results are355=341 passed+13 existing skips+1
genuine `Issue38059_UntemplatedHorizontalGridLayout` failure. That case
remained4.91% different in both attempts; nine dynamic-fixture setup
cases recovered. The horizontal golden and source are unchanged in this
update, and no layout fix is claimed.

**Historical superseded `d673` native/UI receipt:** on device1657603 iOS
Mono raw141, OS26 General completed1292=1277 passed+14 existing skips+1
failure: `MemoryTests_TabbedViewHandler.WindowDoesNotLeak`, with the
Window alive at1.1958577s. The same exact OS26 case passed on `f26`
in0.1247654s. The source creates `ContentPage`, not `TabbedPage` (the
latter appears only through inherited registration), so no Tabbed
product root, infrastructure cause, isolated local red,
runtime/SDK/source fix, helper change,40-GC change, skip, or wait-budget
change is claimed. A fresh local original-fixture iOS Mono Core
simulator OS26.5 XML completed65=64 passed+1 existing skip, with the
exact Window case passing in0.2360164s; the wrapper exited1 only because
it expected `testResults.xml` while the verified fresh output was
`xunit-test-*.xml`. An initial build without the existing CI opt-in
stopped at NETSDK1242/no tests and is not red; the successful run used
the existing `UseMonoRuntime=true` and
`_DisableCheckForUnsupportedMonoMobileRuntime=true` settings from
`stage-device-tests.yml`. Current `691` native CI is rerunning the case.
Historical d673 main1657602 was canceled after the new-head push, after
only partial progress (seven base jobs while integration work was still
running); no all-green claim is made. The old observer exited on a
JSON-read error while fetching the canceled timeline, which is not a
test failure.

**Historical superseded `d673` Windows focus/color receipt:** Windows
Shell2 run46144002 completed197=183 passed+13 existing skips+1 failure.
Exact result100185 `CancelButtonColor` passed its strict `Focused`
precondition and unchanged new golden, providing native acceptance for
that focus/color case only. Sole failure result100195 `Uppercase` failed
both attempts visually at0.70%; actual attachment17 (`01e09879…`,22830
bytes) and AX (`3d424a28…`) prove `HasKeyboardFocus=True`,
`FocusStatus=Focused`, and exactly195 RGB changes in bbox
`(168,266)-(217,276)`, confined to the event label versus an empty-label
golden, with zero changes outside it—including all uppercase glyphs and
colors. The `691` update makes the strict `Focused.After(2000,100)`
assertion unconditional inside the existing Windows-only outer guard and
updates only those195 label pixels; it changes no scope, skip,
tolerance, mask, or uppercase visual requirement. The native PNG is
byte-identical to the captured actual. Managed WinUI test build passed
before publication with0 warnings/errors in23.75s and after publication
via `./.dotnet/dotnet build
src/Controls/tests/TestCases.WinUI.Tests/Controls.TestCases.WinUI.Tests.csproj
-c Release --no-restore -v:q` with0 warnings/errors in18.26s; original
PNG byte comparison, scoped formatting, and `git diff --check` passed,
with three unrelated formatter whitespace changes restored. Actual
execution of the new `691` assertion remains pending fresh CI; this is
not full UI certification. Historical `d673` iOS Shell1
raw4295/publisher4310/run46144012 still has the same four badge failures
(173=163 passed+6 skips+4 failures; targeted retry4/4 failed), with no
safe badge fix or golden change.

**Historical superseded `cd` main-gate receipt:** maui-pr1657489
completed succeeded at `2026-10-31T09:39:23.6411636Z`. The fresh
complete Azure timeline contains1233 records and verifies31/31 jobs
succeeded, with no skipped or failed jobs. The run is qualified to exact
counterpart source `cd7a8cb8a21c8d798c9588da7ec86a3ae54379df`; the
original current-source Windows Pack raw267 records190 warnings/0
errors. This closed only the main gate on that historical PR-counterpart
head, **not all-three-pipeline promotion acceptance or current `691`
certification**. Earlier main-running/29-or30-of31 statements below are
preserved historical checkpoints superseded by this complete receipt and
the current publication status above. Historical `cd` devices failed7/9;
historical `cd` UI had genuine failures. Combined `79` manual1657568 and
`f26` manual1657552 remain historical scoped evidence, not current
certification.

#### Current-head device failures

Device1657491 Android Mono
[raw149](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657491/logs/149),
Helix job prefix `76c02089`, contains actual Core XML3090=3017 passed+72
existing skips+1 failure. Exact
`AssertionExtensionsTests.EarlierReferenceCollectedDuringLaterWait(useWaitForGC:
True)` failed in4.999277s with `System.Object` retained. The other four
actual app XML reports are Controls1345=1332 passed+13 existing skips,
Essentials424/424 passed, Graphics33/33 passed, and Blazor68=64 passed+4
existing skips. Parent receipt: `files/cd-device-android-mono-149.log`
plus native XML.

Windows
[raw165](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657491/logs/165),
Helix job prefix `5ded47b7`, records pre-test `Add-AppxPackage` failures
for Controls-packaged `a000OR5` and Core-packaged `a000ORS`:
`0x80073CF0`, missing `AppxManifest`/`0x80070003`, raw console
lines59-60. These work items have no XML: their native cases are
**unmeasured**, not product-test failures or proof of an infrastructure
outage. Parent receipt: `files/cd-device-windows-165.log`.

The parent independently matched and ported already-validated isolated
#39529 commit prefix `f11b88966`, identical fixture blob
`132ef9846b52df6bf59b7fb29c1317a5c24d31cc`: one fixture file,25 added/13
removed lines, with a stronger real-later-reference-alive assertion.
There are no helper,40-GC, case or runtime changes. After validation,
this port was committed as `f26c935851d398ea5cb4e4415fbe0c2f0fa6e4e4`
and normally pushed **only to parent branch
`kubaflo-net11-promotion-compile-fixes`**. The #39779 counterpart
remains exactly `cd` to preserve ongoing native UI receipts; it has not
inherited this port. Historical `f8` successes below remain separate.

#### Parent-only GC port and manual validation scope

Native full Core Android Mono AOT rebuild after the port passed in96.94s
with6 existing warnings/0 errors, producing native APK ABIs. The
existing runner temporarily injected only the exact-class module
initializer; no injection was committed. Three fresh native Mono AOT
ARM64/API34 processes each passed the same9/9 cases with0
failures/skips, including both regression variants and seven safety
cases; these are three processes, not27 distinct tests. A fourth
post-push process passed the same9/9. The old ARM64/API34 AOT fixture
also passed9/9 in one explicit-instrumentation process, so **no local
baseline-red or isolated local causality is claimed**. The actual
published `cd` x64 Mono True-variant CI failure above and original
#39529 causal controls support the port; ARM64 local preservation does
not certify x64 or current PR CI.

Exact commands/results supplied by the parent:

```sh
PATH="$PWD/.dotnet:$PATH" DOTNET_ROOT="$PWD/.dotnet" UseMonoRuntime=true _DisableCheckForUnsupportedMonoMobileRuntime=true pwsh .github/skills/run-device-tests/scripts/Run-DeviceTests.ps1 -Project Core -Platform android -IncludeClasses Microsoft.Maui.DeviceTests.AssertionExtensionsTests -TestFilter Category=Memory -DeviceUdid emulator-5554 -Rebuild -BuildOnly -OutputDirectory /Users/kubaflo/.copilot/session-state/d595bf0b-ce58-4118-be08-7fe144955a64/files/gc-upstream-fixed-build
```

Passed full native Core rebuild96.94s,6 existing warnings/0 errors, Mono
AOT/native APK. Baseline used the identical build command without
`-BuildOnly`, with output directory `files/cd-gc-baseline`: build
passed, but the default runtime invocation printed Android AM
help/exit82 and produced no XML/no tests. That invocation is not native
acceptance, a crash or causal red.

```sh
for repeat in 1 2 3; do
 ./.dotnet/dotnet /Users/kubaflo/.nuget/packages/microsoft.dotnet.xharness.cli/11.0.0-prerelease.26517.1/tools/net11.0/any/Microsoft.DotNet.XHarness.CLI.dll android test --app artifacts/bin/Core.DeviceTests/Release/net11.0-android/com.microsoft.maui.core.devicetests-Signed.apk --package-name com.microsoft.maui.core.devicetests --instrumentation com.microsoft.maui.core.devicetests.TestInstrumentation --device-id emulator-5554 --output-directory "/Users/kubaflo/.copilot/session-state/d595bf0b-ce58-4118-be08-7fe144955a64/files/gc-fixed-$repeat" --timeout 00:05:00 --arg TestFilter=Category=Memory --arg "results-file-name=gc-fixed-$repeat.xml"
done
```

Each XHarness invocation exited0; each actual XML reports9/9 passed,0
failures/skips, exclusively the exact class. Post-push used the
identical single XHarness command without the loop, output directory
`files/gc-fixed-postpush` and `--arg
results-file-name=gc-fixed-postpush.xml`: exit0, actual XML9/9 passed.
The baseline explicit-instrumentation single command used
`files/cd-gc-baseline-explicit` and `--arg
results-file-name=cd-gc-baseline-explicit.xml`: old ARM64/API34 AOT
fixture9/9 passed, not local red.

- `./.dotnet/dotnet format Microsoft.Maui.sln --no-restore --include
src/Core/tests/DeviceTests/AssertionExtensionsTests.cs --exclude
Templates/src --exclude-diagnostics CA1822 --verbosity quiet` — passed.
- `git diff --check` — passed.
- `git hash-object
src/Core/tests/DeviceTests/AssertionExtensionsTests.cs` — returned
exactly `132ef9846b52df6bf59b7fb29c1317a5c24d31cc`, matching the
original upstream `f11` source blob.
- `az pipelines run --org https://dev.azure.com/dnceng-public --project
public --id 314 --branch
refs/heads/kubaflo-net11-promotion-compile-fixes` — admitted [manual
device1657552](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657552),
reason `manual`, exact
`sourceVersion=f26c935851d398ea5cb4e4415fbe0c2f0fa6e4e4`. Admission is
not a full native pass and is **not #39779 current CI**.

Only that fixture file was committed and parent-only pushed. Shared
helpers,40-GC behavior, cases, runtime, skips, production and APIs are
unchanged. Current `cd` device1657491 remains failed7/9 jobs; main/UI
remain running. No counterpart push or current-CI fix is claimed.

#### Latest correction and hosted evidence

The correction now includes `565`'s seven-line `eng/Build.props` change:
default `ProjectToBuild.RestoreInParallel=false` prevents
build-task-only and full restores from concurrently overwriting shared
assets evaluated for different target frameworks. Original `f8` Pack
Windows build1657400/raw log262/binlog prefix `8a3d7198` demonstrated
the `BuildTasksOnly` portable/full Package restore collision. Native
manual build1657433 Pack Windows/raw267 **succeeded with190 warnings/0
errors** on the `565` correction; after-binlog SHA
`133fbcbb3eac09bf0a97de3891791e5e2cbffcecd57d4c30bb322d5cff6294c5`,
ExecuteMSBuild task78, confirms `RestoreBuildInParallel=False`. Pack Mac
also succeeded. Local real restore passed in5.97s and post-push5.78s. No
pipeline tests or unproven stream-owner/source patches are included.
This scoped acceptance is not all-three-pipeline certification of `cd`.

**Current-head native packing acceptance:** on actual PR build1657489,
both Pack Windows and Pack macOS succeeded. The parent verified
`triggerInfo.pr.sourceSha=cd7a8cb8a21c8d798c9588da7ec86a3ae54379df`
using `az`. [Windows raw
log267](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657489/logs/267)
records `Build succeeded` at line2192,190 warnings at line2405 and0
errors at line2406, with packages published and `Finishing: Pack &
Publish`; receipt: parent `files/cd-native-windows-pack-267.log`. This
validates serialized restore on the actual current `cd` PR head, not
only the earlier isolated `565` manual run. Overall
main1657489/UI1657492 remain running and device1657491 completed
failed7/9 jobs; this is not an all-green claim. The new Windows
focused-state oracle now fails before the screenshot, as recorded below;
there is no native UI acceptance.

`cd7a8cb8a21` also updates only the Windows CancelButtonColor test and
its native expectation. All195 exact RGB differences between the old
expectation and native capture are confined to `FocusStatus`: old empty
text versus source-required `Focused`, with **zero differences outside
that label and an identical orange cancel-button rectangle**. Native AX
reports `HasKeyboardFocus=True`; the source Focused handler writes
`Focused`, and the test taps, clears and types `Testing`. A Windows-only
delayed assertion requires `Focused` before the screenshot (2s/100ms),
and only those195 label pixels are reconciled. Managed Windows UI-test
Release compilation passed with0 warnings/errors. The actual local old
comparer reported0.70%, whereas CI reported0.76%: these are **not
identical metrics**. The new expectation matches locally. No color,
comparison threshold, skip or CancelButtonColor production changes are
included.

**Current `cd` UI failure receipts:** Windows Shell2
[raw4404](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657492/logs/4404),
publisher4408/run46141148, exact result100193, fails the strict
`Focused` assertion with an empty label in both initial and retry
attempts **before the screenshot**. Complete197 results=183 passed+13
existing NotExecuted+1 failure; every other ShellSearch case passes,
including Uppercase. Fresh AX attachment3, prefix `caf50e45`,22176
bytes, shows Edit `AutomationId=TextBox`, `HasKeyboardFocus=True`, while
the `FocusStatus` TextBlock Name is empty. Thus there is no native
cancel-orange or new-golden acceptance: this is
focus-ownership/event-metadata divergence, not a visual-color fix. It
matches the peer `cc6248` line-owner-clear/new-focus-sync mechanism, but
that implementation is **not imported**; original corrected
native-fixture SHAs are awaited.

Latest iOS26.5 CoreCLR Shell1
[raw4463](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657492/logs/4463),
publisher4467/run46141232, has initial173 results=163 passed+6 existing
skips+4 same badge failures. All four failures were selected for
targeted retry; no retry acceptance is claimed. Unsupported badge probes
remain rejected, with no safe fix or badge-golden change. Overall
main/UI remain running and current `cd` devices remain failed7/9 jobs.

Latest exact commands/results from the parent session:

- `./build.sh -restore -ci -configuration Release -warnAsError false
/p:SkipInitInternalTooling=true /p:ValidateXcodeVersion=false
/bl:/Users/kubaflo/.copilot/session-state/d595bf0b-ce58-4118-be08-7fe144955a64/files/restore-race-after.binlog`
— passed after `565`,0 warnings/0 errors,5.97s.
- `./build.sh -restore -ci -configuration Release -warnAsError false
/p:SkipInitInternalTooling=true /p:ValidateXcodeVersion=false
/bl:/Users/kubaflo/.copilot/session-state/d595bf0b-ce58-4118-be08-7fe144955a64/files/restore-race-postpush.binlog`
— passed after publishing `565`,0 warnings/0 errors,5.78s.
- `./build.sh -restore -ci -configuration Release -warnAsError false
/p:SkipInitInternalTooling=true /p:ValidateXcodeVersion=false` — passed
after publishing `cd`,0 warnings/0 errors,7.83s.
- `./.dotnet/dotnet build
src/Controls/tests/TestCases.WinUI.Tests/Controls.TestCases.WinUI.Tests.csproj
-c Release -v:q` — passed before `cd`,0 warnings/0 errors,37.17s.
- `./.dotnet/dotnet build
src/Controls/tests/TestCases.WinUI.Tests/Controls.TestCases.WinUI.Tests.csproj
-c Release -v:q --no-restore` — passed after publishing `cd`,0
warnings/0 errors,22.04s. This is managed NUnit test compilation, not
Windows UI runtime acceptance.
- `./.dotnet/dotnet format whitespace Microsoft.Maui.sln --no-restore
--include
src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ShellSearchHandlerFeatureTests.cs
--verbosity quiet` — passed; three unrelated trailing-whitespace edits
were restored, leaving only five added C# lines.

Native `f8` device1657401 completed **all9/9 Helix jobs**:62 complete
XML reports,46,202 tests=44,980 passed+1,222 existing exclusions,0
failures/errors. Native Mac Entry raw4511/publisher4517/run46138420
completed121=118 passed+3 existing exclusions,0 failures; all four prior
failing targets passed. Native Mac CollectionView1
raw4182/publisher4185/run46137950 completed69=68 passed+1 existing
exclusion,0 failures on a fresh worker cohort. This recovers black
captures without establishing a cause or claiming a source black-capture
fix.

Windows CV1 raw4562/publisher4564/run46138612 completed355 final
results=341 passed+13 existing exclusions+1 real Horizontal Issue38059
failure; nine setup cases recovered. All13 updated expectations and
Issue36422's post-screenshot position assertion passed. The horizontal
capture still shows the wrong two vertical columns; its expectation is
not refreshed and no Windows handler patch is included. `f8` Shell2
Windows run46138102 failed CancelButtonColor at0.76% in both attempts
before the focused-label correction. `f8` iOS badge tests likewise
failed in both attempts with2.30%/2.31% differences. The native
source-required blue/green badge still renders red; the native API
limitation remains unresolved and unsafe probes were removed.

Initial `f8` main1657400 Pack failed as described above. Its Helix
Resizetizer `DebugColorizedWithNamed` had one DeleteTMP IO failure:
native796 results=793 passed+2 existing exclusions+1 failure. Debug
monitor303 resubmitted only the failed unchanged work item as
`6e8fd615-2895-4b7e-8c4c-cb58d1529722`; the monitor passed with0 failed
and uploaded339 logical results, **not a native result count**. The
parent has now verified native retry receipt
`files/f8-resizetizer-debug-retry-results.xml`:796=794 passed+2 existing
skips,0 failures/errors. Exact SVG test type
`Microsoft.Maui.Resizetizer.Tests.SkiaSharpSvgToolsTests+Resize`, method
`ColorizedWithNamedReturnsColored`, passed in0.3028857s; this is not the
same-named raster test. Source log303 confirms only one failed work item
was resubmitted with unchanged payload. This is historical `f8` native
recovery, not current `cd` CI certification. No speculative file-lock,
stream-owner, IO-lock source/infra attribution or Resizetizer source fix
is claimed. Fresh current `cd` main/UI remain running and device
completed failed; no current-head pass is claimed.

#### Earlier validation history (not current-head certification)

The preceding `f8f4e691aa9bdb689c24b2c2721d62ad6e157eb7` correction
repaired compilation and native-fixture routing, Android tab-icon tint,
strict UI retry recovery, SafeArea polling, scoped native11
expectations, the HTML history fixture's external-site dependency, and
Azure diagnostic-path length. That commit reconciled15 independently
reviewed native expectations and unfocused the Entry before resetting
fixture options. Its four related iPhone-simulator cases passed before
and after publication; the Catalyst app compiled. Native Mac acceptance
of the Entry candidate was pending at that checkpoint; the actual later
Entry run above now records acceptance.

On preceding `a5ac3382e87`, **maui-pr1657242 succeeded31/31**,
finishing2026-10-31T04:18:36UTC, and **maui-pr-devicetests1657251
succeeded9/9**, finishing04:11:27UTC. All62 actual native app/queue
reports were independently audited:46,202 tests=44,980 passed+1,222
existing exclusions,0 failures/errors. Two zero-selected Windows
FlexLayout reports are explicitly not passing measurements.
Source-pinned, unchanged-payload targeted retries recovered Android Mono
Essentials (exact424/424 x86), a Catalyst queue timeout where Core had
never executed, and a pre-test Windows MSIX deployment failure. No
speculative SDK/package/worker-cause fix is claimed.

Earlier correction907a also achieved **main1657009 succeeded31/31** and
**device1657010 succeeded with all nine source-log-correlated Helix jobs
complete and every work-item exit0**, including Windows Graphics
packaged/unpackaged. One Windows Release Resizetizer sharing violation
recovered through a targeted retry of only the failing work item with
unchanged payload; complete XML796=794 passed+2 original skips. No
unverified locking cause or speculative source fix is claimed.

The `f8f4e691aa9` validation runs were
[maui-pr1657400](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657400),
[device1657401](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657401),
and
[UI1657402](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1657402),
each admitted with the exact source SHA. Previous-head results are not
current-head certification or certification of this original promotion
source.

The correction retains original
[#39746](#39746) gesture commits and
[#39761](#39761) appearance-reset
implementation with direct-caller compatibility, preserving
ancestry/authorship. Combined native iPhone navigation/Shell/appearance
validation556/556 and post-push appearance16/16 pass; Android validation
includes143 native cases and four API30 UI cases. Existing
[#38445](#38445) Material3 callback
is wired into native Shell: API36 fixed2/2, callback-only revert1/2,
restored/post-push2/2. The bundled HTML history case passes, fails with
original history production behavior, passes after restoration, and
passes after publication. The Catalyst resource-path follow-up was
subsequently verified by actual hosted Mac WebView49/49, including
Issue30381 passed35s. These are scoped results, not cross-platform
certification.

At the earlier checkpoint UI still had genuine native Apple badge-color
failures, a Mac Picker return-to-root failure, Windows legacy
horizontal-layout replacement, and inconsistent Mac Entry editing-state
visuals. The final Mac CollectionView category on1657252 published69
initial results (41 passed,27 failed,1 existing exclusion) before its
retry was canceled at the job deadline. All27 failure identities and44
original diagnostic attachments were retained. Representative captures
were entirely black, including the full desktop, while AX still
contained grouped content and window geometry. These were not valid
golden updates or proof of a particular layout-loop cause. Later native
Entry and fresh-worker CollectionView results are recorded above; badge,
Picker and horizontal-layout repair are not certified.

Native badge getters can report the requested color while the bitmap
renders red; unsafe per-item/global workarounds and reproduction-only
changes were rejected and removed. No red-color baseline, tolerance
relaxation, mask or new skip is published. The incorrect Windows
Issue38059 horizontal-grid expectation and intermittent Mac Entry
goldens remain unchanged. Earlier Windows RTL corruption receipts
establish prior inconsistent rendering, not the current-head result or a
precise cause; its golden is not refreshed.

Real ordinary artifact publication for the bundled history follow-up
succeeded, but that is not proof that the longest407-to393-character
retry path was exercised. No such certification is claimed.

This PR's protected source remains
`e30e0542948ce84d5a574678e838e9a9aa2f26cd`; it inherits corrections only
after human-reviewed integration of #39779 into `net11.0`. No protected
PR has been merged or approved by this repair. Absent, partial and
older-head results are not passes.

Earlier prerequisite [#39713](#39713)
closed without merging and is not the active correction.
[#39673](#39673), which owned earlier
CV1 restorations, has merged. Native expectations are not certified by
borrowing cross-target oracles or weakening comparisons.

#### Latest parent-only publication and current native UI receipts

Parent branch `kubaflo-net11-promotion-compile-fixes` is now normally
pushed at `79eddf2b2d0dab4d4d7c4e5e26a2a2ee9856f2f5`, containing `f26`
GC plus original `cc6248` Windows focus production logic (8 lines) and
its corrected three-variant native fixture (final74 lines). This adds
only two new files/82 lines; no golden, SDK, shared-helper or tolerance
changes. The original corrected fixture trees were located publicly in
#39742 at `ff8f3461055c922d3cf5ad504bbd8a6d88dad42b` and
`ae09556e2a771a2a2a0c73292b6051a8b59c608f`. Retained peer build1657386
receipts cover all three variants in both package modes, but are
**upstream-scope evidence, not new combined-head acceptance or
CancelButtonColor certification**. The earlier not-imported wording
above describes the prior checkpoint; only the parent now contains the
focus port. #39779 counterpart and linked checkout remain exactly `cd`,
without this new port.

- `./.dotnet/dotnet format Microsoft.Maui.sln --no-restore --include
src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs
src/Controls/tests/DeviceTests/Elements/Shell/ShellTests.Windows.cs
--exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet`
— passed.
- `git diff --check` — passed.
- Historical combined `79` manual device1657568 Windows job
`2bb3c12a-e73a-4044-b592-b131972acf99` was created at09:41:16, matching
the exact Windows phase at09:39. Original Controls packaged and
unpackaged Shell XMLs each completed77/77 passed,0 skips/failures. Exact
`ShellTests.SearchHandlerFocusTracksDetachment` variants passed in both
modes: removal/refocus0.8307094s packaged and0.8259344s unpackaged;
replacement/refocus0.5663891s/0.5465569s;
disconnect0.4454088s/0.6898395s. Receipts: parent
`files/79-native-windows-packaged-Shell.xml` and
`files/79-native-windows-unpackaged-Shell.xml`. This is combined-`79`
native acceptance for all six focus oracles after the ported production
change—not merely upstream build1657386 evidence—but it is not current
`691` head/native/all-three-pipeline acceptance and does not execute the
new Uppercase assertion. Windows job-level `Finished` remains null: one
packaged MauiBlazorWebView work item (`a000OQ0`) is still running with
no files and console404, while the other nine apps plus the
administrative item exited0. Other app XMLs have not been fully audited,
so no10/10 certification, native hang/crash, or source-cause claim is
made; cached Shell-glob search returning0 is not a measurement, while
the authoritative49-file API listing supplied the original Shell XML
links. Historical combined-`79` CoreCLR retry
`dd84ab5e-00f0-4234-9b53-c07d5d6a5888` finished at10:20:53 with all five
apps plus admin exit0, but its actual retry XML audit remains pending,
so no full test counts are claimed. Catalyst Core OS26 remains
unmeasured after the prior cancellation; no overall `79` gate pass is
claimed.

Current `cd` Windows CV1
[raw4584](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657492/logs/4584),
publisher4586/run46141746, has initial355=332 passed+10 failed+13
existing skips. Nine setup failures recovered in the10-case targeted
retry (9 passed/1 failed); final355=341 passed+13 existing skips+1 exact
`Issue38059_UntemplatedHorizontalGridLayout` failure. All13 qualified
goldens and Issue36422's post-screenshot assertion pass. The incorrect
horizontal golden is not refreshed. Complete355-result JSON was retained
by the parent.

Current Catalyst Shell1
[raw4518](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657492/logs/4518),
publisher4520/run46141376, has initial148=144 passed+4 same badge
failures,0 skips; all four targeted retries fail. Complete148-result
JSON and the existing iOS26.5 complete173-result JSON were retained.
There is still no safe badge fix or badge-golden change. Main was29/31
jobs with remaining jobs running at the latest read, not a full-green
measurement; overall main/UI remain running and current `cd` devices
remain failed7/9 jobs. Parent-only/manual and upstream validation do not
certify this counterpart.

#### Hosted parent-only GC after-acceptance

On manual `f26` device1657552, Android Mono
[raw157](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657552/logs/157)
succeeded. Helix job `a0a8fd7d-fdd6-45aa-a092-3312e36053be`, Core work
item on worker `a000ADW`, produced [complete original native
XML](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-heads-kubaflo-net11-promotioa0a8fd7dfdd645aaa0/com.microsoft.maui.core.devicetests-Signed/1/testResults.xml?helixlogtype=result):3090=3018
passed+72 existing skips,0 failures/errors. The parent parsed original
bytes and reconciled declared/actual counts; receipt
`files/f26-native-android-mono-core-results.xml`. All nine
`AssertionExtensionsTests` pass: exact earlier-reference True
variant4.4212107s, False5.1103807s; retained-order
False8.5293263s/True8.3305855s; all null/empty controls pass.

Before `cd` Core on worker `a000ADL` was3090=3017 passed+72 existing
skips+1 True-variant failure4.999277s; after `f26` on `a000ADW` is the
complete native cohort above. This is hosted before/after cohort
evidence, **not an isolated native undo/revert control or full promotion
certification**. The parent completed the full native audit for source
`f26` manual device1657552, which **completed succeeded9/9**.
Across62/62 logical app reports,154 canonical original XMLs
declare46,202 tests=44,980 passed+1,222 existing skips+0
failures/errors, with every assembly-declared count reconciled. All71
individual work items—62 apps plus9 administrative items—finished with
exit0; administrative items are excluded from test totals. Azure
reports9/9 jobs complete and all11/11 individual Windows work items
complete, while Windows job-level `Finished` metadata remains
null/stale; this does **not** claim all nine job `Finished` fields. The
five-app Android Mono cohort remains Core3090=3018 passed+72 skips,
Controls1345=1332 passed+13 skips, Essentials424/424 passed,
Graphics33/33 passed, and Blazor68=64 passed+4 skips. Actual new Windows
packaged results are nonempty full-runtime XMLs: Controls1048=1015
passed+33 existing skips and Core2146=2035 passed+111 existing skips.
The earlier PRETEST Appx missing-manifest condition did not recur in
this `f26` cohort; no source, cause, package, worker, or
infrastructure-outage attribution is made. Receipts: parent
`files/f26-all-device-native-audit.json`,
`files/f26-all-device-native-audit-originals/`, and the earlier scoped
XML receipts. This certifies only the older `f26` GC native cohort—not
current `d673`, combined `79` focus repair, or all-three-pipeline
acceptance. Earlier8/9/Windows-running statements are historical
superseded checkpoints.

#### Latest combined-parent CoreCLR failure and bounded retry

On `79` manual1657568, Android CoreCLR
[raw141](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657568/logs/141),
Helix `833b315d-8390-4238-a247-f3dfe3e63c0f`, Controls worker `a000ADY`,
produced complete native XML1345=1331 passed+13 existing skips+1
failure. Exact
`HybridWebViewTests_ContentRootResolution.RootedPath_DoesNotResolve(path:
//content/page.html)` failed in26.2155066s at the25000ms
`WaitForHybridWebViewLoaded` **before the path oracle**. This is not
evidence of a rooted-path security failure, a product source bug or an
infrastructure outage. The parent audited all five actual app
XMLs:4960=4870 passed+89 existing skips+1 failure; Core3090=3018
passed+72 existing skips, with all nine GC-class cases passing;
Essentials424 passed; Graphics33 passed; Blazor68=64 passed+4 existing
skips. Receipts: parent `files/79-native-android-coreclr-*.xml`.

The `f26` CoreCLR comparison from
[raw149](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1657552/logs/149),
Helix `0b63b622-3b9b-47bf-a4ae-f9cdbd260854`, worker `a000ADU`,
exercised the same unchanged Android Controls logic: complete1345=1332
passed+13 existing skips,0 failures; exact same `//content/page.html`
case passed in0.452862s, as did all other rooted-path cases. Receipt:
parent `files/f26-native-android-coreclr-controls-results.xml`. No wait,
URL, SDK or source change was made.

One bounded CoreCLR stage retry was positively verified admitted as
attempt2 for stage ref `devicetests_android_coreclr`, stage ID
`ed3a755a-04c9-545d-584b-d7b617cca329` (previous attempt1), with
`forceRetryAllJobs=false`; recovery is pending. An initial
GUID-as-stage-ref PATCH returned empty CLI output but did not admit an
attempt according to the raw timeline; correcting the actual identifier
admitted attempt2. This is one effective retry, not multiple admitted
recoveries.

`az devops invoke --org https://dev.azure.com/dnceng-public --area build
--resource stages --route-parameters project=public buildId=1657568
stageRefName=devicetests_android_coreclr --http-method PATCH
--api-version 7.1 --in-file
/Users/kubaflo/.copilot/session-state/d595bf0b-ce58-4118-be08-7fe144955a64/files/retry-failed-helix-stage.json
-o none` — effective admission verified by actual stage attempt2;
request body `state=retry`, `forceRetryAllJobs=false`. This is not
native recovery, full combined-head acceptance, Windows focus acceptance
or promotion certification. Historical pending statements above are
checkpoints; this receipt updates only the combined-parent CoreCLR
failure and admitted pending retry. Counterpart and checkout remain
`cd`.

### 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. -->

Refs #39688, #38765, #38234, #30381, and reused implementations #39746,
#39761, #38445. This prerequisite does not auto-close an issue.

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

Copy link
Copy Markdown
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot 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.

Auto-approved automated inter-branch merge.

@kubaflo

kubaflo commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Retiring the obsolete main → net11.0 merge route after #39688 promoted .NET 11 to main. This PR has no file changes; future .NET 11 servicing work targets main. The .NET 10 SR13 release branch is unaffected.

@kubaflo kubaflo closed this Nov 2, 2026
auto-merge was automatically disabled November 2, 2026 10:32

Pull request was closed

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:32 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:36 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:36 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:36 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:36 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:36 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 10:43 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 9f07f6e7 Deployed Nov 2, 2026 by azure-pipelines[bot] via pre_activation #1778
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.

3 participants