Skip to content

[net11.0] Ship GA API baselines and correct Android screenshot cropping - #39586

Closed
kubaflo wants to merge 3 commits into
net11.0from
kubaflo-net11-ga-preparation
Closed

kubaflo wants to merge 3 commits into
net11.0from
kubaflo-net11-ga-preparation

Conversation

@kubaflo

@kubaflo kubaflo commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Note

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

Description of Change

Intentionally targets net11.0, as the counterpart of the GA API-baseline rollover in #39474. The original GA PR remains open and unchanged.

Also incorporates the Android status-bar screenshot-cropping correction from #39545, with pixel-preserving baseline adaptation described below. The original #39545 remains unchanged.

The API port started from net11.0 base 94c833d0d23e20062f375d96c980ebf427be1249; the branch subsequently integrated target e6d22838eabafdce06753be819dd7ea4e9ccb797 by a normal merge. The API inventory changes come from 601a5694eb92bf63dbad6882b0347c85bf77b17c, whose rollover uses the existing eng/scripts/mark-shipped.ps1 workflow documented in docs/design/APIChangeTracking.md. No rebase or force push.

  • Move the same 4,609 existing GA API entries into shipped inventories and apply the same 35 explicit *REMOVED* directives. Every removal matches an existing shipped record; replacement signatures and analyzer-generated ~ markers are preserved.
  • The API portion changes exactly 116 baseline text files / 58 pairs for Core, Core Maps, Controls.Core, Controls.Maps, Controls.Xaml, Essentials, Graphics, and the tracked MAUI/WPF BlazorWebView inventories. No product API definition or implementation changes.
  • Preserve all 34 net11-only entries as unshipped, byte-for-byte and in their existing order: four finalizers across the seven Controls.Core inventories, plus six Android WebView/HybridWebView overrides. These were added after the GA branch diverged and are not silently declared shipped by this port. Fifty changed unshipped files become nullable-directive-only; the other eight retain those newer entries.
  • Leave the other 12 existing baseline pairs byte-identical. The GTK backend and its baseline files were removed on net11.0; this port does not restore them.
  • No dependency, SDK, package/preview version, analyzer-release Markdown, pipeline, main/SR1, or GA-branch changes.

The GA shipped inventories are byte-identical to the source PR. Each resulting unshipped file is exactly the source PR's nullable directive plus that file's net11-only appended entries. The effective API set of every current target inventory is unchanged; this moves existing records between shipped/unshipped rather than changing APIs.

Android screenshot cropping -- #39545

Adapt the change by Ahamed-Ali from source 5bfc7c785723c624942271e4f064fe9d74ead215 in #39545:

  • Read the default Android top crop from App.GetSystemBars() / statusBar.height, rather than fixed 60/112-pixel values. Malformed/missing status-bar data and negative heights fail explicitly.
  • Preserve explicit cropTop overrides, bottom/side cropping, comparison tolerances, assertions, existing retry behavior, and other platforms.
  • Update the UI-testing architecture documentation, including the requirement to preserve application pixels when recropping.

Baseline adaptation is deliberately not a blind copy of every source image. The complete source PR contains 2,415 PNG changes. A decoded-RGBA audit found only 160 exact top crops; 400 also change the last row, 1,850 change additional pixels, four landscape images grow, and one added file is a generated *-diff.png. Those differences are not all certified crop-only changes.

This branch instead updates 2,414 existing expected baselines, preserving the current target's rendered pixels and PNG color metadata:

  • 2,410 images are exact top crops of the existing target baselines: three additional pixels for API 30, or 59 for API 36 portrait.
  • Four API 36 landscape images expose 28 previously excluded top rows. Only those newly exposed rows come from [net11] Fix Android screenshot cropping using reported status bar height #39545; every pixel of the previously tested image body is retained. Those newly exposed regions still require device/CI validation.
  • Do not add the generated Material3CheckBox_Click_VerifyVisualState-diff.png as an expected baseline.

Every result was reopened and compared against its expected decoded pixel buffer. Palette transparency and applicable gamma/ICC/sRGB metadata were preserved and verified. This proves the transformation, not native rendering correctness or that every CI failure is fixed. No unrelated rendering replacement, tolerance increase, new retry, skip, or product-code workaround is included.

Combined scope against the integrated target: 2,532 paths -- 116 API text files, 2,414 expected PNGs, the shared screenshot helper, and its documentation.

API validation retained from the original API-only head

Used the existing private .NET SDK 11.0.100 installation, not the default installed 11.0 preview SDK. No SDK/workload version override or analyzer suppression was introduced.

Prerequisite build -- passed, 0 warnings / 0 errors:

dotnet build Microsoft.Maui.BuildTasks.slnf -c Release \
  -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false \
  -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false \
  -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false \
  --nologo -v:quiet

The initial --no-restore prerequisite attempt failed because this worktree had no restored assets/reference assemblies. The normal restore/build above resolved those prerequisites without source or configuration changes.

Public-API analyzer Release rebuilds -- all four passed, each with 0 warnings / 0 errors:

for project in \
  src/Graphics/src/Graphics/Graphics.csproj \
  src/Essentials/src/Essentials.csproj \
  src/Core/src/Core.csproj \
  src/Controls/src/Core/Controls.Core.csproj; do
  dotnet build "$project" -f net11.0 -c Release -t:Rebuild \
    -p:PublicApiType=Validate \
    -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false \
    -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false \
    -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false \
    --nologo -v:quiet
done

Formatting verification -- passed, no changes, scoped to the 116 changed API files:

# Run before committing, with the baseline port as the only worktree diff.
import subprocess
paths = subprocess.check_output(["git", "diff", "--name-only"], text=True).splitlines()
subprocess.run([
    "dotnet", "format", "Microsoft.Maui.sln", "--no-restore",
    "--exclude", "Templates/src", "--exclude-diagnostics", "CA1822",
    "--include", *paths, "--verify-no-changes", "--verbosity", "quiet"
], check=True)

Independent session-artifact inventory validation -- passed across all 70 current baseline pairs. It verifies:

  • exact 116-file API scope and byte equality of every new shipped file with [api] Mark .NET 11 GA APIs as shipped #39474;
  • (old shipped union old additions) minus explicit removals equals the source rollover's shipped inventory, without duplicates or tombstones;
  • all 35 removed records existed, and other prior shipped lines retain their exact text and relative order;
  • all 34 newer target-only entries remain unshipped in their original order;
  • target effective API sets are unchanged for every pair;
  • the 12 excluded pairs are byte-identical and the removed GTK inventory remains absent.

git diff --check -- passed.

These are inventory, neutral managed build/analyzer, and formatting checks. Native Android/Apple/Windows/Tizen builds, device/UI tests, signing/packaging, and the full CI suite were not run locally. No XCTest or MacCatalyst UI automation was performed; CI is reported separately.

Upstream open net11.0 API-shipping work was checked before publication; no existing counterpart was found.

Combined-change checks and CI boundary

  • All 70 current API inventory pairs reverified after the normal target merge and screenshot integration: passed, with the original 34 newer entries still unshipped.
  • Exact combined file-set check and git diff --check: passed.
  • Full source-image audit and independent pixel-preserving regeneration/reverification of all 2,414 expected baselines: passed.
  • A supplemental .NET 11 console projection of the actual source crop computation passed 24 checks: Android heights 0/63/84/171, read-only dictionary payload, explicit-override query bypass, unchanged iOS/Windows/Mac defaults, and explicit malformed/negative input errors. This is not compilation/execution of the full UI assembly.
  • Repository formatting applied/verified on the shared screenshot helper: passed. An initial formatting check found whitespace issues; the final check reports no changes.

Actual UI assembly compilation, API 30/API 36 visual execution, and the rest of CI remain separate gates. The previous API-only head's CI had real exact-base XAML/device failures, Windows packaged pre-test deployment failures, and unfinished/unmatched UI results. Those have not been relabeled as green or waived by this crop change. Fresh combined-head CI is required before claiming all tests pass.

Issues Fixed

Requested net11.0 counterpart of #39474 and Android screenshot-cropping correction from #39545. This does not close or retarget either original PR. No additional issue-closing claim.

Port the API inventory rollover from 601a569 (#39474). Preserve the 34 newer net11-only unshipped records and leave the removed GTK backend absent.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 926bbbf9-c70b-4536-887e-adc384c04b56
Copilot AI balanced review requested due to automatic review settings October 23, 2026 10:52
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 23, 2026 10:52 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

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

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

Or

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

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool October 23, 2026 10:52 — with GitHub Actions Inactive
@azure-pipelines

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The available evidence covers only 65 of the described 116 changed files, and current required CI results remain unverified.

No open issues 🎉

What changed in this PR

Ports the .NET 11 GA API-baseline rollover from #39474 to net11.0, recording existing APIs as shipped without changing product implementations.

Changes:

  • Moves existing GA API records from unshipped to shipped inventories.
  • Applies previously recorded removals while preserving replacement signatures and nullability markers.
  • Retains newer net11.0-only entries as unshipped, as described in the PR.

The supplied review covers 65 of the 116 files described in the PR; full-change verification and current CI results remain outstanding.

File Description
src/​Graphics/​src/​Graphics/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​netstandard/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-windows/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-tizen/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-macos/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-macos/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-maccatalyst/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-ios/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears rolled-over Color entries.
src/​Graphics/​src/​Graphics/​PublicAPI/​net-android/​PublicAPI.Shipped.txt Records 40 Color entries as shipped.
src/​Essentials/​src/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Clears GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears Windows GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears Tizen GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears MacCatalyst GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears iOS GA entries and removal directives.
src/​Essentials/​src/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears Android GA entries and removal directives.
src/​Core/​src/​PublicAPI/​netstandard2.0/​PublicAPI.Unshipped.txt Resets Core inventory to nullable directive.
src/​Core/​src/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Resets Core inventory to nullable directive.
src/​Core/​src/​PublicAPI/​net/​PublicAPI.Unshipped.txt Resets Core inventory to nullable directive.
src/​Core/​src/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears Windows Core GA entries.
src/​Core/​src/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears Tizen Core GA entries.
src/​Core/​src/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears MacCatalyst Core GA entries.
src/​Core/​maps/​src/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Clears Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears Windows Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears Tizen Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears MacCatalyst Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears iOS Core Maps GA entries.
src/​Core/​maps/​src/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears Android Core Maps GA entries.
src/​Controls/​src/​Xaml/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Clears rolled-over XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​netstandard/​PublicAPI.Shipped.txt Records extensions and component registry APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears rolled-over XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net/​PublicAPI.Shipped.txt Records extensions, registry, and Hot Reload APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears rolled-over Windows XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net-windows/​PublicAPI.Shipped.txt Records Windows XAML GA APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears rolled-over Tizen XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net-tizen/​PublicAPI.Shipped.txt Records Tizen XAML GA APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears rolled-over MacCatalyst XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net-maccatalyst/​PublicAPI.Shipped.txt Records MacCatalyst XAML GA APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears rolled-over iOS XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net-ios/​PublicAPI.Shipped.txt Records iOS XAML GA APIs.
src/​Controls/​src/​Xaml/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears rolled-over Android XAML entries.
src/​Controls/​src/​Xaml/​PublicAPI/​net-android/​PublicAPI.Shipped.txt Records Android XAML GA APIs.
src/​Controls/​Maps/​src/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Clears Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears Windows Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears Tizen Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears MacCatalyst Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears iOS Controls Maps GA entries.
src/​Controls/​Maps/​src/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears Android Controls Maps GA entries.
src/​BlazorWebView/​src/​Wpf/​PublicAPI.Unshipped.txt Clears WPF additions and removal directives.
src/​BlazorWebView/​src/​Wpf/​PublicAPI.Shipped.txt Records IWebView2 signatures and composition-control options.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net/​PublicAPI.Unshipped.txt Clears MAUI BlazorWebView GA entries.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net-windows/​PublicAPI.Unshipped.txt Clears Windows BlazorWebView GA entries.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net-tizen/​PublicAPI.Unshipped.txt Clears Tizen BlazorWebView GA entries.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net-maccatalyst/​PublicAPI.Unshipped.txt Clears MacCatalyst BlazorWebView GA entries.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net-ios/​PublicAPI.Unshipped.txt Clears iOS BlazorWebView GA entries.
src/​BlazorWebView/​src/​Maui/​PublicAPI/​net-android/​PublicAPI.Unshipped.txt Clears Android BlazorWebView GA entries.

Review effort: Balanced

@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

Preserve the API rollover while incorporating the current target branch for CI validation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 926bbbf9-c70b-4536-887e-adc384c04b56
Adapt #39545 at 5bfc7c7. Keep explicit crop overrides and comparison policy unchanged. Re-crop current goldens without importing unrelated rendering replacements: 2410 exact top crops and four landscape top extensions preserving every previously tested body pixel. Exclude the generated diff-image artifact.

Co-authored-by: Ahamed-Ali <102580874+Ahamed-Ali@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 926bbbf9-c70b-4536-887e-adc384c04b56
Copilot AI balanced review requested due to automatic review settings October 23, 2026 17:22
@kubaflo kubaflo changed the title [net11.0][api] Mark .NET 11 GA API baselines as shipped [net11.0] Ship GA API baselines and correct Android screenshot cropping Oct 23, 2026
@kubaflo

kubaflo commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

/review expert-review

@kubaflo

This comment has been minimized.

@kubaflo

This comment has been minimized.

@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

1 similar comment
@azure-pipelines

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 Oct 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The extensive image changes were outside the supplied diffs, and combined-head Android UI validation remains unverified.

No open issues 🎉

Review effort: Balanced

@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 39ec895.

Source assessment incomplete (9/10 dimensions); finding count is partial.

See inline comments for details.

@@ -426,12 +426,29 @@ but both can happen.

var actualImage = new ImageSnapshot(screenshotPngBytes, ImageSnapshotFormat.PNG);

int androidStatusBarHeight = 0;
if (_testDevice == TestDevice.Android && cropTop <= 0)

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 new status-bar validation and query-bypass branches have no committed regression tests. Existing screenshot callers exercise normal device responses, but cannot distinguish the important negative cases: a positive cropTop must succeed without querying system bars even when that query would fail, and a reported height of zero must be accepted while a negative or missing height must fail. The supplemental console projection is not a repository test of this helper, so a regression in these branches is not protected by it. Add automated tests against the actual crop implementation with discriminating payloads and a query-call assertion for the explicit-override case.

@MauiBot

MauiBot commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification for commit 39ec8955.

Result INCONCLUSIVE Platform Android Commit 39ec8955


🧪 Gate analysis — click to expand

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

🖥 UI tests
Test group Without fix With fix
AbsoluteLayoutFeatureTests ⚠ Environment blocked ⚠ Environment blocked
Issue32277 ⚠ Build blocked ⚠ No matching tests

Coverage gap: some detected groups were omitted by the verifier. Inspect the complete report before treating this as full coverage.

Execution log excerpts

Without fix Issue32277

/home/vsts/work/1/s/.dotnet/packs/Microsoft.Android.Sdk.Linux/37.2.15/tools/Xamarin.Android.Common.Debugging.targets(378,5): error ADB0010: Timed out waiting for data from device. [/home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj::TargetFramework=net11.0-android]
/home/vsts/work/1/s/.dotnet/packs/Microsoft.Android.Sdk.Linux/37.2.15/tools/Xamarin.Android.Common.Debugging.targets(378,5): error ADB0010: adb: failed to install /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.HostApp/Debug/net11.0-android/com.microsoft.maui.uitests-Signed.apk: cmd: Failure calling service package: Broken pipe (32) [/home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj::TargetFramework=net11.0-android]
/home/vsts/work/1/s/.dotnet/packs/Microsoft.Android.Sdk.Linux/37.2.15/tools/Xamarin.Android.Common.Debugging.targets(378,5): error ADB0010: ADB transport recovery: [/home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj::TargetFramework=net11.0-android]
/home/vsts/work/1/s/.dotnet/packs/Microsoft.Android.Sdk.Linux/37.2.15/tools/Xamarin.Android.Common.Debugging.targets(378,5): error ADB0010: Recovery failed: System.TimeoutException: Timed out waiting for the Android package manager on device 'emulator-5554' after 10 seconds. Last response: exit code 20: cmd: Can't find service: package [/home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj::TargetFramework=net11.0-android]
/home/vsts/work/1/s/.dotnet/packs/Microsoft.Android.Sdk.Linux/37.2.15/tools/Xamarin.Android.Common.Debugging.targets(378,5): error ADB0010:    at Xamarin.Android.Tools.AdbRunner.WaitForPackageManagerAsync(String serial, Nullable`1 timeout, TimeSpan pollInterval, CancellationToken cancellationToken) [/home/vsts/work/1/s/src/Controls/tests/TestCases.HostApp/Controls.TestCases.HostApp.csproj::TargetFramework=net11.0-android]
/home/vsts/work/1/s/.dotnet/packs/Microsoft.Andr

With fix Issue32277

.Android.Tests.dll (.NETCoreApp,Version=v11.0)
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.8.2+699d445a1a (64-bit .NET 11.0.0)
[xUnit.net 00:00:00.24]   Discovering: Controls.TestCases.Android.Tests
[xUnit.net 00:00:00.47]   Discovered:  Controls.TestCases.Android.Tests
NUnit Adapter 4.5.0.0: Test execution started
Running selected tests in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll
   NUnit3TestExecutor discovered 0 of 0 NUnit test cases using Current Discovery mode, Explicit run
NUnit Adapter 4.5.0.0: Test execution complete
No test matches the given testcase filter `FullyQualifiedName~Issue32277.FlyoutPageModalAppBarLayoutGetsInsets` in /home/vsts/work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Debug/net11.0/Controls.TestCases.Android.Tests.dll
Results File: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/FullyQualifiedName_Issue32277.FlyoutPageModalAppBarLayoutGetsInsets.trx
>>> TRX_RESULT_FILE: /home/vsts/work/1/s/CustomAgentLogsTmp/UITests/TestResults/FullyQualifiedName_Issue32277.FlyoutPageModalAppBarLayoutGetsInsets.trx

PR head: 39ec8955.

Without-fix baseline: 4ef2769e.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Oct 23, 2026
@kubaflo kubaflo closed this Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants