Skip to content

[Testing] Enable metadata updates in Helix unit-test work items - #40252

Merged
kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-helix-hot-reload-coverage
Nov 14, 2026
Merged

kubaflo merged 1 commit into
candidate/11.0.1xx-sr2from
kubaflo-helix-hot-reload-coverage

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 14, 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!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

This is explicitly coordinated CI coverage repair for candidate/11.0.1xx-sr2, not an individual product servicing fix. It targets the authorized candidate lane and does not retarget or merge the release integration PR.

Description of Change

eng/helix.proj currently describes enabling real metadata updates, but supplies two singular HelixPreCommand items. The exact pinned Microsoft.DotNet.Helix.Sdk 11.0.0-beta.26559.106 consumes the plural HelixPreCommands property, not those items. The actual SourceGen work-item console in maui-pr build 1681299, source 77a87ed, contains the SDK environment exports but no metadata-update export: each audited SourceGen configuration reports 733 passed / 53 skipped / 0 failed.

The SDK creates separate child evaluations for each queue and resolves IsPosixShell in its targets import. Replace the ignored items with a BeforeTargets="CoreTest" target that appends the native command at execution time:

  • macOS/POSIX: export DOTNET_MODIFIABLE_ASSEMBLIES=debug
  • Windows/cmd: set DOTNET_MODIFIABLE_ASSEMBLIES=debug

The target only runs when HelixTargetQueue is populated, so the multi-queue parent does not evaluate an unresolved shell condition. Existing SDK precommands are preserved. The misleading cross-shell/no-op comment is corrected. No product code, test guards, tests, budgets, retry policies, or xharness configuration are changed. The existing discovery failure when metadata support is requested but unavailable remains intact.

Validation

All native runs use the exact CI CLI package 11.0.101-servicing.26559.106, SDK 11.0.101, CoreCLR 11.0.1, and the exact Helix xUnit console 2.9.3. Local execution is managed macOS 26.7 arm64, whereas the retained CI XML/console is macOS 15.7.1 arm64. The candidate head is dca0930; the SourceGen tests and managed runtime dependency sources have no differences from the recorded CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A full restore/build using the isolated pinned SDK encountered uninstalled iOS workloads; rebuilding the neutral managed test graph with the existing restored assets succeeded with the exact pinned SDK. This is not a claim that local Apple workloads or local Windows execution were validated; actual Windows Helix results are documented separately below.

Commands below use dotnet from the exact pinned SDK on PATH:

dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q

Both passed, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite work-item command, executed from each configuration's built payload. HELIX_CORRELATION_PAYLOAD points to the locally staged pinned CLI and xUnit runner, and HELIX_WORKITEM_ROOT to the built payload; the generated SDK environment precommands were executed before this command:

dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml

Complete Debug and Release suites each produced the following causal controls, without filters or test changes:

Environment control Passed Skipped Failed/errors
Metadata export absent, before 733 53 0
Generated metadata export enabled 816 0 0
Metadata export removed again 733 53 0
Metadata export restored 816 0 0

The removed controls deliberately omit only the metadata export and remove the inherited variable. They are missing-coverage controls, not baseline-red test failures. All 53 skipped identities and reasons match the exact retained CI XML. When enabled, those 53 gated methods expand into 83 passing cases because theory rows execute instead of being represented by one skipped theory. CSS 4, rude-edit 6, and Structural 17 cases all pass, including NewContentContainersWithNewContent_AppliesToExistingPage from #40231. Full Debug and Release runs repeated after pushing commit 087c6de again passed 816 / 0 skipped / 0 failed/errors each. This comparison preserves the 733 passing rows and 53 gated identities; it does not assert byte-identical raw display strings, because one truncated diagnostic display differs in escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check

All passed. macOS produces only the metadata export, Windows only the metadata set; both retain PATH, DOTNET_ROOT, telemetry, DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real CreateXUnitWorkItems target also generated the matching existing console command with its unchanged 5-minute work-item timeout. A temporary, uncommitted MSBuild inspection import captured the automatic CoreTest hook for both shells and the real multi-queue Windows child, then deliberately raised HELIXINSPECTION before SendHelixJob to prevent any manual submission. Those diagnostic stops are expected and are not successful CI runs.

Core unit-test preservation

Because the environment precommand applies to every unit work item, the existing complete Core.UnitTests suite was also executed with DOTNET_MODIFIABLE_ASSEMBLIES=debug using the same isolated pinned SDK/runtime and runner. Missing Core assets were restored for the neutral graph only, using existing command-line switches without changing repository configuration:

dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q

Restore and both builds passed, zero build warnings/errors. From each configuration's payload, with the generated SDK environment exports and DOTNET_MODIFIABLE_ASSEMBLIES=debug set, the invocation was:

dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"

CORE_RESULTS_XML denotes the retained per-configuration output path (core-debug-metadata-enabled.xml or core-release-metadata-enabled.xml). Debug and Release each passed all 1125 tests, with zero skips, failures, or assembly errors. The unchanged AppInfoSecureStorageReleasesDisposedPredecessor lifetime oracle passed in both. The existing Core Release runtime configuration explicitly disables MetadataUpdater.IsSupported; it was not overridden. That Release result proves preservation with the new environment export under the existing Core configuration, not native ApplyUpdate support for Core Release. No tests, budgets, guards, or retry settings were modified.

Actual macOS Helix CI evidence

maui-pr build 1681332 tested actual merge 0c8757a, whose parents are candidate dca0930 and this PR's immutable head 087c6de. The original work-item XMLs and consoles, audited at 2026-11-14 13:27 UTC, establish:

Completed macOS configuration Assembly Passed Skipped / failed / errors
Debug SourceGen.UnitTests 816 0 / 0 / 0
Release SourceGen.UnitTests 816 0 / 0 / 0
Debug Core.UnitTests 1125 0 / 0 / 0
Release Core.UnitTests 1125 0 / 0 / 0

Every audited original console contains export DOTNET_MODIFIABLE_ASSEMBLIES=debug. The original submit logs correlate log 198 / Debug with Helix job 43f2133d-88ea-4431-be6d-76d8f62866c7, and log 193 / Release with 85c1630e-55de-4ddc-9d89-43575259c3d5, both on osx.15.arm64.maui.open. The newly added #40231 container case and the unchanged AppInfo lifetime oracle pass in both actual macOS configurations. These are completed native CI work-item results, not inferred coverage or a pipeline-summary-only success claim.

Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same original build 1681332, at the same merge 0c8757a, also completed before the later human-requested cancellation. The original XMLs and consoles, independently audited at 2026-11-14 13:48 UTC, establish:

Completed Windows configuration Assembly Passed Skipped / failed / errors
Debug SourceGen.UnitTests 816 0 / 0 / 0
Release SourceGen.UnitTests 816 0 / 0 / 0
Debug Core.UnitTests 1125 0 / 0 / 0
Release Core.UnitTests 1125 0 / 0 / 0

All four original Windows consoles execute set DOTNET_MODIFIABLE_ASSEMBLIES=debug. The Debug Helix job 9578c3a7-fd82-425d-8e1c-3a6fb85be220 finished at 13:36:06 UTC, and Release job 0d43c781-0bec-4349-bea1-5b8074d0aecf at 13:33:19 UTC, both on windows.10.amd64.open. The #40231 NewContentContainersWithNewContent_AppliesToExistingPage case and unchanged AppInfoSecureStorageReleasesDisposedPredecessor lifetime oracle pass in both Windows configurations. All four Windows XML hashes and their original console metadata commands were checked against the retained evidence receipt.

Together with the earlier original macOS results, all four OS/configuration combinations—macOS Debug/Release and Windows Debug/Release—cover the intended SourceGen and Core change: SourceGen 816 passed and Core 1125 passed, with zero skips, failures, or assembly errors in each combination. This claim is limited to those eight completed work items, not the entire pipeline or other unit assemblies.

Human replacement run: completed full unit stage

maui-pr build 1681348, from the human-requested replacement wave, uses the same merge source 0c8757a. At the 2026-11-14 14:21 UTC evidence snapshot, all four unit Helix jobs and all 50 product work items had finished with exit code 0. The audit parsed all 50 original product unit-result XMLs, excluding the four controller items, and found no named test failures, assembly errors, per-file count discrepancies, or missing-result gaps.

The replacement build's own submit log 218 / Release correlates Windows job cfa56b1c-ead8-4842-b3a5-61481e75e375 and macOS job 3690b714-32d4-42b7-8ecb-0af5ef13b5a3; log 223 / Debug correlates Windows job 576750e6-3906-40a6-9b2d-d69394b3af9b and macOS job 3a371b92-feab-4d11-874f-6879297c7a0c. The Windows Release/Debug jobs finished at 14:10:06 / 14:12:11 UTC, and macOS Release/Debug at 14:01:21 / 14:01:41 UTC.

The eight replacement Core/SourceGen XMLs and original consoles independently reproduce the coverage result:

Replacement OS/configuration SourceGen passed Core passed Skipped / failed / errors, each assembly
Windows Release 816 1125 0 / 0 / 0
macOS Release 816 1125 0 / 0 / 0
Windows Debug 816 1125 0 / 0 / 0
macOS Debug 816 1125 0 / 0 / 0

Each original Windows console executes set DOTNET_MODIFIABLE_ASSEMBLIES=debug, and each macOS console executes export DOTNET_MODIFIABLE_ASSEMBLIES=debug. The #40231 container case and unchanged AppInfo lifetime oracle pass in every applicable replacement assembly. XML hashes, outcome counts, focal results, and original metadata commands were checked against the retained receipt. This extends the preservation evidence to the complete product unit stage, not only the selected Core/SourceGen assemblies.

The 50 figure counts product work items/XML artifacts, not unique tests. No aggregate unique-unit-test count is claimed: the historical raw-XML versus monitor counting basis remains unresolved. Existing skips in other unit assemblies remain recorded; the zero-skip statement above applies specifically to Core and SourceGen.

Remaining CI evidence and limits

The original overall Azure build 1681332 was canceled by the human-requested replacement wave. Its completed original work-item results remain valid evidence, but cancellation is not a full-pipeline pass. The replacement runs below use the same recorded merge source 0c8757a; their broader outcomes are distinct from the validated unit-precommand correction.

Main/integration — build 1681348: the 16:20 UTC completion audit confirms the exact-source maui-pr run completed SUCCEEDED, with all four stages successful. All 23 original integration-task summaries are now audited: 508 passed / 12 existing skipped / 0 failed, total 520 record executions. The final Run Integration Tests - Build windows task completed successfully on its original attempt, starting at 2026-11-14T14:25:57.2433333Z and finishing at 2026-11-14T15:55:39.5766667Z. Its original Azure log 1283 contains 119 physical lines; line 118 reports 146 passed / 2 existing skipped / 0 failed, total 148, matching the task's success. That final summary reconciles with the previous 22 own-log summaries to the complete integration result. The previously audited 50-product-work-item unit stage and all four Core/SourceGen configurations remain preserved. This establishes full maui-pr 1681348 success, not UI/device-test or whole replacement-wave clearance.

UI — build 1681349: the 15:13 UTC terminal audit covers all 129 task/publisher logs and their 129 per-run result sets. Final published records total 14907 Passed / 302 NotExecuted / 3 Failed across separate platform/category runs—not unique test methods. 23 eventually successful tasks retained 86 original failed records in the raw audit, and no originally failed method was dropped from the final published run membership. Existing retries are preserved; these final counts do not certify an initially all-green run.

The three final failed records are:

Platform Case Final evidence
MacCatalyst #21814 VerifyNavigationEventArgs Expected navigation-event text was empty
iOS #35490 NavigationPageChildContentExtendsUnderFloatingTabBar Floating-pill screenshot difference 1.66%
Android API 30 #5623 CollectionViewInfiniteScroll Original infinite-scroll timeout persisted

Candidate UI build 1681309 also failed the original #5623 case before its existing retry passed; the latest target result passed. This is evidence that the failure predates this unit-only configuration delta, not a reason to erase the current failed result. A separate bounded investigation reproduced the original NUnit infinite-scroll failure and is tracing the sample's default scroll-mode contract; no fix or causal certification is claimed. That local reproduction uses API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The remaining UI causes stay under investigation, not attributed to the metadata-precommand change without evidence.

Native/device — build 1681350: the 15:25 UTC audit covers all 61 available original XMLs from a 62-product-work-item inventory. Available record executions are 43976 Pass / 1057 existing Skip / 4 Fail, with zero assembly errors. The four failed records are the macOS 15 Mono MemoryTests.PagesDoNotLeakNavigationPage(False) and (True) cases, plus both Windows Border assertions. The same NavigationPage cases passed on the opposite OS and in the candidate control; their root cause remains unmatched, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, Core Tests, Helix job f0ebbdfe-68b9-4fbf-9080-d09c2508e125, machine dci-macm1-build-056: it was canceled before execution, with the artificial -1234 status and no XML. The original console explicitly says the work item did not run; this is not a native crash or a passing test result. The 15:26 UTC comparison confirms all 1057 available skip identities, reasons, and multiplicities match candidate build 1681310. The unexecuted Core work item remains a coverage gap; neither a complete native matrix nor a clean device-test result is claimed.

All UI/native/integration totals above are record executions in their stated scope, not aggregate unique tests. Full maui-pr build 1681348 success is verified; whole-CI or replacement-wave success is not claimed: the separate UI/native failures and unexecuted native Core coverage gap remain explicit. The coordinating maintainer session owns the existing investigations and manual CI/review requests. This evidence-only revision adds no source change, commit, push, queue, review reply, thread resolution, or review trigger.

The separate Pester scripts check remains failed. The PR run 43597847233 has 15 failures; all 15 failure names and the compared key assertion messages match unchanged candidate run 43594456779 at dca0930. Those failures predate this one-file Helix correction; no Pester tests were edited, skipped, or weakened to conceal them. This attribution does not turn the failed check green.

Upstream open/recently merged PR searches by HelixPreCommands, DOTNET_MODIFIABLE_ASSEMBLIES, and helix.proj found no duplicate configuration correction.

Issues Fixed

Relates to #40116. Restores the intended Hot Reload coverage while validating that candidate; does not close its release integration tracking PR.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

@kubaflo

kubaflo commented Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

/rebase

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@MauiBot

MauiBot commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026

@github-actions github-actions 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.

Expert Review — 1 finding

Reviewed commit 087c6de.

See inline comments for details.

Comment thread eng/helix.proj
<HelixPreCommand Include="export DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
<HelixPreCommand Include="set DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
</ItemGroup>
<Target Name="EnableHotReloadMetadataUpdates" BeforeTargets="CoreTest" Condition="'$(HelixTargetQueue)' != ''">

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.

[moderate] Regression Prevention and Test Coverage - The original missing-export failure still has no committed regression oracle. If the metadata precommand is omitted from a generated work item, MetadataUpdateRequirements returns SkipMessage when the environment variable is absent; its existing unit test explicitly accepts that result, so the hot-reload tests skip rather than fail. The infrastructure tests in eng/pipelines/ci.Tests.ps1 exercise payload staging, not this target or the generated precommands. The documented manual enabled/removed controls demonstrate the scenario but do not protect subsequent changes. Add an infrastructure regression test covering Windows/cmd and macOS/bash command generation through the CoreTest hook, preserving existing precommands and checking that the empty-queue parent does not evaluate the shell branches; it should fail with the original ignored HelixPreCommand items.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You're right that the existing metadata-support guard is not a committed oracle for the Helix configuration. I'm keeping that limitation explicit rather than adding pipeline/configuration tests, which are outside the maintainer's requested scope for this work.

The correction has been checked through the pinned SDK's actual CoreTest hook and generated Windows/POSIX precommands, with the empty-queue parent guarded out. Real Helix Debug/Release results on both Windows and macOS now contain the native metadata export and pass all 816 SourceGen cases with zero skips; the original configuration skipped 53 gated methods, which expand into 83 executed cases. The unchanged Core suites also pass 1,125/1,125 in all four configurations. No test guards, filters, timeouts or retry budgets were changed.

Leaving this thread open for the maintainer's decision about the remaining long-term configuration-test coverage.

Auto-replied by the GitHub Copilot app

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026
@MauiBot

MauiBot commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026

@github-actions github-actions 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.

Expert Review — 1 finding

Reviewed commit 087c6de.

See inline comments for details.

Comment thread eng/helix.proj
<HelixPreCommand Include="export DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
<HelixPreCommand Include="set DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
</ItemGroup>
<Target Name="EnableHotReloadMetadataUpdates" BeforeTargets="CoreTest" Condition="'$(HelixTargetQueue)' != ''">

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.

[moderate] Regression Prevention and Test Coverage - The original missing-export failure still has no committed regression oracle. If the generated work item omits DOTNET_MODIFIABLE_ASSEMBLIES, MetadataUpdateRequirements returns SkipMessage when metadata updates are unsupported; MetadataUpdateFactAttributeTests explicitly accepts that result, so the hot-reload cases skip rather than fail. eng/pipelines/ci.Tests.ps1 tests payload staging, not this CoreTest hook or generated precommands. Add a committed infrastructure test covering Windows/cmd and macOS/POSIX command generation through CoreTest, preservation of existing precommands, and the empty-queue parent with IsPosixShell unset. It should fail with the original ignored HelixPreCommand items; the documented manual controls do not protect subsequent changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is the same long-term configuration-test gap discussed in the earlier thread. The maintainer's requested scope excludes pipeline/configuration tests, so I haven't added that oracle or weakened the metadata-support guard. The actual CoreTest hook and complete Windows/macOS Debug/Release SourceGen runs are verified, but that runtime evidence isn't a committed regression test. Leaving this open for the maintainer's scope decision.

Auto-replied by the GitHub Copilot app

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026
@MauiBot

MauiBot commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification; Setup did not capture a tested commit.

Result INCONCLUSIVE Platform Android


🧪 Gate analysis — click to expand

⚠ Inconclusive. Setup, build, or execution did not produce a conclusive result. This does not prove the fix is incorrect.

No interpretable test-group summary was produced. No additional test execution is inferred.

Setup did not capture a verified PR head; no commit is claimed as tested.

No immutable without-fix baseline was prepared.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 14, 2026

@github-actions github-actions 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.

Expert Review — 1 finding

Reviewed commit 087c6de.

See inline comments for details.

Comment thread eng/helix.proj
<HelixPreCommand Include="export DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
<HelixPreCommand Include="set DOTNET_MODIFIABLE_ASSEMBLIES=debug" />
</ItemGroup>
<Target Name="EnableHotReloadMetadataUpdates" BeforeTargets="CoreTest" Condition="'$(HelixTargetQueue)' != ''">

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.

[moderate] Regression Prevention and Test Coverage - The original missing-export failure still has no committed regression oracle. If the generated work item omits DOTNET_MODIFIABLE_ASSEMBLIES and metadata updates are unsupported, MetadataUpdateRequirements returns SkipMessage; MetadataUpdateFactAttributeTests explicitly accepts that result, so the hot-reload cases skip rather than fail. eng/pipelines/ci.Tests.ps1 tests payload staging, not this CoreTest hook or generated precommands. Add a committed infrastructure test covering Windows/cmd and macOS/POSIX command generation through CoreTest, preservation of existing precommands, and the empty-queue parent with IsPosixShell unset. It should fail with the original ignored HelixPreCommand items; the documented manual controls do not protect subsequent changes.

@kubaflo
kubaflo merged commit 7b06578 into candidate/11.0.1xx-sr2 Nov 14, 2026
181 of 191 checks passed
@kubaflo
kubaflo deleted the kubaflo-helix-hot-reload-coverage branch November 14, 2026 18:40
kubaflo added a commit that referenced this pull request Nov 14, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 16, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 17, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 17, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 18, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 19, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 19, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 22, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 22, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 23, 2026
<!-- 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!

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from #40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added #40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The #40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The #40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | #21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | #35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | #5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original #5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to #40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo added a commit that referenced this pull request Nov 23, 2026
…ng (#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. #40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified #39491 and #40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in #40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both #31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the #12060 and #28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: #21814 receives an empty
navigation-event string, and #23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to #40116, #39491, and #40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 24, 2026
KarthikRajaKalaimani pushed a commit to KarthikRajaKalaimani/maui that referenced this pull request Nov 26, 2026
…et#40252)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated CI coverage repair for
`candidate/11.0.1xx-sr2`, not an individual product servicing fix. It
targets the authorized candidate lane and does not retarget or merge the
release integration PR.

### Description of Change

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

`eng/helix.proj` currently describes enabling real metadata updates, but
supplies two singular `HelixPreCommand` items. The exact pinned
`Microsoft.DotNet.Helix.Sdk` **11.0.0-beta.26559.106** consumes the
plural **`HelixPreCommands` property**, not those items. The actual
SourceGen work-item console in maui-pr build **1681299**, source
**77a87edc03aa2728d7e0a51050da0e424a82c801**, contains the SDK
environment exports but no metadata-update export: each audited
SourceGen configuration reports **733 passed / 53 skipped / 0 failed**.

The SDK creates separate child evaluations for each queue and resolves
`IsPosixShell` in its targets import. Replace the ignored items with a
`BeforeTargets="CoreTest"` target that appends the native command at
execution time:

- macOS/POSIX: `export DOTNET_MODIFIABLE_ASSEMBLIES=debug`
- Windows/cmd: `set DOTNET_MODIFIABLE_ASSEMBLIES=debug`

The target only runs when `HelixTargetQueue` is populated, so the
multi-queue parent does not evaluate an unresolved shell condition.
Existing SDK precommands are preserved. The misleading cross-shell/no-op
comment is corrected. No product code, test guards, tests, budgets,
retry policies, or xharness configuration are changed. The existing
discovery failure when metadata support is requested but unavailable
remains intact.

#### Validation

All native runs use the **exact CI CLI package
`11.0.101-servicing.26559.106`**, SDK **11.0.101**, CoreCLR **11.0.1**,
and the exact Helix xUnit console **2.9.3**. Local execution is
**managed macOS 26.7 arm64**, whereas the retained CI XML/console is
**macOS 15.7.1 arm64**. The candidate head is
**dca0930d7167052b18c0fa25b1995fa416c2bb06**; the SourceGen tests and
managed runtime dependency sources have no differences from the recorded
CI merge above.

Dependencies were initially restored using the available SDK 11.0.100. A
full restore/build using the isolated pinned SDK encountered uninstalled
iOS workloads; rebuilding the neutral managed test graph with the
existing restored assets succeeded with the exact pinned SDK. This is
not a claim that local Apple workloads or local Windows execution were
validated; actual Windows Helix results are documented separately below.

Commands below use `dotnet` from the exact pinned SDK on PATH:

```sh
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Controls/tests/SourceGen.UnitTests/SourceGen.UnitTests.csproj -c Release --no-restore -v:q
```

**Both passed**, zero warnings/errors.

The exact pinned SDK generated the following existing full-suite
work-item command, executed from each configuration's built payload.
`HELIX_CORRELATION_PAYLOAD` points to the locally staged pinned CLI and
xUnit runner, and `HELIX_WORKITEM_ROOT` to the built payload; the
generated SDK environment precommands were executed before this command:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.Controls.SourceGen.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.Controls.SourceGen.UnitTests.deps.json $HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll Microsoft.Maui.Controls.SourceGen.UnitTests.dll -nocolor -xml testResults.xml
```

**Complete Debug and Release suites each produced the following causal
controls**, without filters or test changes:

| Environment control | Passed | Skipped | Failed/errors |
| --- | ---: | ---: | ---: |
| Metadata export absent, before | 733 | 53 | 0 |
| Generated metadata export enabled | 816 | 0 | 0 |
| Metadata export removed again | 733 | 53 | 0 |
| Metadata export restored | 816 | 0 | 0 |

The removed controls deliberately omit only the metadata export and
remove the inherited variable. They are **missing-coverage controls, not
baseline-red test failures**. All 53 skipped identities and reasons
match the exact retained CI XML. When enabled, those 53 gated methods
expand into **83 passing cases** because theory rows execute instead of
being represented by one skipped theory. CSS **4**, rude-edit **6**, and
Structural **17** cases all pass, including
`NewContentContainersWithNewContent_AppliesToExistingPage` from dotnet#40231.
Full Debug and Release runs repeated **after pushing commit
087c6de** again passed **816 / 0
skipped / 0 failed/errors each**. This comparison preserves the 733
passing rows and 53 gated identities; it does not assert byte-identical
raw display strings, because one truncated diagnostic display differs in
escaped CRLF/LF presentation.

Pinned-SDK shell configuration inspection commands:

```sh
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=osx.15.arm64.maui.open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
dotnet msbuild eng/helix.proj -nologo -p:HelixTargetQueue=Windows.10.Amd64.Open -t:EnableHotReloadMetadataUpdates,AddDotNetSdk -getProperty:HelixPreCommands,IsPosixShell,DotNetCliPackageUri
xmllint --noout eng/helix.proj
git diff --check
```

**All passed.** macOS produces only the metadata `export`, Windows only
the metadata `set`; both retain PATH, DOTNET_ROOT, telemetry,
DOTNET_CLI_HOME and NUGET_PACKAGES setup. The SDK's real
`CreateXUnitWorkItems` target also generated the matching existing
console command with its unchanged **5-minute work-item timeout**. A
temporary, uncommitted MSBuild inspection import captured the automatic
`CoreTest` hook for both shells and the real multi-queue Windows child,
then deliberately raised `HELIXINSPECTION` before `SendHelixJob` to
prevent any manual submission. Those diagnostic stops are expected and
are **not successful CI runs**.

#### Core unit-test preservation

Because the environment precommand applies to every unit work item, the
existing **complete Core.UnitTests suite** was also executed with
`DOTNET_MODIFIABLE_ASSEMBLIES=debug` using the same isolated pinned
SDK/runtime and runner. Missing Core assets were restored for the
neutral graph only, using existing command-line switches without
changing repository configuration:

```sh
dotnet restore src/Core/tests/UnitTests/Core.UnitTests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Debug --no-restore -v:q
dotnet build src/Core/tests/UnitTests/Core.UnitTests.csproj -c Release --no-restore -v:q
```

**Restore and both builds passed**, zero build warnings/errors. From
each configuration's payload, with the generated SDK environment exports
and `DOTNET_MODIFIABLE_ASSEMBLIES=debug` set, the invocation was:

```sh
dotnet exec --roll-forward Major --runtimeconfig Microsoft.Maui.UnitTests.runtimeconfig.json --depsfile Microsoft.Maui.UnitTests.deps.json "$HELIX_CORRELATION_PAYLOAD/xunit-runner/tools/netcoreapp2.0/xunit.console.dll" Microsoft.Maui.UnitTests.dll -nocolor -xml "$CORE_RESULTS_XML"
```

`CORE_RESULTS_XML` denotes the retained per-configuration output path
(`core-debug-metadata-enabled.xml` or
`core-release-metadata-enabled.xml`). **Debug and Release each passed
all 1125 tests, with zero skips, failures, or assembly errors.** The
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle passed in both. The existing Core Release runtime configuration
explicitly disables `MetadataUpdater.IsSupported`; it was **not
overridden**. That Release result proves preservation with the new
environment export under the existing Core configuration, not native
`ApplyUpdate` support for Core Release. No tests, budgets, guards, or
retry settings were modified.

#### Actual macOS Helix CI evidence

[**maui-pr build
1681332**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681332)
tested actual merge **0c8757a1b473baf188da41f8bd9e7d0309030cea**, whose
parents are candidate **dca0930d7167052b18c0fa25b1995fa416c2bb06** and
this PR's immutable head **087c6defdce25f1c4c3107a85a73ee73982af158**.
The original work-item XMLs and consoles, audited at **2026-11-14 13:27
UTC**, establish:

| Completed macOS configuration | Assembly | Passed | Skipped / failed /
errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

Every audited original console contains **`export
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The original submit logs
correlate **log 198 / Debug** with Helix job
**43f2133d-88ea-4431-be6d-76d8f62866c7**, and **log 193 / Release** with
**85c1630e-55de-4ddc-9d89-43575259c3d5**, both on
`osx.15.arm64.maui.open`. The newly added dotnet#40231 container case and the
unchanged AppInfo lifetime oracle **pass in both actual macOS
configurations**. These are completed native CI work-item results, not
inferred coverage or a pipeline-summary-only success claim.

#### Actual Windows Helix CI evidence

The previously waiting Windows SourceGen and Core work items in the same
original build **1681332**, at the same merge
**0c8757a1b473baf188da41f8bd9e7d0309030cea**, also completed **before
the later human-requested cancellation**. The original XMLs and
consoles, independently audited at **2026-11-14 13:48 UTC**, establish:

| Completed Windows configuration | Assembly | Passed | Skipped / failed
/ errors |
| --- | --- | ---: | --- |
| Debug | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Release | SourceGen.UnitTests | 816 | 0 / 0 / 0 |
| Debug | Core.UnitTests | 1125 | 0 / 0 / 0 |
| Release | Core.UnitTests | 1125 | 0 / 0 / 0 |

All four original Windows consoles execute **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The Debug Helix job
**9578c3a7-fd82-425d-8e1c-3a6fb85be220** finished at **13:36:06 UTC**,
and Release job **0d43c781-0bec-4349-bea1-5b8074d0aecf** at **13:33:19
UTC**, both on `windows.10.amd64.open`. The dotnet#40231
`NewContentContainersWithNewContent_AppliesToExistingPage` case and
unchanged `AppInfoSecureStorageReleasesDisposedPredecessor` lifetime
oracle **pass in both Windows configurations**. All four Windows XML
hashes and their original console metadata commands were checked against
the retained evidence receipt.

Together with the earlier original macOS results, **all four
OS/configuration combinations—macOS Debug/Release and Windows
Debug/Release—cover the intended SourceGen and Core change**: SourceGen
**816 passed** and Core **1125 passed**, with **zero skips, failures, or
assembly errors in each combination**. This claim is limited to those
eight completed work items, not the entire pipeline or other unit
assemblies.

#### Human replacement run: completed full unit stage

[**maui-pr build
1681348**](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348),
from the human-requested replacement wave, uses the **same merge source
0c8757a**. At the **2026-11-14 14:21
UTC** evidence snapshot, all four unit Helix jobs and **all 50 product
work items had finished with exit code 0**. The audit parsed **all 50
original product unit-result XMLs**, excluding the four controller
items, and found **no named test failures, assembly errors, per-file
count discrepancies, or missing-result gaps**.

The replacement build's own submit **log 218 / Release** correlates
Windows job **cfa56b1c-ead8-4842-b3a5-61481e75e375** and macOS job
**3690b714-32d4-42b7-8ecb-0af5ef13b5a3**; **log 223 / Debug** correlates
Windows job **576750e6-3906-40a6-9b2d-d69394b3af9b** and macOS job
**3a371b92-feab-4d11-874f-6879297c7a0c**. The Windows Release/Debug jobs
finished at **14:10:06 / 14:12:11 UTC**, and macOS Release/Debug at
**14:01:21 / 14:01:41 UTC**.

The eight replacement Core/SourceGen XMLs and original consoles
independently reproduce the coverage result:

| Replacement OS/configuration | SourceGen passed | Core passed |
Skipped / failed / errors, each assembly |
| --- | ---: | ---: | --- |
| Windows Release | 816 | 1125 | 0 / 0 / 0 |
| macOS Release | 816 | 1125 | 0 / 0 / 0 |
| Windows Debug | 816 | 1125 | 0 / 0 / 0 |
| macOS Debug | 816 | 1125 | 0 / 0 / 0 |

Each original Windows console executes **`set
DOTNET_MODIFIABLE_ASSEMBLIES=debug`**, and each macOS console executes
**`export DOTNET_MODIFIABLE_ASSEMBLIES=debug`**. The dotnet#40231 container
case and unchanged AppInfo lifetime oracle pass in every applicable
replacement assembly. XML hashes, outcome counts, focal results, and
original metadata commands were checked against the retained receipt.
This extends the preservation evidence to the **complete product unit
stage**, not only the selected Core/SourceGen assemblies.

The **50** figure counts product work items/XML artifacts, **not unique
tests**. No aggregate unique-unit-test count is claimed: the historical
raw-XML versus monitor counting basis remains unresolved. Existing skips
in other unit assemblies remain recorded; the zero-skip statement above
applies specifically to Core and SourceGen.

#### Remaining CI evidence and limits

The original overall Azure build **1681332 was canceled by the
human-requested replacement wave**. Its completed original work-item
results remain valid evidence, but cancellation is **not a full-pipeline
pass**. The replacement runs below use the same recorded merge source
**0c8757a1b473baf188da41f8bd9e7d0309030cea**; their broader outcomes are
distinct from the validated unit-precommand correction.

**Main/integration — [build
1681348](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681348):**
the **16:20 UTC** completion audit confirms the exact-source `maui-pr`
run **completed SUCCEEDED, with all four stages successful**. All **23
original integration-task summaries** are now audited: **508 passed / 12
existing skipped / 0 failed, total 520 record executions**. The final
`Run Integration Tests - Build windows` task completed successfully on
its original attempt, starting at **2026-11-14T14:25:57.2433333Z** and
finishing at **2026-11-14T15:55:39.5766667Z**. Its original Azure **log
1283 contains 119 physical lines**; line 118 reports **146 passed / 2
existing skipped / 0 failed, total 148**, matching the task's success.
That final summary reconciles with the previous 22 own-log summaries to
the complete integration result. The previously audited
**50-product-work-item unit stage** and all four Core/SourceGen
configurations remain preserved. This establishes full **`maui-pr`
1681348 success**, not UI/device-test or whole replacement-wave
clearance.

**UI — [build
1681349](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681349):**
the **15:13 UTC** terminal audit covers **all 129 task/publisher logs
and their 129 per-run result sets**. Final published records total
**14907 Passed / 302 NotExecuted / 3 Failed** across separate
platform/category runs—not unique test methods. **23 eventually
successful tasks retained 86 original failed records** in the raw audit,
and no originally failed method was dropped from the final published run
membership. Existing retries are preserved; these final counts do not
certify an initially all-green run.

The three final failed records are:

| Platform | Case | Final evidence |
| --- | --- | --- |
| MacCatalyst | dotnet#21814 `VerifyNavigationEventArgs` | Expected
navigation-event text was empty |
| iOS | dotnet#35490 `NavigationPageChildContentExtendsUnderFloatingTabBar` |
Floating-pill screenshot difference 1.66% |
| Android API 30 | dotnet#5623 `CollectionViewInfiniteScroll` | Original
infinite-scroll timeout persisted |

Candidate UI build **1681309** also failed the original dotnet#5623 case
before its existing retry passed; the latest target result passed. This
is evidence that the failure predates this unit-only configuration
delta, not a reason to erase the current failed result. A separate
bounded investigation reproduced the original NUnit infinite-scroll
failure and is tracing the sample's default scroll-mode contract; **no
fix or causal certification is claimed**. That local reproduction uses
API 30 ARM64/.NET 11 GA rather than CI's x64 servicing runtime. The
remaining UI causes stay under investigation, not attributed to the
metadata-precommand change without evidence.

**Native/device — [build
1681350](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681350):**
the **15:25 UTC** audit covers **all 61 available original XMLs** from a
**62-product-work-item inventory**. Available record executions are
**43976 Pass / 1057 existing Skip / 4 Fail**, with **zero assembly
errors**. The four failed records are the macOS 15 Mono
`MemoryTests.PagesDoNotLeakNavigationPage(False)` and `(True)` cases,
plus both Windows Border assertions. The same NavigationPage cases
passed on the opposite OS and in the candidate control; their root cause
remains **unmatched**, not proven to be caused by this metadata fix.

The missing native result is MacCatalyst CoreCLR on macOS 26, `Core
Tests`, Helix job **f0ebbdfe-68b9-4fbf-9080-d09c2508e125**, machine
**dci-macm1-build-056**: it was **canceled before execution**, with the
artificial **-1234** status and **no XML**. The original console
explicitly says the work item did not run; this is **not a native crash
or a passing test result**. The **15:26 UTC** comparison confirms all
**1057 available skip identities, reasons, and multiplicities match
candidate build 1681310**. The unexecuted Core work item remains a
coverage gap; neither a complete native matrix nor a clean device-test
result is claimed.

All UI/native/integration totals above are **record executions in their
stated scope**, not aggregate unique tests. **Full `maui-pr` build
1681348 success is verified; whole-CI or replacement-wave success is not
claimed**: the separate UI/native failures and unexecuted native Core
coverage gap remain explicit. The coordinating maintainer session owns
the existing investigations and manual CI/review requests. This
evidence-only revision adds no source change, commit, push, queue,
review reply, thread resolution, or review trigger.

The separate **Pester scripts** check remains failed. The [PR run
43597847233](https://github.com/dotnet/maui/actions/runs/43597847233)
has **15 failures**; all 15 failure names and the compared key assertion
messages match [unchanged candidate run
43594456779](https://github.com/dotnet/maui/actions/runs/43594456779) at
**dca0930d7167052b18c0fa25b1995fa416c2bb06**. Those failures predate
this one-file Helix correction; no Pester tests were edited, skipped, or
weakened to conceal them. This attribution does not turn the failed
check green.

Upstream open/recently merged PR searches by `HelixPreCommands`,
`DOTNET_MODIFIABLE_ASSEMBLIES`, and `helix.proj` found no duplicate
configuration correction.

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

Relates to dotnet#40116. Restores the intended Hot Reload coverage while
validating that candidate; does not close its release integration
tracking PR.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
KarthikRajaKalaimani pushed a commit to KarthikRajaKalaimani/maui that referenced this pull request Nov 26, 2026
…ng (dotnet#40258)

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

<!--
Open .NET 11 fix PRs against net11 for review; target main for
next-major features.
After approval, a maintainer manually retargets the fix PR to the active
inflight
branch and merges it directly there. Do not merge individual fixes into
net11.
Bots must not retarget or merge. Candidate integration into net11 and
release/*
changes are separate, explicitly coordinated release work.
-->

### Target Branch

| This PR is for | Initial base |
| --- | --- |
| New features, API changes, or .NET 12 work (including .NET 12 fixes) |
`main` |
| .NET 11 servicing fixes | `net11`, for review |
| Older servicing, release integration, infrastructure, or documentation
| The branch designated for that work |

- [x] I selected the applicable base branch using the [contribution
guide](https://github.com/dotnet/maui/blob/main/.github/CONTRIBUTING.md#choose-your-pr-base-before-starting).

For .NET 11 fixes, only a maintainer retargets the approved PR to the
active
inflight lane and merges it after CI validates that final base. Do not
merge
individual fixes directly into `net11`; agents must not retarget or
merge.

This is explicitly coordinated candidate-validation work targeting
`candidate/11.0.1xx-sr2`, based on
`dca0930d7167052b18c0fa25b1995fa416c2bb06`. No merge, retarget, rebase,
or manual CI/review request is included.

### Description of Change

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

Make the `Github5623` incremental-loading sample explicitly use
`KeepScrollOffset`. Its implicit `KeepItemsInView` default now
intentionally scrolls to the first item after an insertion (dotnet#39491).
That behavior is correct for that mode, but inappropriate for this
sample's continuous user scrolling through asynchronously appended
pages. dotnet#40227's documented first-item contract and the production
implementation remain intact.

The original API30 `Github5623(Android).CollectionViewInfiniteScroll`
oracle reproduced the candidate timeout at
`AppiumTouchActions.ScrollTo:333` / original test line 27. Separate
native diagnostics observed successful page appends `10 -> 20 -> 30 ->
40`, each immediately followed by a native zero-delta callback with the
first cell back at index 0/top 0. These rewinds explain the large
cumulative managed scroll offset despite low visible indexes.
Temporarily removing that native rewind as a **diagnostic control only**
eliminated the resets. The native control and all diagnostic code were
then restored and hash-verified before committing.

The committed change is exactly one XAML attribute. The original NUnit
method, discovery of item `12` by actual user gestures, random 20-319
item heights, `MeasureAllItems`, threshold 25, initial/page size 10,
loading implementation, original 15-second `ScrollTo` deadline, waits,
assertions, retries, categories, and screenshots are unchanged. This is
a sample contract correction, not a production rollback or a weakened
test.

Upstream open/recently merged PR searches covered `Github5623`, infinite
scrolling, `KeepItemsInView`, and `KeepScrollOffset`, together with the
exact sample file history. They identified dotnet#39491 and dotnet#40227 but no
competing sample repair.

**Native evidence**

Used one task-owned API30 Google APIs ARM64 Nexus 5X emulator, 1080x1920
at 420 dpi, with .NET SDK 11.0.100/runtime 11.0.0, source-built Release
HostApp, embedded assemblies, and the original Android NUnit assembly.
Appium transport alone was adapted locally to private ports
4793/8293/7893 and the owned emulator; that adaptation is not committed.
No physical Apple device or host macOS XCTest automation was used.

| Phase | Actual cases | Result |
| --- | --- | --- |
| Unchanged original sample/oracle | 1 | Failed: exact scrolling-to-12
timeout, 18.233251 s |
| Instrumented native trigger-removal control, not the published fix | 1
| Passed, 7.563766 s; appends retained without rewind |
| Non-instrumented sample-only fix | 3 | Passed: 10.791304 / 8.946879 /
8.947579 s |
| Revert only the sample attribute, restore and rebuild original sources
| 1 | Failed: same scrolling-to-12 timeout, 17.930881 s |
| Restore fix, rebuild immutable
`026e646e5f820804ca655813a9a5c0e83e40e115` | 3 | Passed: 8.922002 /
11.637289 / 10.590518 s |
| Unchanged original `TestCategory=CollectionView2` selector on that
pushed immutable head | 77 | **77 passed, 0 failed, 0 skipped**;
original infinite-scroll case passed in 7.278173 s |

Raw TRX and NUnit XML were checked independently and retained for every
invocation. A separate diagnostic run with the original rewind still
enabled passed in 16.054472 s and is **not** counted as a
non-instrumented baseline pass. Five initial zero-test selector
invocations and one Appium argument-quoting setup failure are retained
separately; none establishes an original-oracle outcome.

Immutable-head APK SHA-256:
`1b3cf5c30f5c001919874e540f52183cf41d346a4b7b2bcfa8ab4b1cd687b9f8`.

**Limits:** the local causal chain proves the sample repair on API30
ARM64/.NET 11 GA, and the completed exact-source API30 CI suite below
now supplies CI-servicing confirmation for the original 77-case Android
suite. Other-platform and whole-pipeline clearance are not claimed. The
supplied newest exact-target CI case was green; this PR does not claim
that the latest target was red or that the unrelated managed-unit
correction caused the failure. Candidate-wide CI remains
parent-coordinated.

**CI validation and remaining limits (2026-11-14 UTC snapshot)**

The live PR remains at head `026e646e5f820804ca655813a9a5c0e83e40e115`,
candidate base `dca0930d7167052b18c0fa25b1995fa416c2bb06`, and synthetic
merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. The human-issued
review, rebase, and pipeline requests on November 14 did not change
those source identities.

The earlier [maui-pr
1681455](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681455)
and [maui-pr-uitests
1681457](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681457)
were **canceled**, not complete passing runs. Before cancellation, the
four managed-unit Helix jobs completed and all **50 product work-item
XML reports** were audited, excluding controller work items, with no
named failures, assembly errors, or XML/count gaps. In each of
Debug/Release on macOS ARM64/Windows x64, Core recorded **1,125 passed,
0 skipped** and SourceGen **733 passed, 53 existing gated skips**. Those
skips are not passes; configuration counts are not summed into a
unique-test total. This source does not include the separate metadata
correction in dotnet#40252. Completed unit XML evidence remains valid despite
cancellation; it does not establish a full build, pack, integration, UI,
or device-test pass.

The human-requested replacement runs use the **same synthetic merge**.
They were initially confirmed **in progress**; the later terminal
UI/device status and remaining main-pipeline coverage are recorded
below:

| Pipeline | Existing replacement run | Queued (UTC) |
| --- | --- | --- |
| `maui-pr` |
[1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489)
| 16:45:42 |
| `maui-pr-uitests` |
[1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
| 16:45:45 |
| `maui-pr-devicetests` |
[1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
| 16:45:48 |

Reuse those runs; no additional pipelines or reviews were queued for
this description update. The native causal chain and original local **77
passed / 0 failed / 0 skipped** result above remain separate evidence,
not replacement-CI results.

The human-requested `maui-copilot` review gate
[16033607](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=16033607)
is
**[INCONCLUSIVE](dotnet#40258 (comment):
provisioning stopped before verifying/checking out the PR head,
establishing a baseline, or running tests. Its trusted runner source
`e1140933230eabacbaf6412c0b8d80ece38f2d48` is not the tested PR source.
Original Azure raw log 12 contains 32 physical lines; lines 13, 21, and
29 repeat the protection refusal across the three existing setup
attempts: "The new servicing/staging target must have branch protection
before credential-bearing provisioning can run. Refusing to switch."
GitHub independently reports `candidate/11.0.1xx-sr2` as
`protected=false`.

This gate supplied **no test execution or causal-baseline result**. It
is not a test-red verdict or evidence against the sample fix. Deploying
the required candidate branch protection is a **maintainer action**; do
not bypass or modify the guard. Full replacement-CI outcomes and a
successfully provisioned review gate remain outstanding.

**Later CI/review evidence (2026-11-14 UTC)**

[Expert review
5905946810](dotnet#40258 (review))
reviewed exact head `026e646e5f820804ca655813a9a5c0e83e40e115` and
reported **zero findings**. Its state is `COMMENTED`, not human approval
or a successful runtime gate. Candidate protection is still `false`; the
provisioning gate described above remains blocked.

In [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
at the same `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` merge, the
**CoreCLR device-test build failed before runtime execution**. Original
raw log 63 records nine CA1416 diagnostics while compiling Essentials
`net11.0-ios27.0`: three deprecated `UIGraphics` calls in
`MediaPicker/ImageProcessor.ios.cs` and six availability calls in
`Passkeys/Passkeys.ios.cs`. The original binlog confirms those nine
diagnostics plus one outer `BuildFailed`, not independent faults in
every downstream project. Three dependent CoreCLR runtime stages were
skipped, leaving a coverage gap.

Those two Essentials source files are byte-identical on the target and
candidate. The actual candidate control [device run
1681310](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681310),
source `77a87edc03aa2728d7e0a51050da0e424a82c801`, completed the CoreCLR
build successfully with zero errors (original raw log 67). This build
failure is unrelated to the sample's one XAML attribute; the precise
analyzer-input divergence remains **unproven**. No speculative
availability/source fix or analyzer suppression is proposed.

Completed portions of [replacement UI run
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490),
on the same merge, supply separate unchanged MacCatalyst evidence:
CollectionView7 run **46901196** recorded **52 passed, 0 skipped**,
including both dotnet#31899 header/footer cases, with no retry; mixed drag
shard run **46901170** recorded **57 passed, 1 existing skip**,
including the dotnet#12060 and dotnet#28416 cases, with no retry. These are not
evidence of a causal MacCatalyst repair by this Android
incremental-sample change.

The MacCatalyst Navigation shard still has **two failures on both the
original attempt and existing retry**: dotnet#21814 receives an empty
navigation-event string, and dotnet#23902 receives "NavigatedTo called 2
times" instead of 3. Original raw log 3790 and publisher log 3792
correlate to run **46901248** (**85 passed, 2 failed, 1 skipped**);
failure details are
[dotnet#21814](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087)
and
[dotnet#23902](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086).
These repeat separately observed candidate/branch failures and are not
attributed to the unrelated sample delta.

The replacement Android `Github5623`/original 77-case CollectionView2 CI
result is published and passed on its first attempt, as detailed below.
Overall UI run **1681490** and device run **1681491** have completed
failed; main run **1681489** remains in progress with passing
Build/Pack/Unit stages and incomplete integration coverage. Keep the
original local causal/full-77 evidence distinct from completed CI shard
results, recovered initial failures, and remaining pipeline outcomes. No
new queues, review replies, source changes, or protection changes were
made.

**Completed exact-source Android CI (2026-11-14 UTC)**

The original API30 CollectionView2 suite completed in [maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
at synthetic merge `b79d6d1607e0fe3707f502bbde84ffbe1ac07c23` (PR head
`026e646e5f820804ca655813a9a5c0e83e40e115`, candidate base
`dca0930d7167052b18c0fa25b1995fa416c2bb06`). [Original run
46901428](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46901428&_a=runCharts)
recorded **77 passed, 0 failed, 0 skipped on the first attempt**. The
actual [Github5623(Android).CollectionViewInfiniteScroll result
100042](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901428/Results/100042)
passed in **9,353 ms**, without a harness retry.

Original Azure [raw log
4026](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4026)
contains 1,254 physical lines and the successful 77-pass summary, with
no failed case or harness retry. [Publisher log
4028](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1681490/logs/4028)
links those exact 77 results to run 46901428. All 77 automated names and
their multiplicities match actual-candidate original run 46895912; the
selector, original oracle, and 15-second scroll deadline were not
reduced or changed. This closes the previously recorded local
ARM64/GA-versus-CI-servicing runtime gap **for this original Android
suite only**; the local causal chain remains independently documented
above.

This is not a whole-pipeline or other-platform clearance. The two
MacCatalyst Navigation failures above remain. A separate MacCatalyst
[dotnet#25074
result](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228)
fails `ButtonResizesWhenTitleOrImageChangesAltered.png` with **1.14%
difference on both the original attempt and existing retry**; it is
unrelated to this sample delta, not an Android-oracle failure. The
CoreCLR availability-build failure and skipped-runtime coverage gap in
device run 1681491 remain; that overall device run has completed
**failed**, as has UI run 1681490. Candidate protection is still
`false`, so the runtime review gate remains blocked despite the
exact-head zero-findings expert review. Main run 1681489 has passing
Build/Pack/Unit stages, but its incomplete Integration stage prevents a
whole-main pass. The full terminal UI and measured integration scopes
are detailed below. No new queues, review replies, source changes, or
protection changes were made.

**Terminal UI audit and remaining validation (2026-11-14 UTC)**

[maui-pr-uitests
1681490](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681490)
has completed **failed** at exact merge
`b79d6d1607e0fe3707f502bbde84ffbe1ac07c23`. All **129 original UI task
raw logs**, their own publishers, and **129 actual final result sets**
were audited. Final published records across platforms/categories are
**14,907 passed, 302 NotExecuted, 3 failed**. These are execution
records, **not unique methods or first-attempt green results**. Nineteen
eventually successful tasks retain **71 original failed records** in
their raw logs; retry recovery does not erase those failures or
establish causal repairs. Every raw failure method name appears in a
corresponding final run, but this is a method-name presence check, not a
claim of fully qualified oracle identity equivalence.

The only three final failures are the MacCatalyst cases already
documented: [dotnet#25074's 1.14% altered-button
snapshot](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901776/Results/100228),
[dotnet#23902's two-versus-three navigation
count](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100086),
and [dotnet#21814's empty navigation-event
text](https://dev.azure.com/dnceng-public/public/_apis/test/Runs/46901248/Results/100087).
The original Android API30 CollectionView2 suite above remains **77
passed, 0 failed, 0 skipped on its first attempt, with no harness
retry**; the full terminal audit independently preserves its original
log 4026, publisher 4028, and run 46901428. The unrelated Mac failures
do not invalidate that exact Android result.

[maui-pr
1681489](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681489),
on the same merge, now has completed passing **Build, Pack, and Helix
Unit Test stages**, but **the whole pipeline is not yet passed**. Only
**20 of 23 original integration tasks** have completed measured
summaries: **311 passed, 10 existing skips, 0 failed** in those
completed tasks. Three tasks remain unmeasured/in progress:
`mac_buildtemplate_previous_tests`, Windows `Build`, and Windows
`Blazor`. Their absent results are not zero failures or passes.

Terminal [device run
1681491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1681491)
remains **failed**. Its **31 available product XML reports** contain
**22,318 passed, 2 existing Windows Border failures, 549 existing
skips**, with available per-assembly counts checked and no
assembly-error/count gaps. Skip identities, reasons, and multiplicities
match the candidate; counts span available execution/configuration
records, not unique methods. The nine-CA1416 CoreCLR compile failure and
three skipped dependent runtime stages remain a separate coverage gap:
available XML results do not certify the missing CoreCLR matrix.

The PR head, candidate base, and synthetic merge are unchanged.
Candidate protection remains `false`, the provisioning review gate
remains blocked, and zero-findings expert review is still not human
approval or runtime-gate success. No source changes, pushes, new queues,
review replies, or protection changes were made for this validation
update.

**Exact validation commands and results**

```sh
# Passed: Android-only repository build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:BuildTaskOnlyBuild=true -v:q -nologo

# Passed for original, diagnostic control, fixed, reverted, restored, and immutable-head builds.
dotnet build src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj -c Release -f net11.0-android -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -p:RuntimeIdentifier=android-arm64 -p:EmbedAssembliesIntoApk=true -v:q -nologo

# Passed: original Android NUnit runner, with private transport only.
dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeAndroidTargetFrameworks=true -v:q -nologo

# Same command for each original-oracle phase; $resultdir selected a separate retained phase/attempt directory.
# Results are the actual cases in the phase table above; no automatic test retry was added.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE="$resultdir/appium.log" dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'Name=CollectionViewInfiniteScroll' --logger 'trx;LogFileName=original.trx' --results-directory "$resultdir" -v:q -nologo -- "NUnit.TestOutputXml=$resultdir/nunit"

# Passed: original 77-case selector, after pushing and verifying the exact immutable head.
DEVICE_UDID=emulator-5582 DEVICE_SKIN=Nexus_5X PLATFORM_VERSION=11 HEADLESS=true APPIUM_LOG_FILE=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/appium.log dotnet test src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -c Release --no-build --no-restore --filter 'TestCategory=CollectionView2' --logger 'trx;LogFileName=collectionview2.trx' --results-directory /Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2 -v:q -nologo -- NUnit.TestOutputXml=/Users/kubaflo/.copilot/session-state/0f3d8462-8297-42f8-95e8-06e582359747/files/original-collectionview2/nunit

# Passed.
xmllint --noout src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml
# Passed.
git diff --check

# Not completed: bounded/stopped during full-solution loading without output; no formatting pass claimed.
# Only XAML changed; native XAML compilation and XML syntax checks above passed.
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/Controls/tests/TestCases.HostApp/Issues/XFIssue/Github5623.xaml --verify-no-changes --verbosity quiet
```

Direct source build/install/NUnit commands mirror the existing Cake
UI-test recipe and deliberately avoid the local wrapper's global ADB
restart/recovery behavior in this shared environment. Pre-existing
emulators and their ADB server were preserved.

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

Relates to dotnet#40116, dotnet#39491, and dotnet#40227. These references are
intentionally non-closing; this corrects the incremental-loading
sample's scroll-mode contract.

<!--
Verify the target branch follows the release workflow in
docs/ReleaseBranchWorkflow.md.
Infrastructure and documentation changes should target the branch where
they apply.
-->

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 087c6def Deployed Nov 14, 2026 by kubaflo via conclusion #2968
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