Skip to content

[automated] Merge branch 'net11.0' => 'release/11.0.1xx-rc2' - #38762

Merged
kubaflo merged 22 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2
Sep 22, 2026
Merged

kubaflo merged 22 commits into
release/11.0.1xx-rc2from
merge/net11.0-to-release/11.0.1xx-rc2

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

This PR merges commits made on net11.0 by the following committers:

  • kubaflo
  • github-actions[bot]
  • PureWeen
  • missymessa
  • dalexsoto
  • HarishKumarSF4517
  • albyrock87
  • praveenkumarkarunanithi
  • Vignesh-SF3580
  • TamilarasanSF4853
  • dotnet-maestro[bot]

Instructions for merging from UI

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

merge button instructions

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

Instructions for merging via command line

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

git fetch
git checkout net11.0
git pull --ff-only
git checkout release/11.0.1xx-rc2
git pull --ff-only
git merge --no-ff net11.0

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

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

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

Instructions for updating this pull request

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

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

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

dotnet-maestro Bot and others added 22 commits September 14, 2026 14:18
This pull request updates the following dependencies

[marker]: <> (Begin:a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95)
## From https://github.com/dotnet/xharness
- **Subscription**:
[a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95](https://maestro.dot.net/subscriptions?search=a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95)
- **Build**:
[20260911.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=3072980)
([331573](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/331573))
- **Date Produced**: September 11, 2026 11:35:21 AM UTC
- **Commit**:
[cf433ea2eff13305b60c8871a03115b1dbb600f8](dotnet/xharness@cf433ea)
- **Branch**: [main](https://github.com/dotnet/xharness/tree/main)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [11.0.0-prerelease.26451.1 to 11.0.0-prerelease.26461.1][1]
     - Microsoft.DotNet.XHarness.CLI
     - Microsoft.DotNet.XHarness.TestRunners.Common
     - Microsoft.DotNet.XHarness.TestRunners.Xunit

[1]: dotnet/xharness@1fc9369...cf433ea

[DependencyUpdate]: <> (End)


[marker]: <> (End:a71c12d9-5aa4-4b46-e2d6-08da0cf8cd95)

---------

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…ests failure (#38564)

This PR addresses UI test failures in the main branch caused by this PR
#38381. It also includes updates to
improve rendering and test stability across platforms.
<img width="733" height="257" alt="image"
src="https://github.com/user-attachments/assets/51c50316-b906-42fd-b4ee-9117c18ce47b"
/>


**Test reliability and feedback improvements:**

* Added a `Label` (`statusLabel`) to `Issue33287MainPage` to display
status updates about the alert request, making it easier to observe the
test's progress and results.
* Updated navigation and alert logic so that when navigating to
`Issue33287SecondPage`, a callback updates the status label as the alert
request is created and returned, improving visibility into the test
flow.

**Code simplification and modernization:**

* Refactored `Issue33287SecondPage` to remove the internal button field
and use a constructor parameter for status updates, and replaced the
delayed alert logic with a property change handler that triggers the
alert when the page is detached.
* Removed unnecessary `using System.Threading.Tasks;` and added `using
System.ComponentModel;` for property change handling.

**Test assertion enhancements:**

* Updated the test in `Issue33287.cs` to assert that the status label
reflects the alert request and that the app remains responsive,
providing more robust and meaningful test coverage.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
…dapterPositions (#38598)

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

### Issue Details
The GroupedCollectionViewRemovalsUseCurrentAdapterPositions test is
failing on iOS when running with CollectionView1 (CV1). The test was
checked locally, and the crash can be reproduced with CV1. The same test
scenario works properly with CollectionView2 (CV2). The PR changes are
related to Android, while this test failure occurs only with iOS CV1.

This test was added in #38486

### Root Cause
The test scenario causes an existing crash with CollectionView1 (CV1) on
iOS. During the investigation, it was also found that the
GroupFooterTemplate used in the sample contributes to the CV1 crash. The
same scenario works correctly with CV2. The same behavior was reproduced
with MAUI 10.0.0 without the PR changes, confirming that the failure is
not related to this PR.

### Description of Change
Updated the test to run only with CollectionView2 (CV2). This avoids the
existing CV1-specific failure on iOS while continuing to validate the
intended grouped CollectionView item removal scenario.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- 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!

### Description of Change

Limits skill evaluation specs to the workflow-owned executor and
supported model configuration. The preparer now rejects alternate
executor shapes, provider and plugin mapping keys at any depth, and
combined `defaults` plus legacy `config`, while allowing the same words
in prompt and rubric text.

Adds focused preparer coverage for accepted and rejected configuration
shapes and workflow structure coverage confirming validation completes
before token selection and evaluation steps.

### Validation

- Preparer test suite: 80 runs, 462 assertions
- Preparer validation across all current evaluation spec directories
- Strict Vally 0.14.0 lint across all 16 evaluation specs

### Issues Fixed

N/A

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
…and Project Details (#38595)

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

### Issue Details
VoiceOver on macOS does not announce the ComboBox control type or its
initial "Collapsed" state when initially navigating to the Project and
Category pickers in the .NET MAUI mobile project template
(DeveloperBalance).
Unknown
On initial linear navigation (`Control + Option + Right Arrow`),
VoiceOver reads only the control's descriptive label without indicating
that it is an expandable ComboBox or that its current state is
collapsed.

### Root Cause
In earlier versions, static semantic properties
(`SemanticProperties.Description` and `SemanticProperties.Hint="State
Collapsed"`) were assigned to the parent `SfTextInputLayout` container.
The regression was introduced in PR #32286 , which attempted to make
state announcements dynamic by removing the static `"State Collapsed"`
hint and relying exclusively on `SemanticScreenReader.Announce`
triggered via `Picker.IsOpen` property changes.
Because synthetic announcements only fire on value changes, no state
announcement was produced when the control initially received focus.

### Description of Change

Appended State Collapsed directly to the `SemanticProperties.Hint` of
each native Picker on both the Project Details and Task Details pages.
Kept `SfTextInputLayout` responsible solely for visual presentation and
floating labels.
Preserved existing bindings, commands, and dynamic expansion
announcements from PR #32286 while ensuring the initial resting state is
exposed to platform accessibility APIs.

### Why Tests Were Not Added

This issue requires manual accessibility validation using platform
screen readers (macOS VoiceOver and Android TalkBack) to verify focus
traversal and spoken announcements. Because these accessibility
announcements cannot be reliably validated via automated UI/unit tests,
manual verification was performed across macOS, Android, and Windows.

### Issues Fixed
Fixes #36471 

### Screenshots

| Before Issue Fix | After Issue Fix |
|----------|----------|
| <video width="300" height="600"
src="https://github.com/user-attachments/assets/8ab47eea-6061-4fcb-9780-e8eea0c4e785">
| <video width="300" height="600"
src="https://github.com/user-attachments/assets/b5d23234-2423-43fc-b3cb-915b14e73cd7">
|
…ized by its parent layout (#38599)

### Description of Change

On iOS, a `ScrollView` whose frame is resized by its parent layout in
the same pass in which its content becomes taller than the viewport ends
up **scrolled by half the resize delta**, so the page appears with the
first item partially hidden. The common shape is a bound page: a `Grid`
(`Auto,*,Auto`) with the `ScrollView` in the star row, whose content
*and* an Auto-row footer arrive from the ViewModel after the page is
already on screen — the footer grows, the star row shrinks, the content
grows, and the ScrollView lands at e.g. offset 18 instead of 0 (content
`Padding` 8 + item `Margin` 8 + stroke 2 scrolled away).

**Cause.** `ViewHandlerExtensions.PlatformArrangeHandler` arranges views
by setting `Center` and then `Bounds` (rather than `Frame`, so
non-identity transforms keep working). On a `UIScrollView`,
`Bounds.Origin` *is* the content offset, and UIKit re-derives it inside
`setBounds:` when the size changes — it keeps the content under the
view's center stable, i.e. it scrolls by half the delta. A KVO observer
on `contentOffset` captured the move exactly there:

```
offset->17.0 bounds=(0.0,17.0,691.0) contentSize=725.0
  at UIKit.UIView.set_Bounds(CGRect)
  at Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler, Rect)   ViewHandlerExtensions.iOS.cs:158
  at Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect)
  at Microsoft.Maui.Controls.ScrollView.ArrangeOverride(Rect)
  at Microsoft.Maui.Layouts.GridLayoutManager.ArrangeChildren(Rect)
  at Microsoft.Maui.Platform.MauiView.LayoutSubviews()
```

The arrange defect itself is old: the fixture fails identically on the
`10.0.90` (SR9), `10.0.100` and `10.0.101` sources, so it is not a
regression of the recent ScrollView changes. What changed in SR10 is
*reachability*: #32267 made
`MauiScrollView.InvalidateMeasure(isPropagating: true)` return `true`,
so a content change inside a ScrollView now propagates measure
invalidation to its ancestors (needed so a content-sized ScrollView
shrinks when children are removed). Before SR10 the ScrollView was a
propagation barrier and a bound page's content arrival never re-laid-out
the page; since SR10 it does — and a page host that applies insets or
chrome on every layout pass (a custom scaffold, say) can then resize the
ScrollView in the very pass its content grows. That is why an app can be
clean on SR9 and hit this on SR10/SR11 with no code change of its own;
the fixture forces the resize explicitly (a bound footer growing with
the content) so it reproduces on every version.

**Fix.** Arranging a scroll view must never scroll it.
`ScrollViewHandler.PlatformArrange` (iOS) — the call through which a
parent layout resizes the scroll view — now remembers the content offset
before the base arrange and puts it back if UIKit moved it, clamped to
the range the new size currently allows. The clamp is the same
inset-aware range `ScrollToAsync` already uses
(`ClampToScrollableRange`, shared with `GetTargetContentOffset`: rest is
`-AdjustedContentInset`, the maximum extends past the arranged extent by
the trailing inset). Kept in the ScrollView handler rather than the
generic arrange helper or a `Bounds` override on `MauiScrollView`: it is
scroll-view-specific, only the arrange path is affected, and UIKit
implements `contentOffset` through `setBounds:` so an override there
would sit on every scroll frame. A view the user had scrolled keeps its
position across a resize, exactly as UIKit's own `setFrame:` semantics
would. Side effect worth knowing: in the affected pass `Scrolled` is
raised twice (UIKit's spurious move, then the restore) — the final state
is correct, whereas before the fix the spurious one was raised and
*kept*.

No public API change beyond the `PlatformArrange` override itself.

### Workaround for affected versions

The override is public, so an app (or a library hosting pages) can apply
the same correction without waiting for the fix, by registering a
handler subclass on iOS/MacCatalyst:

```csharp
#if IOS || MACCATALYST
using CoreGraphics;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Handlers;

public class OffsetPreservingScrollViewHandler : ScrollViewHandler
{
    public override void PlatformArrange(Rect rect)
    {
        var scrollView = PlatformView;
        var offset = scrollView.ContentOffset;

        base.PlatformArrange(rect);

        if (scrollView.ContentOffset == offset)
            return;

        // Restore the offset the arrange found, kept inside the range the new size allows
        var inset = scrollView.AdjustedContentInset;
        var bounds = scrollView.Bounds;
        var contentSize = scrollView.ContentSize;
        var minX = -(double)inset.Left;
        var minY = -(double)inset.Top;
        var maxX = Math.Max(minX, contentSize.Width + inset.Right - bounds.Width);
        var maxY = Math.Max(minY, contentSize.Height + inset.Bottom - bounds.Height);
        scrollView.ContentOffset = new CGPoint(
            Math.Clamp((double)offset.X, minX, maxX),
            Math.Clamp((double)offset.Y, minY, maxY));
    }
}
#endif
```

```csharp
// MauiProgram.cs
builder.ConfigureMauiHandlers(handlers =>
{
#if IOS || MACCATALYST
    handlers.AddHandler<ScrollView, OffsetPreservingScrollViewHandler>();
#endif
});
```

Notes: it clamps against `ContentSize` rather than the internal arranged
extent, which is equivalent for this purpose; it replaces the ScrollView
handler globally, so combine it with any custom ScrollView handler the
app already registers; and once on a fixed version it becomes a harmless
no-op that can be removed. Merely deferring the content population to a
later tick than other layout changes also avoids the coincidence in
plain layouts, but is not reliable under hosts that re-apply insets on
every layout pass.

### Note on #32267 — the enabler, and why it deserves a different
approach

#32267 is what made this reachable from SR10 on, and we think its
approach should be revisited on `main`, independently of this fix.

**What it set out to do is legitimate.** A ScrollView *sized by its
content* — a `StackLayout` child, an `Auto` row, `VerticalOptions=Start`
— must make its parent re-measure when its content shrinks, or it keeps
blank space at the bottom (#32221, #20586, #34536).

**How it did it is the problem.** `MauiScrollView` was deliberately a
measure-invalidation *barrier* (`InvalidateMeasure(isPropagating: true)`
returned `false`; the surrounding code still says "Invalidation stops at
`UIScrollView`s for performance reasons"), and it already had the
targeted escape hatch for the content-sized case: `LayoutSubviews` calls
`InvalidateAncestorsMeasures()` when `ContentSize` changes. #32267's
diff is a single line that flips the barrier off unconditionally
(`return true`), so **every** invalidation raised anywhere inside a
ScrollView now walks up and re-measures the entire page, regardless of
whether the ScrollView's size can even change.

**Performance cost.** A ScrollView in a star row, in `Fill`, or with an
explicit size is fully constrained by its parent: its ancestors can
learn nothing from its content changing, yet since SR10 each such change
— a bound list populating, a `Label` text update, every keystroke in an
`Entry` or `Editor` inside the scroll view — invalidates and re-measures
the page above it. The scroll view is the single most common container
for content-heavy pages, so this is paid constantly, on the main thread,
for no layout result. The old barrier existed precisely to avoid that.

**Correctness cost.** Turning arbitrary content changes into page
re-layouts is what creates the coincidence this PR fixes: a page host
that applies insets or chrome on each layout pass now resizes the
ScrollView in the very pass its content grows. The arrange defect
predates SR10, but SR10 is what makes ordinary bound pages hit it.

**What the fix should have been.** The reported root cause was that, on
the first pass after removing children, `CrossPlatformMeasure` returned
the ScrollView's current size, so `ContentSize` did not change and the
existing `InvalidateAncestorsMeasures()` never fired. The proportionate
fix addresses *that*: propagate only when the ScrollView's own measured
size can actually change — i.e. when it is not size-constrained by its
parent — and/or when its measured size differs from what the parent last
measured. That keeps the content-sized case correct while leaving the
barrier in place for every constrained ScrollView, which is the
overwhelmingly common one. We would suggest reverting the unconditional
`return true` in favour of such a condition as a follow-up on `main`; it
is out of scope for a servicing fix, and this PR is deliberately
independent of it — it fixes the arrange defect regardless of what
triggers the resize.

Separately, the XML doc on
`IPlatformMeasureInvalidationController.InvalidateMeasure` in
`MauiScrollView` says the return value means "stop propagating", while
the walk in `ViewExtensions.InvalidateAncestorsMeasures` treats `true`
as "keep propagating". The doc is inverted and worth a one-line
correction — it makes changes like #32267 easy to misjudge.

### Issues Fixed

Reported against 10.0.101 (page hosted in a custom scaffold with bound
content). Reproduces with plain `NavigationPage` + `Grid`.

### Tests

`ScrollViewInitialOffsetInGridRow` (iOS + MacCatalyst): a pushed,
edge-to-edge page with a `Grid Auto,*,Auto`, the `ScrollView` in the
star row, content `VerticalStackLayout Padding=0,8` whose first child is
a `Border Margin=16,8`, in five cases — static vs. async content
(content and a footer banner arriving together after appearing) × with
vs. without a header row (the latter puts the ScrollView under the
status bar, so the top inset is non-zero), plus a guard where the
content is tall and laid out from the start and only the footer grows
later: an ordinary resize of a laid-out scroll view does not scroll it
(verified without the fix), and the restore must keep it that way. The
page instruments the native `UIScrollView` (offset,
adjusted/content/safe insets, content size, bounds, content frame,
`ScrollY`) and, via KVO, the managed stack of the first offset move, so
a failure names its cause. Oracles: native offset `==
-AdjustedContentInset.Top` and `ScrollY == 0` once the content is laid
out; and, Appium-side, the first item's top exactly 16 below the
ScrollView's visible top.

Results on this commit (iOS simulator, iPhone 11 Pro):

- with the fix: **5/5**; `Issue36801` + `Issue36801DeferredElement` +
`ShellFlyoutHeaderScrollViewContent` suites **12/12**
- with the fix reverted (pristine sr11): `AsyncContentWithHeader`
**fails** at `offset=18` (36pt footer growth, halved); the same case
fails identically against the `10.0.90`, `10.0.100` and `10.0.101`
sources for `src/Core/src` + `src/Controls/src/Core`
- with the fix reverted and `ScrollEventProxy` + `NotifyInsetsChanged`
disabled: still fails with the same `set_Bounds` stack, `ScrollY` left
at 0 while the native offset is 18 — those paths only report the offset
- `StaticContentResizedLater` passes with and without the fix (the
guard)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------
Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
…38621)

This PR addresses UI test failures in the main branch caused in this PR
#38599. And it updates the
`AssertRestsAtTop` test method to improve platform-specific handling for
iOS devices. The main change is that the calculation and assertion logic
for verifying the top position of the first item in the `ScrollView` is
now only applied when running on iOS, ensuring more accurate and
relevant test behavior for that platform.

**Platform-specific test logic:**

* In `ScrollViewInitialOffsetInGridRow.cs`, the calculation and
assertion for the first item's top position relative to the `ScrollView`
are now executed only for iOS devices, with updated comments clarifying
the logic and rationale for this conditional handling.

**Cause:** On Mac Catalyst, Appium element rectangles use desktop screen
coordinates, which cannot be reliably combined with UIKit’s
AdjustedContentInset. This caused false failures in the visual geometry
assertion.
**Fix:** Restrict the geometry assertion to iOS. Mac Catalyst continues
to validate the behavior using the native ContentOffset and managed
ScrollY checks reported by the HostApp.

Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
#38575)

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

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

### Description of Change

Fixes confirmed test-isolation and integration-harness defects found
while investigating recent `maui-pr` failures on `main`:

- Restore `MainThreadStaticStateCollection` with `DisableParallelization
= true`. Its deletion left the existing collection attributes without
cross-collection isolation, allowing MainThread bridge tests to race
other tests that create a `MauiApp`.
- Update `MSBuild.StructuredLogger` from `2.2.158` to `2.3.246` to fix
the property-reassignment reader crash that masked the original Android
build timeout.
- Report incomplete binlogs without replacing the original build
failure. Use `Replay` with its actual truncation status and explicitly
propagate reader exceptions; retain errors read before the truncation.
Authoritative warning validation rejects incomplete logs, including
truncation after `BuildFinished` during the embedded import archive or
before the final end marker.
- Initialize StructuredLogger message resources explicitly before
`Replay`, which otherwise fails on property reassignment in a fresh
process. `ReadRecords` initializes them but does not populate
`HasEncounteredTruncation`, so merely checking that flag after
`ReadRecords` is insufficient.
- Terminate timed-out command process trees, preserve the emulator's
intentional startup-capture keep-alive behavior, and bound output
draining so inherited pipes cannot hang cleanup. Timeout and drain
diagnostics fall back to the console when no test output helper is
supplied.
- Add eleven harness regression cases and document the timeout/binlog
behavior and workload-free test command. Tests that capture the
process-wide console run in a nonparallel collection.

### Issues Fixed

- [Main build
1595566](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1595566):
intermittent `InvokeOnMainThreadAsync_Action_WorksThroughBridge` failure
with `NotImplementedInReferenceAssemblyException`.
- [Main build
1597559](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1597559):
the .NET 9 Debug Android template hit its 1,800-second build timeout,
after which binlog parsing threw `ArgumentNullException` and obscured
the underlying failure.

**Scope limitation:** this PR does not establish or fix the cause of the
underlying Android SDK `BuildApk` packaging hang. It fixes the proven
isolation, process-cleanup, and diagnostic defects; it does not claim
that all main-branch CI failures are resolved. The invalid Android tools
ZIP in build 1595566 was a separate provisioning failure and is not
changed here.

### Validation

- Current integration-harness regressions: **11 passed** in both Debug
and Release, .NET SDK 10.0.100 on macOS ARM64.
- Before the review fixes, the two late-truncation cases and no-helper
timeout diagnostic case failed against the previous PR head; all now
pass. The late-truncation fixtures retain `BuildFinished` from a real
MSBuild binlog and cut either inside its embedded archive or immediately
before its end marker.
- Verified property-reassignment parsing separately in a fresh test
process to rule out resource initialization by another test.
- Committed inherited-pipe regression verifies the parent exits
normally, the child remains alive, and output draining returns within
the bound and emits a diagnostic. Existing cases cover timeout
process-tree cleanup and explicit keep-alive behavior.
- MainThread bridge tests: **13 passed**. Coupled Core test slice: **112
passed**, with **20/20 repeated runs clean** (unchanged since initial
validation).
- Initial revision: replayed the actual failing CI binlog to reproduce
the old reader's `ArgumentNullException` and confirm incomplete-log
diagnostics and strict warning rejection after the fix.
- Previous PR revision passed [maui-pr build
1598385](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1598385).
CI for the review revision is being rerun; no result is claimed yet.
- The full Core suite has not been rerun locally, and the underlying
Android packaging hang has not been reproduced end-to-end.

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

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
#38040)

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

### Description of Change

Improves the reliability and security of the `maui-copilot` AzDO review
pipeline (definition 27723), its GitHub trigger/recovery path, and its
skill-evaluation gates, while enforcing a GPT-only model policy across
reviewer automation.

> Supersedes #36473, which superseded #36399.

### Issues Fixed

This is infrastructure hardening accumulated from production reviewer
failures rather than a fix for one product issue. The real-run examples
below identify the PRs whose failures supplied the regression evidence.

### Gate reliability fixes

The gate ("test before and after fix") had several classes of false
verdicts. Each is addressed:

| Problem | Old behavior | New behavior |
|---|---|---|
| Failure-only mode (test-only PRs) wrote no report | `PASSED` plus
"exited before writing report" warning | writes a proper report on every
exit path |
| Test-less PRs (fix files, no tests) | forced `INCONCLUSIVE` after 3
wasted retries | `SKIPPED` (add tests), no retry |
| Flaky pass/fail on a single run | verdict flipped on one flaky run |
re-runs unexpected outcomes and credits the confirmed result |
| Baseline **and** fix both fail to build | mislabeled "Fix does not
compile" | "Pre-existing build failure (not the fix)" to `INCONCLUSIVE`
|
| New `VerifyScreenshot` test, no baseline yet | `FAILED` ("fix does not
pass") | `INCONCLUSIVE` ("new snapshot - no baseline") |
| Helper file (no test methods) detected as a test | dragged the gate to
`FAILED` | excluded from detection |
| Deleted C# test file detected as runnable | filtered a class that no
longer exists and matched zero tests | excluded because no runnable
source remains |
| Mixed PR (one test reproduces, another always green) | `FAILED` |
`PASSED` - at least one test must reproduce the bug (FAIL to PASS) and
none may regress |
| Gate reason unclear on environment/build failure | terse "could not
complete" | exit-code/log-aware fallback lead-ins classify environment
errors as `INCONCLUSIVE` |

The **gate now always runs**: the temporary `SkipUITests` fast-mode
toggle, which passed `-SkipGate` and skipped the gate on every
production review, is removed. The gate self-selects its verdict, so a
PR with no runnable tests exits `SKIPPED` without emulator work.

This also removes the spurious `CopilotFailed: command not found` noise
in the "Check Review Result" step, where undefined `$(var)` macros were
evaluated as Bash command substitutions.

### Deep-stage and always-finish reliability

- **Build-hang watchdog** - an in-script wall-clock watchdog
(`[Process]::Start` plus `Kill($true)`) bounds the buildtasks/cake
child-process tree because AzDO's step `timeoutInMinutes` does not kill
a hung child tree.
- **Always finish the PR** - the deferred Post phase posts a standalone
deep-results review and collapses the "review incomplete" notice when
the normal review path produced nothing.
- **Deep per-category loop** - hard-stop, per-category ceiling, and
idle-kill bounds keep the deep stage under its task timeout instead of
failing on an infrastructure timeout.
- **Pre-workload disk cleanup** - Android hosted agents reclaim large
SDK/tool caches immediately after Android provisioning and before
workload installation, avoiding deterministic `ENOSPC` retries on an
already-full agent.
- **Artifact isolation** - cross-stage imports are restricted to the
canonical `PRState/<PR>/PRAgent` tree. Candidate discovery uses bounded
iterative traversal, skips reparse-point directories, validates
containment, caps the directory count, and stops as soon as a second
candidate proves ambiguity.
- **Bounded diagnostics** - generated logs, patches, and diffs are
capped before posting while review-critical Markdown and JSON remain
fail-closed.
- **Release-branch validation** - every pipeline and immutable-snapshot
validator accepts safe dotted and numeric `inflight/*` names such as
`inflight/10.0.101` while rejecting hidden, uppercase, nested, and
traversal-like shapes.

### Skill-evaluation and trigger hardening

- Trusted preparation/runtime scripts are read from the protected base
revision; pull-request fixture data is treated as untrusted input.
- Fixture overlays are constrained to approved skill roots and cannot
target repository metadata, persistent identities, hooks, profiles, or
paths outside the evaluation workspace.
- YAML aliases, malformed or ambiguous JUnit/XML signals, missing
invocations, missing aggregate verdicts, and incomplete run counts fail
closed.
- Vally subprocesses receive isolated credentials and temporary homes;
persistent Git identity and credential mutations are rejected.
- Review-trigger recovery revalidates comment identity and current write
permission, serializes by PR, and leaves transient failures
unacknowledged for a later retry.
- PowerShell regression tests pin branch parsing, recovery behavior,
artifact limits, model policy, and the evaluation security contract.

### GPT-only model policy

- The primary reviewer is pinned to `gpt-5.6-sol`;
`COPILOT_REVIEW_MODEL` can no longer redirect it to an arbitrary
provider.
- Try-fix runs exactly two approved GPT candidates in order:
`gpt-5.3-codex`, then `gpt-5.6-sol`.
- The independent MAUI expert reviewer uses `gpt-5.3-codex`.
- The local test-failure reviewer is hard-pinned to `gpt-5.6-sol`;
`COPILOT_REVIEW_TESTS_MODEL` can no longer redirect it.
- UI-test failure analysis only accepts `gpt-5.6-sol` or
`gpt-5.3-codex`.
- Vally judges and model-token probes use `gpt-5.3-codex`.
- Regression coverage scans repository automation and fails if an
Anthropic model identifier is introduced.

### Files changed

- `.github/workflows/review-trigger.yml` - `/review` comment parsing for
platform and branch arguments.
- `eng/pipelines/ci-copilot.yml` - gate/provisioning behavior,
watchdogs, deferred posting, snapshot handling, artifact isolation, and
base validation.
- `.github/scripts/Review-PR.ps1` - gate classification, bounded review
artifacts, pinned primary reviewer, and GPT-only try-fix candidates.
- `.github/scripts/shared/Detect-TestsInDiff.ps1` - skips C# files with
no test-method attributes.
- `.github/scripts/shared/Import-ExpectedPRAgentArtifact.ps1` - bounded,
reparse-safe canonical artifact discovery.
- `.github/scripts/shared/Analyze-UITestFailures.ps1` - approved GPT
model allowlist.
-
`.github/skills/verify-tests-fail-without-fix/scripts/verify-tests-fail.ps1`
- deterministic re-runs and complete report/classification behavior.
- `.github/skills/pr-review/SKILL.md` and
`.github/skills/code-review/SKILL.md` - GPT-only try-fix and
expert-review selection.
- `.github/scripts/PrepareVallyEvaluation.rb`,
`.github/scripts/SetupVallyRuntime.sh`, and
`.github/workflows/skill-validation.yml` - hermetic fixture preparation,
runtime isolation, and fail-closed evaluation gates.
- `.github/skills/**/tests/*.vally.yaml` and model-probe workflows -
GPT-only evaluation judges and probes.
- `.github/scripts/CopilotPipeline.Tests.ps1` - synchronized
branch-validation and forbidden-model regression coverage.
- `.github/scripts/post-ai-summary-comment.ps1` - AI Review Summary
rendering.

### What NOT to do

- Do not restore a free-form reviewer model environment override;
direct, try-fix, expert, judge, and probe selectors must stay on the
approved GPT models.
- Do not acknowledge a recovered `/review` comment in the scheduled
scanner before the serialized trigger workflow runs. The durable marker
is the trigger workflow's completion/dedupe signal; pre-marking would
make that dispatched run skip itself.
- Do not let an optional UI-failure classifier hard-fail or silently
disappear. It remains best effort, emits an Azure warning on failure,
and runs without posting credentials.
- Do not copy prompt-influenced artifacts directly into the posting job.
Use the bounded regular-file importer and fail closed for
review-critical files.

### Testing

Validated with full-gate runs (`SkipUITests=false`) on real PRs:

- #36293 - `SKIPPED` (was false `INCONCLUSIVE`)
- #36114 - `PASSED` with a report written (was `PASSED` plus a warning)
- #35892 - `INCONCLUSIVE` with "Pre-existing build failure" headline
(was mislabeled "Fix does not compile")
- #27477 - helper excluded, two real tests detected, and relaxed-verdict
re-validation
- #37949 and #37960 - numeric `inflight/10.0.101` base accepted and
resolved to the expected base SHA

Local model-policy validation:

- The exact pushed-head PowerShell workflow suite passed 2,165/2,165
tests.
- The focused reviewer suites passed 93/93 tests locally.
- Mutation proof confirms the old Setup validator fails on
`inflight/10.0.101`, while the corrected validator passes.
- The previously date-sensitive CI-scan fixtures now use a fixed test
clock; all 333 reconciler tests pass.
- 99 focused reviewer/model-policy PowerShell tests passed on commit
`c34f9c8ee90`.
- 72 Ruby runs and 219 assertions for Vally preparation passed.
- All 18 changed YAML files parsed successfully.

Live Azure evidence:

- Exact-head Android build `15156195` succeeded on
`1e0a636d594127b6fbba81e85f16c28c93952201`.
- Pre-workload cleanup reclaimed the hosted agent from approximately 4.4
GB to 20 GB free, after which workload installation succeeded.
- The first build-tasks attempt exposed an incomplete local SDK
(`System.IO.Pipes` missing); the existing retry wiped `./.dotnet`,
reinstalled cleanly, and both build-tasks builds succeeded.
- The trusted Gate result was `SKIPPED` because this infrastructure-only
change exposed no runnable product test.
- All structured model records were GPT-only: `gpt-5.6-sol` and
`gpt-5.3-codex`. The persisted try-fix candidates were exactly
`gpt-5.3-codex`, then `gpt-5.6-sol`; the raw Task 3 log contained no
`claude` or `anthropic` text.
- The expert pass found no actionable current-head defect,
`inline-findings.json` was empty, and the submitted PR won the candidate
comparison.
- Deep Android UI validation passed 360 tests, failed 0, and skipped 7
across `Button`, `Label`, and `Layout`.
- Canonical PRAgent import, deep-result import, deferred AI Summary
publication against `1e0a636`, stale artifact cleanup, and review-lock
removal all succeeded.

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

### Description of Change

Adopt UIKit's scene-based lifecycle in all .NET MAUI application
templates so newly generated iOS and Mac Catalyst apps can launch when
built with the Xcode 27 SDKs.

This also fixes a separate build incompatibility found during
validation: the .NET Mac Catalyst 27 SDK rejects the templates' existing
`SupportedOSPlatformVersion` of `15.0`, requiring at least `17.0`.

### Root Cause

UIKit now requires scene lifecycle adoption for apps built with the 27
SDKs. The original generated app compiled successfully but terminated
after the splash screen with:

```text
Application failed to launch: UIScene life cycle is required for apps built with this SDK.
```

MAUI already has the required runtime implementation:

- `MauiUIApplicationDelegate` selects scene startup when
`UIApplicationSceneManifest` is present and returns
`__MAUI_DEFAULT_SCENE_CONFIGURATION__`.
- `MauiUISceneDelegate` creates the scene-backed MAUI window for that
configuration.
- The default MAUI lifecycle adapters already forward scene callbacks to
cross-platform `Window` events.

The templates were missing the manifest configuration and an explicitly
registered application scene delegate; the existing framework already
supplies window creation and cross-platform `Window` lifecycle
forwarding.

Review also identified a shipping prerequisite: enabling scenes changes
AppActions delivery. UIKit does not call the application-delegate
shortcut selector for scene-based apps, and the previous runtime had
neither a warm scene shortcut callback nor a cold scene shortcut
consumer. This PR now includes the central Core/Essentials forwarding
fix rather than deferring that regression.

### Implementation

| Template | Updated app heads |
| --- | --- |
| `maui` | iOS and Mac Catalyst, including sample-content mode |
| `maui-blazor` | iOS and Mac Catalyst, including empty mode |
| `maui-blazor-web` | iOS and Mac Catalyst in the MAUI head |
| `maui-multiproject` | Separate iOS and Mac app projects |

- Add a complete `UIApplicationSceneManifest` to all eight Apple app
plists, with one `UIWindowSceneSessionRoleApplication` configuration
named `__MAUI_DEFAULT_SCENE_CONFIGURATION__`.
- Add an empty, public `[Register("SceneDelegate")]` subclass of
`MauiUISceneDelegate` in each app head, matching
`UISceneDelegateClassName`.
- Explicitly set `UIApplicationSupportsMultipleScenes` to `false`. Scene
adoption is required; multiple-window support remains opt-in.
- Set the four Mac Catalyst **app** project defaults to
`SupportedOSPlatformVersion` `17.0`.
- Add `AppleTemplateManifestTests` and isolated template-package
installation support to `DotnetInternal`.
- Document the configuration contract, migration requirements,
deployment-target change, and deterministic package-specific test
execution.

Generated application delegates, entry points, splash screens,
orientation declarations, device families, icon values, and dependency
pins are unchanged.

### Central AppActions Forwarding

- Add the real
`windowScene:performActionForShortcutItem:completionHandler:` export to
`MauiUISceneDelegate`. Its public virtual managed signature is
`PerformAction(UIWindowScene, UIApplicationShortcutItem, Action<bool>)`,
matching the UIKit protocol model so native block-to-delegate conversion
works. Both Apple public API baselines include that member.
- Reuse the existing managed `iOSLifecycle.PerformActionForShortcutItem`
registrations beneath the real application and scene entry points.
Core/Essentials remains the single integration point; template delegates
stay empty.
- Capture cold shortcut metadata per scene, clear the pending slot
before activation callbacks, and deliver after `Window.Activated`
through that same window's current services. Disconnect, failed
initialization, reconnect, and window replacement cannot replay or
reroute a stale action.
- Aggregate handler acknowledgements with separate one-shot callbacks.
All synchronous handlers are invoked before success is published;
thereafter the first `true` determines success, while `false` requires
all replies. An early unhandled Essentials response cannot preempt an
asynchronous custom handler.
- Marshal native completion to the main thread and invoke it once.
Essentials now reports handled/unhandled outcomes instead of ignoring
completion. Handler failures are reported as unsuccessful and rethrown;
simultaneous handler/completion failures preserve both exceptions.
- Keep the legacy app-delegate callback working for manifestless apps.
The existing `Current` setter becomes internal solely to permit
friend-test fixtures to restore global state around a normally
constructed delegate; no public setter or alternate production
constructor is added.

The pending shortcut uses an intentionally strong, bounded value-object
reference, with a field-only memory-analyzer justification. Weakening it
could lose the cold action before activation; hiding the reference or
disabling the analyzer is not a substitute.

### Warm Scene Authentication Callbacks

The follow-up to [the scene URL/user-activity
feedback](#38601 (comment))
adds the missing Essentials subscriptions for `SceneOpenUrl` and
`SceneContinueUserActivity`.

- Forward scene URL contexts and activity `WebPageUrl` values into the
same URI-based `WebAuthenticator.Default.OpenUrl` backend used by the
existing application-level Platform adapters.
- Preserve URI conversion, validation, handled/unhandled results, and
existing application-level registrations. Visit every URL context even
after one reports handled.
- Do not broadcast scene callbacks as application-level lifecycle events
or duplicate the test-host forwarding paths.
- Do not manufacture options dictionaries or restoration callbacks: the
existing authentication adapters do not consume those arguments. Custom
scene handlers still receive their original contexts.
- Keep the existing Apple conditional. The current Mac Catalyst SDK also
defines `__IOS__`; the problem is missing scene subscriptions, not a
need to broaden that guard.

**Scope:** this preserves externally delivered callbacks for custom
authenticators implementing `IPlatformWebAuthenticatorCallback`. The
built-in modern `ASWebAuthenticationSession` path already receives its
result through the authentication session's own completion handler; this
change does not claim that normal flow was broken. It is not general
application deep-link navigation and does not replay URLs or activities
from cold scene connection options. Applications handling their own
links still need the corresponding scene handlers, even with multiple
windows disabled.

### Compatibility and Scope

**The startup model changes for newly generated Apple apps:** legacy
application-delegate lifecycle becomes scene lifecycle, while the
default remains one window.

**The Mac Catalyst app deployment default changes:** new apps target Mac
Catalyst `17.0` / macOS 14, including when generated for use with an
older SDK. This is the minimum accepted by the .NET Mac Catalyst 27 SDK;
it is independent of scene API availability. Apps requiring Mac Catalyst
15.0/16.0 must use a compatible 26.x SDK and explicitly choose that
deployment target.

The iOS app minimum remains `15.0`. The class-library template also
retains its `15.0` minimum: it does not produce an app bundle, and the
unchanged library was built successfully with the validation workload.

Template changes do not retrofit existing applications. Existing apps
must add the corresponding manifest and delegate and migrate any custom
platform lifecycle or launch-option handling.

**Shortcut lifecycle registrations must acknowledge individually.** This
is a MAUI fan-out contract, not an Apple-imposed deadline. Existing
logging-only observers that relied on another registration owning the
raw native callback must now invoke their own callback with `false`. A
handler can reply asynchronously after returning; returning alone is not
an acknowledgement. If nobody reports `true`, a registration that never
replies leaves native completion pending. Automatic `false` at return or
an arbitrary timeout would reject valid delayed responses, so neither is
introduced.

### Regression Coverage

The 11-case theory generates projects from the **selected packed
template**, not directly from source plists. Each case installs that
package into a fresh, owned template hive.

Coverage includes default/sample/empty configurations across all four
template families, a Blazor Web option combination, and explicit
multi-project iOS, Mac, Android, and Windows selections. Assertions
verify:

- The complete plist dictionary/array shape, required names, explicit
single-scene policy, and absence of duplicate keys or scene-storyboard
fallback.
- The emitted, registered `MauiUISceneDelegate` subclass and
included/excluded Apple app heads.
- Preserved device-family, orientation, icon, and bundle values.
- The generated Mac Catalyst **app** minimum of `17.0`.

CI selects the exact artifact corresponding to `MAUI_PACKAGE_VERSION`;
there is no timestamp-based or stale-cache fallback.
`MAUI_TEMPLATE_TEST_PACKAGE` permits an explicit local package path for
A/B verification without modifying the global template cache. Existing
`DotnetInternal.New` calls retain their prior behavior when no custom
hive is supplied.

The plist loader now explicitly uses `DtdProcessing.Ignore` and
`XmlResolver = null`, with two focused policy tests. The review's
assertion that `XDocument.Load(string)` always prohibits DOCTYPE did not
reproduce: the original real plists already loaded successfully. The
explicit policy nevertheless prevents DTD entity expansion and external
resolution, and is tested on that basis rather than claiming a false
baseline failure.

Additional runtime coverage includes 22 platform-neutral completion
tests, native scene tests exercising real connected
`UIWindowScene`/handler-backed windows and the UIKit protocol entry, a
real legacy application-delegate test with scoped state restoration, and
direct Essentials completion/error/collision cases. The warm native test
caught a real block-marshalling failure in the first callback signature;
it was fixed in production rather than bypassed with a managed-only test
call.

### Validation

Native reproduction used **.NET SDK 10.0.401**, **MAUI 10.0.101**,
**Apple SDK packages 27.0.10710**, and **Xcode 27.0**. Template
packaging and integration-test compilation also used the
repository-provisioned SDK.

| Check | Result |
| --- | --- |
| Original generated app | Mach-O and bundled plist confirm SDK 27
linkage; exact UIKit scene-lifecycle failure reproduced on iOS 27 |
| Older-OS control | The same original binary launches and renders on
iOS 26.5 |
| Completed package regression matrix | **11 passed**, no skipped cases
|
| Original package regression matrix | **9 applicable failures**, 2
expected platform-exclusion passes |
| Intermediate scene-only package | **8 Mac deployment-minimum
failures**, 3 passes |
| Generated Apple application builds | **8/8 successful**, covering all
four template families on iOS and Mac Catalyst |
| iOS 27 startup | All four families and the sample-content app launch
and render |
| Fully trimmed Release | Starter app launches and renders on iOS 27 and
iOS 26.5 |
| Mac Catalyst startup | All four apps remain alive with one native
window each; starter-app native close/reopen exercised twice |
| Class-library compatibility | Unchanged Mac Catalyst library builds
successfully with minimum `15.0` |
| Android source isolation | Verified Apple sources are excluded after
the actual platform-removal target |

**Validation limitations:** the full Android build was blocked by the
local machine's missing JDK (`XA5300`), and Windows was not built on
this Mac. Fully trimmed builds produce **78 identical pre-existing
warnings** with and without this change; these were compared rather than
suppressed. Local execution results above do not imply that PR CI has
passed.

#### Review Follow-up Validation

| Check | Before central fix | After central fix |
| --- | --- | --- |
| Native Core scene regressions | 4 expected failures; cold cases
reached `Created`/`Activated` but not AppAction, warm cases lacked the
native selector | **6/6 passed**, including added legacy entrypoint and
main-thread completion coverage |
| Native Essentials suite | Six new completion cases failed with
expected count `1`, actual `0` | **251 passed, 0 failed, 1 skipped**;
includes nine completion/error/collision cases |
| Completion aggregation unit tests | New contract-specific coverage |
**21/21 passed** |
| Template/plist tests | Original 11 generated cases plus new DTD policy
coverage | **13/13 passed** |
| Core/Essentials source builds | Baseline native libraries built
separately | iOS and Mac Catalyst builds pass with **0
warnings/errors**, including API, platform, and memory analyzers |

The follow-up native runs used an isolated iOS 26.5 simulator. Product
libraries were source-built with the repository's Apple 26 targeting
packs and installed Xcode 26.5; the test-only hosts used SDK 27/Xcode
27, an explicit supported test-host minimum of 15.0, and those verified
source-built references. Product deployment settings and SDK validation
were not disabled to make the tests pass. Baseline and candidate
artifacts were kept distinct. This is API-dispatch coverage, not a claim
of Mac Catalyst Home Screen quick-action UI support.

#### September 17 Review and CI Corrections

- Remove redundant AppActions platform forwarding from the actual
Controls and BlazorWebView device-test `ConfigureTestBuilder` helpers.
Both use the default builder, which already registers Core/Essentials
forwarding. Adjacent URL and user-activity hooks remain unchanged.
Completion coalescing does not prevent duplicate AppAction delivery, so
the duplicate registrations themselves are removed.
- Make the Controls sample's logging-only shortcut observer acknowledge
`false` after logging. It must not use `LogEvent`'s `true` return value
to claim that the action was handled.
- Document the per-registration acknowledgement and
asynchronous-response contract on the public lifecycle delegate,
registration extension, scene method, and template migration guidance.
- Isolate the completion unit-test fixture with
`MauiApp.CreateBuilder(useDefaults: false)`. These tests need lifecycle
services, not global UI/dispatcher bootstrap. The default builder caused
cross-suite `ObjectDisposedException` failures involving
`DispatcherProviderStub`'s `ThreadLocal`, reproducing the actual Release
Helix failures on this PR.

| Check | Before correction | After correction |
| --- | --- | --- |
| Full Core Release suite, local | 29 failed, 836 passed, 3 skipped |
**865 passed, 0 failed, 3 skipped** |
| Same pre-correction Release assembly excluding the new completion
fixture | 844 passed, 0 failed, 3 skipped | Control confirms the fixture
interaction; production dispatchers are not changed |
| Full Core Debug suite, local | Not used as the failing baseline |
**865 passed, 0 failed, 3 skipped** |
| Actual Controls host registration regression, iOS | New test fails:
two typed forwarders (`UseEssentials` and `ConfigureTestBuilder`) | **1
passed**, one activation and one completion |
| Actual Blazor host registration regression, iOS | New test fails for
the same two forwarders; 24 other tests pass, 1 skipped | **25 passed, 0
failed, 1 skipped** |

The native negative controls restored only the two original helper
files, verified byte-for-byte against the published source, and used
unchanged runtime/test inputs. The fixes were then restored and the
native runs repeated. The sample's inline callback was reviewed, but its
full local SDK 27 build remains blocked by the sample's pre-existing iOS
13.0 deployment minimum (SDK 27 requires 15.0); that unrelated sample
setting was not changed or bypassed. These local results do not claim
that the automated Mac Catalyst review gate or a new PR CI run has
completed successfully.

#### Scene URL/User-Activity Follow-up Validation

- Before the bridge, all five new native Essentials cases fail because
the scene registration collection is empty; the other 251 cases pass and
one is skipped.
- After the bridge, the native Essentials suite has **256 passed, 0
failed, 1 skipped**. Tests exercise the actual default-host
registrations, true/false results, activity URI/query preservation,
missing activity URLs, legacy application callback compatibility, and
empty scene URL contexts.
- Native Core execution has **10/10 passed**, including four
URL-iteration cases and the six existing AppActions cases. The
production iterator is tested with ordinary `NSUrl` values for
empty/all-unhandled/mixed-handled sequences and processing every URL
after an earlier success.
- No platform-owned `UIOpenUrlContext` is fabricated. The tests do not
claim a browser login or a system-generated nonempty URL-context
end-to-end run.
- iOS and Mac Catalyst Core source builds pass with **0
warnings/errors**. The full Core Release suite remains **865 passed, 0
failed, 3 skipped**.
- All **13 template/parser tests pass with the repository SDK
10.0.113**; the reported `CS9336` integration compile failure did not
reproduce with that SDK.

#### Native Mac Catalyst Validation

The follow-up to [the Mac Catalyst execution
request](#38601 (review))
runs the actual device-test apps on **macOS 27, `maccatalyst-arm64`**,
rather than counting iOS execution or successful compilation as Mac
evidence.

This exposed two test-host problems. The Essentials Mac app had no scene
manifest and was rejected by UIKit when built with SDK 27; XHarness
returned zero without a connected test protocol or result XML, which was
not treated as a pass. After scene adoption, the headless runner's
existing window was not associated with the real scene, and tests could
start before scene readiness. That caused ten
Screenshot/WindowStateManager failures and timing-dependent Core scene
precondition failures.

The correction stays in test infrastructure:

- Add Essentials' Mac Catalyst scene manifest and registered test scene
delegate.
- Use a shared `MauiTestSceneDelegate` for the Core and Essentials Mac
hosts. It attaches the existing application-owned headless window to
UIKit's actual `UIWindowScene`, preserves its controller, makes it
visible, and signals readiness.
- Defer headless execution only for scene-enabled Mac Catalyst hosts,
using a one-shot asynchronous readiness signal instead of sleeps or
retries. Visual and manifestless/iOS paths retain their existing
behavior.
- Fail explicitly for invalid headless initialization and refuse to
steal the shared runner window from another live scene.
- Add a native unhandled-shortcut case verifying `false`, exactly-once
completion, main-thread completion, and no AppActions event through the
SDK protocol entry point.

Final fresh-process results, repeated after the readiness correction:

| Native execution | Result |
| --- | --- |
| Core Mac Catalyst | **11/11 passed**: seven AppActions cases and four
URL iterator cases |
| Essentials Mac Catalyst | **246 passed, 0 failed, 8 skipped** out of
254; includes all 11 AppActions, five scene-authentication, and the ten
previously failing window/screenshot cases |
| Core iOS compatibility run | **11/11 passed** |

All relevant results were checked in fresh XML; no test was skipped to
conceal a failure. The Mac test apps use SDK 27/Xcode 27 and an explicit
**test-host** minimum of 17.0 with source-built Apple 26 product
references. Shared runner and app builds have zero warnings/errors, with
no SDK-validation bypass or fake SDK stamp. The new readiness gate
applies only to Core/Essentials among current scene-configured device
hosts; Controls, Graphics, BlazorWebView, and the runner sample have no
Mac scene manifest and retain immediate readiness.

These are native API-dispatch, marshalling, lifecycle, and UI-context
tests. They do not claim a macOS Home Screen quick-action invocation
surface or an OS-originated cold quick-action launch. The test hosts'
multi-scene configuration is also not a substitute for the separately
tested single-scene application-template policy.

#### Non-blocking Documentation and Contract-Coverage Follow-up

The follow-up to [the non-blocking review
suggestions](#38601 (review))
changes only XML documentation and one unit test:

- Document the existing `SceneOpenUrl` and `SceneContinueUserActivity`
delegates and fluent registrations. Connection-option URLs/activities
remain available through `SceneWillConnect` and are not automatically
replayed. Handoff activities can arrive separately through the
continuation callback after connection, so that API is not labeled
strictly warm-only.
- Add `FalseAndSilentHandlersDoNotCompleteOnReturn`: one registration
acknowledges `false`, a second is verified to run without acknowledging,
and aggregate completion remains pending when dispatch returns. It uses
the existing isolated builder and no sleeps, timeout, or intentionally
awaited pending task.
- Verify the test rejects an automatic-false-on-return mutation: its
count assertion fails with expected `0`, actual `1`. Restore the helper
byte-for-byte afterward; no mutation is shipped. This proves the
synchronous contract, not the absence of every possible future timer.
- The final completion fixture passes **22/22**; the full Core Release
suite passes **866 tests, 0 failed, 3 skipped**. Earlier tables retain
the results from their respective review stages.
- Both Apple Core source builds have **0 warnings/errors**. All four
documented members appear in each target's generated XML with resolved
references, including the no-replay and Handoff remarks.

There is no runtime behavior, callback signature, or public API baseline
change in this follow-up.

#### Scene-Fixture Keyboard-Observer Isolation

The replacement iOS device runs exposed an order-dependent test-fixture
regression: four existing Entry cursor tests failed after the new
AppActions scene fixture. Calling the real scene `WillConnect` raises
`OnPlatformWindowCreated`, whose default adapter installs process-wide
keyboard observers. Disposing the fixture restored its windows and
application globals but left those observers installed.

The correction is confined to `AppActionsLifecycleTests.iOS.cs`. Its
non-input scene fixture temporarily sets the existing
`ShouldDisconnectLifecycle` opt-out only around synchronous
`WillConnect`, restoring the exact previous value in `finally`. It does
not disconnect existing observers, reset keyboard state, alter
production keyboard behavior, or bypass window creation, `Created`,
activation, or native shortcut dispatch.

Four native theory cases cover both initial lifecycle preferences and
both unseeded/explicitly connected observer states. They verify the
window-created callback, exact flag restoration, and identity
preservation of all five observer tokens after connection and disposal.
Test cleanup removes only subscriptions created by that test;
pre-existing subscriptions are left intact.

Validation used fresh processes and actual XML:

| Check | Result |
| --- | --- |
| Controlled ordering, before correction | Existing cursor case passes
with no AppActions prelude and with the legacy prelude, but fails after
the warm scene prelude |
| Observer diagnostics, before correction | Same original key window is
restored, but all five tokens change from null to installed |
| Same warm-scene ordering, after correction | **1/1 passed**; all five
tokens and the lifecycle preference remain unchanged |
| AppActions and state-preservation cases, iOS 18.4 | **11/11 passed**,
including all four new theory rows |
| Full Core device suite, iOS 18.4 | **2,561 passed, 0 failed, 40
skipped** out of 2,601; includes all four previously failing cursor
cases |
| AppActions and state-preservation cases, Mac Catalyst / macOS 27 |
**11/11 passed**, with zero assembly/fixture errors |
| Both native test-host builds | **0 warnings/errors**, using SDK
27/Xcode 27 hosts and source-built Apple 26 product references |

The temporary ordering test, tracing, and owned simulator were removed.
The attempted full Mac suite timed out without final XML and is **not
counted as passed**; the fresh focused Mac run above completed
successfully. The file-based verification wrapper stopped at its
uncommitted-file guard before changing files or running tests; it did
not report `VERIFICATION PASSED`. The controlled before/after native
experiment supplies the regression evidence.

**Separate pre-existing coverage limitation:** the Entry cursor tests
can return without asserting cursor geometry when keyboard visibility is
not observed. Restoring fixture isolation returns them to their prior
behavior; their green results are not proof of keyboard-scrolling
coverage. That test-host/coverage issue is not hidden with extra waits
or bundled into this fixture correction.

### Important Constraints and Follow-up

- Do not replace the complete manifest with an empty dictionary or
rename MAUI's configuration constant.
- Do not enable multiple scenes merely to satisfy lifecycle adoption;
that changes window behavior and can enable automatic Mac Catalyst
tabbing.
- Do not use the launch storyboard as `UISceneStoryboardFile` or add
duplicate `Window` lifecycle forwarding to the template delegate.
- Do not remove the explicit Mac deployment minimum to avoid the error:
the SDK can default it to the target platform version rather than its
minimum. Do not lower the SDK's validation minimum.
- Keep the scene export's managed name and `Action<bool>` signature
aligned with the UIKit protocol; matching only the Objective-C selector
is insufficient for block conversion.
- Existing AppActions callbacks remain application-wide. A custom scene
delegate's native override receives the `UIWindowScene` when
scene-specific handling is required.
- Every shortcut lifecycle registration, including logging-only
observers, must acknowledge exactly once. Deferred asynchronous
acknowledgements remain supported; this change does not invent a timeout
or manufacture success for a handler that never responds.

### Issues Fixed

Fixes the launch-at-splash failure of newly generated .NET MAUI Apple
apps when built with the Xcode 27 SDKs, and the Mac Catalyst
app-template deployment-target build failure found while validating that
scenario.

The original report is tracked privately; no public GitHub issue is
linked.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b434e275-e79b-4c6b-a676-b914ea93ca24
<!-- 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!

### Description of Change

Consolidate `/review tests` around the existing `review-test-failures`
skill instead of maintaining competing analysis rules and report formats
in the skill, workflow, and local runner.

- Inspect `maui-pr`, `maui-pr-devicetests`, and `maui-pr-uitests`, even
when an optional build/check input prioritizes one pipeline.
- Collect an immutable PR diff, verify current-head build provenance,
and compare each pipeline with up to five previous completed runs on its
exact CI source branch, before the current build queued.
- Produce one structured comment with per-failure attribution, history,
evidence, and coverage gaps. Earlier failures on the PR branch are not
automatically classified as unrelated; legacy baseline/gate fields
remain available for compatibility, not as the skill's causal verdict.
- Preserve command authorization, dry-run behavior, and the one-comment
safe-output limit. Remove visual-asset publication and competing
formatting from the active workflow and local runner.
- Link the Markdown context to the richer JSON evidence, update
routing/documentation, and regenerate the workflow lock file.

Evidence collection is bounded. Missing results and incomplete
historical device/Helix coverage remain explicit rather than being
treated as passing evidence. This changes review tooling, not MAUI
runtime behavior.

### Validation

- 179 Pester tests passed across the collector, local report/command
handling, and review trigger suites.
- `gh aw compile copilot-review-tests --strict` succeeded with zero
warnings.
- Skill metadata/package validation and `git diff --check` passed.
- Exercised 17 frozen-evidence attribution cases with GPT and checked
their output assertions; the full Vally harness was unavailable locally.

No live comment-triggered run was performed.

### Issues Fixed

N/A - workflow improvement; no linked issue.

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
<!-- 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!

### Description of Change

Fixes OneLoc target-branch evaluation in the official pipeline by using
an Azure Pipelines compile-time template expression for `MirrorBranch`.

In [build
3079785](https://dev.azure.com/dnceng/internal/_build/results?buildId=3079785&view=results),
localization and GitHub App authentication succeeded, but the runtime
expression was passed literally to OneLoc as part of `/prtgtbranch`.
GitHub then returned `404 Branch not found` for that invalid branch
name.

The compile-time expression resolves `refs/heads/main` to `main` before
the value is inserted into the nested OneLoc template.

### Validation

Azure DevOps dry-run previews of the official `dotnet-maui` pipeline
definition parsed the complete template graph without creating a build:

- Baseline from `main`: `mirrorBranch: $[
replace(variables['Build.SourceBranch'], 'refs/heads/', '') ]`
- PR YAML against `refs/heads/main`: `mirrorBranch: main`

Persistent regression coverage now verifies that `ci-official.yml`
passes the compile-time expression to the nested OneLoc template:

- Added `eng/pipelines/ci-official.Tests.ps1` with an exact
`MirrorBranch` assignment assertion.
- Wired the test into `.github/workflows/powershell-script-tests.yml`
for changes to either the official pipeline or its test.
- Pester 5.9.0: 9 pipeline tests passed, including the new regression
test and the existing official-release pipeline tests.
- `git diff --check` passed.

The MAUI artifact dogfood command does not exercise this change because
it affects pipeline template expansion rather than product binaries. A
full PR validation build could not be self-authorized: Azure Pipelines
rejected the `/azp run` request for insufficient repository privileges.

### Existing PR Comparison

Searched open `dotnet/maui` pull requests for OneLoc, `MirrorBranch`,
branch, and localization fixes after independently determining the
solution. No equivalent open PR was found.

### Issues Fixed

Fixes #38663

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ca981fa5-8dc6-4a81-91a0-d9205e10180f
Copilot-Session: b83ddd94-a1da-4c3c-aead-1d1643a6b83f
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
<!-- 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!

### Description of Change

- Require manual live jobs to use the current default branch, a branch
ref, and the current default-branch workflow source.
- Add repository variable `SKILL_VALIDATION_STATIC_ONLY`; when exactly
`true`, static validation and reporting continue while live evaluation
jobs are skipped.
- Publish successful commit statuses and Check Runs titled exactly
`passed (static only)` when that mode is active and static validation
passes.
- Move the live jobs in both workflows to the dedicated
`skill-evaluation-pat-pool` environment.
- Add focused policy tests and a rollback-drill fixture covering
supported refs, source matching, static-only behavior, static failures,
unexpected skips, and restored live job selection.
- Fail normal manual evaluation legs after artifact upload when
evaluation does not complete successfully.

### Issues Fixed

N/A

### Tests

- `actionlint -shellcheck= .github/workflows/skill-validation.yml
.github/workflows/skill-evaluation-soak.yml`
- `ruby .github/scripts/TestSkillWorkflowModes.rb
.github/workflows/skill-validation.yml
.github/workflows/skill-evaluation-soak.yml
.github/scripts/fixtures/skill-workflow-policy/rollback-drill.json`
- `ruby .github/scripts/TestPrepareVallyEvaluation.rb
.github/scripts/PrepareVallyEvaluation.rb
.github/skills/try-fix/tests/eval.restore.vally.yaml
.github/skills/verify-tests-fail-without-fix/tests/eval.protocol.vally.yaml
.github/scripts/SetupVallyRuntime.sh .github/scripts/SelectVallyToken.sh
.github/workflows/skill-validation.yml`
- Strict lint of every `.github/skills/**/*.vally.yaml` spec with
`@microsoft/vally-cli@0.14.0`

### Administrator prerequisite

Not completed by this repository change: a dotnet/maui Actions
administrator must create and configure `skill-evaluation-pat-pool` with
the required secrets. Its deployment branch policy must allow only
`main` and exclude tags.

---------

Co-authored-by: PureWeen <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9e73594e-38bc-4937-80c8-cc054aa890d2
<!-- 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!

## Summary

- Compare the latest five completed runs of the exact PR target branch
for each of `maui-pr`, `maui-pr-devicetests`, and `maui-pr-uitests`,
without a PR-ref baseline, current-run time cutoff, or success-only
filter. Fix ordered-dictionary deduplication that dropped main/UI
checks.
- Distinguish omitted, inaccessible, and unverified evidence from
genuinely absent results; retain build failures and restrict fast skips
and `/azp run` guidance to genuinely absent results. Add scoped
read-only artifact access to the local runner, save its final model
response, and reject false aggregate skips.
- Preserve the styled Scope/Commit header, CI Analysis and Follow-up
accordions, and three pipeline sections without an overall
verdict/summary. Require direct failure links and red related, green
unrelated, and yellow Needs human investigation labels. Use
`gpt-6-astra` for the workflow, local runner, eval, and judge; update
documentation, tests, eval specifications, and the generated workflow
lock.

This focused change contains only 11 `.github` files based on `main`,
excluding unrelated DevFlow changes.

## Validation

- All 261 focused Pester tests passed in the clean-base worktree, with
no failures or skipped tests.
- `gh aw compile copilot-review-tests --strict` passed with gh-aw
v0.86.2 and zero warnings; regenerated lockfile unchanged.
- Ruby static eval-spec validation passed with `--validate-only
--allow-missing-trusted-control-ref`; `git diff --check` passed. Full
model-based Vally evaluation was not run because its executable was
unavailable.
- Live validation on #36226 replayed all 140 frozen checks and recovered
builds 1602706, 1602707, and 1602708. The main-pipeline failed-result
endpoint returned zero results without truncation; UI failed outcomes
and five comparable `net11.0` historical runs were verified. The
[existing
report](#36226 (comment))
was corrected and read back exactly. Unresolved snapshot/setup cases
remain yellow; not all UI failures were attributed.
- An additional GPT-6 Astra dry-run on #36474 found all three pipelines
and five completed `main` runs per pipeline. No report was posted. Its
output remained verbose at 423 words and 23 bullets, so report
conciseness is not yet fully resolved.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
)

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

### Description of Change

Restore the hosted `/review tests` workflow to the known-working GPT
model `gpt-5.6-sol` and make failures visible without relying on model
execution.

After #38689 changed the hosted model to `gpt-6-astra`, seven requests
failed in the gh-aw offline/BYOK provider-proxy route with `400 model
"gpt-6-astra" is not accessible via the /chat/completions endpoint`.
Safe outputs then found zero messages. This is hosted endpoint
incompatibility, not a universal GPT-6 outage or evidence of an
authentication failure. Local runner/evaluation models and the evidence
collection, latest-five target-branch comparison, and report-format
improvements remain unchanged.

- Add a separate trusted notification job after the agent and
safe-output publisher. On analysis/publication failure before a report
is posted, it posts fixed text and a run link. No raw logs, agent
artifacts, PR checkout, or model-based fallback are involved.
- Preserve exact-command and authorization gates, recheck collaborator
permissions, validate the target PR, and suppress notices for skipped,
irrelevant, unauthorized, canceled, or dry-run runs.
- Avoid duplicates using publication outputs and trusted same-run
report/notice markers, including reruns. Notification API errors fail
the job rather than silently discarding the notice.
- Enforce the normal safe-output PR target from trigger/dispatch data
and stage publication for `suppress_output=true`. Agent permissions stay
read-only.
- Regenerate the lock with gh-aw v0.86.2 and add focused compiled-script
fixtures and operational documentation.

### Evidence and validation

Representative failure:
https://github.com/dotnet/maui/actions/runs/35474684145/job/105982598316.

Earlier successful `gpt-5.6-sol` run:
https://github.com/dotnet/maui/actions/runs/35458573808, which published
#36226 (comment).

- `gh aw compile copilot-review-tests --strict` passed.
- **109 Pester tests passed**, none failed: `Review-Tests.Tests.ps1` and
`Review-TestsFailureNotification.Tests.ps1`.
- Fixtures execute the compiled notifier against isolated GitHub API
mocks: failure, success/already-published, rerun deduplication, dry-run,
rejected/irrelevant commands, target validation, and surfaced API
errors.
- `git diff --check` passed. No live review was dispatched and no
comments were posted to the seven affected PRs. Compilation/fixtures do
not prove current hosted model availability; the rollback relies on the
known-good live run above.

### Issues Fixed

Fixes missing follow-up `/review tests` comments after #38689; no
separate issue filed. Earlier full AI Summary reviews are unaffected.
This automation change is independent of SwipeView PR #38193.

### Maintenance note

Do not rely on an agent prompt to report model-startup failure. The
notification is deterministic trusted workflow code. With gh-aw v0.86.2,
its dependencies explicitly include both `activation` and
`pre_activation` to avoid a compiler-generated dependency cycle.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve current net11 dependency pins, Android template minimum, MainThread isolation, and alert-test navigation readiness. Combine incoming Apple APIs and workflow coverage, and keep simulator recovery pinned to the selected Xcode runtime with regression checks.

Align incoming reviewer test assertions with its existing GPT-6 Astra model selection.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
Retain the previously resolved main-to-net11.0 merge and incorporate the refreshed PR head without rewriting history.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the current net11 dependency pins, Windows CollectionView changes, and the existing forward-port conflict resolutions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
I detected changes in the main branch which have not been merged yet to
net11.0. I'm a robot and am configured to help you automatically keep
net11.0 up to date, so I've opened this PR.

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

* kubaflo
* PureWeen
* missymessa
* dalexsoto
* HarishKumarSF4517
* albyrock87
* praveenkumarkarunanithi
* Vignesh-SF3580
* TamilarasanSF4853
* dotnet-maestro[bot]

## Instructions for merging from UI

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

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

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

## Instructions for merging via command line

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

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

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

<details>
<summary>or if you are using SSH</summary>

```
git push git@github.com:dotnet/maui HEAD:merge/main-to-net11.0
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

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

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

<details>
    <summary>or if you are using SSH</summary>

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

</details>

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

---------
Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Reset patterns:
- global.json
- NuGet.config
- eng/Version.Details.xml
- eng/Versions.props
- eng/common/*
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Auto-approved automated inter-branch merge.

@kubaflo
kubaflo disabled auto-merge September 22, 2026 17:24
@kubaflo
kubaflo merged commit a74d08a into release/11.0.1xx-rc2 Sep 22, 2026
1 of 12 checks passed
@kubaflo
kubaflo deleted the merge/net11.0-to-release/11.0.1xx-rc2 branch September 22, 2026 17:25
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Sep 22, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants