Skip to content

[release/11.0.1xx] Update Android dependencies and restore full CI coverage - #39718

Merged
kubaflo merged 3 commits into
release/11.0.1xxfrom
darc-release/11.0.1xx-b4bb0f42-c30f-4ba9-91c4-e82948f191ef
Oct 28, 2026
Merged

kubaflo merged 3 commits into
release/11.0.1xxfrom
darc-release/11.0.1xx-b4bb0f42-c30f-4ba9-91c4-e82948f191ef

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Oct 28, 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 release/11.0.1xx. Updates Android SDK 37.2.21 → 37.2.24 while retaining the target branch's coherent Apple SDK 27.0.12230 pins, matching the Xcode 27.0 available in CI.

From https://github.com/dotnet/android

CI blocker

The proposed macios 27.0.12260 update requires Xcode 27.1, but the actual CI image inventory has Xcode 27.0 and 26.6. Both framework build configurations and the macOS sample integration tests fail on this mismatch in maui-pr 1651992.

The same error fails the shared CoreCLR UI-test app build in maui-pr-uitests 1652139, causing the Android CoreCLR, Android SafeAreaEdges, iOS, and MacCatalyst stages to be skipped. These platform stages already exist; no stage exclusions or permissive success conditions are needed.

Defer the incompatible MacCatalyst, macOS, and tvOS updates, restoring their matching source SHAs and removing the now-unused macios feed. Remove two identical VMR feed entries added by dependency automation. This follows the compatible-pin approach already merged in #39607, rather than disabling Xcode validation or downgrading CI coverage. The Apple update must wait for compatible packages or Xcode 27.1-capable CI agents.

Validation — final results

Published fix: bdcb86a, validated through merge commit d303398.

  • git diff --check — passed.
  • XML parsing, dependency/property version consistency, Apple version/source coherence, and unique NuGet feed-key checks — passed.
  • No production code, test exclusions, or pipeline YAML changes.

maui-pr: build 1652365 completed with Build .NET MAUI, Pack .NET MAUI, and Run Integration Tests all succeeded, including macOS Debug/Release and Samples macOS. The original Apple SDK/Xcode failure is fixed.

The overall maui-pr check is still red: both Windows Helix submissions fail with HTTP 403 KeyBasedAuthenticationNotPermitted, before tests can be submitted. One targeted retry of only the failed Helix stage reproduced the rejection at 12:16–12:17 UTC (retry log 1282); successful stages were not rerun. The same rejection is confirmed on main, net11.0, and the exact release target branch. This requires Helix storage/service-owner repair, not a repository authentication bypass or test suppression.

Full UI matrix: build 1652366 completed at 2026-10-28 13:14 UTC. All 121 configured jobs ran; zero jobs were skipped. Final job outcomes: 116 succeeded, 3 failed, 2 timed out. Four jobs build app artifacts; the remaining 117 invoke the configured test shards.

Actual per-run test results, including pagination, confirm 116 distinct nonempty shards, all with completed result sets:

Platform Configured test jobs Nonempty published shards
Android, including Material3 and SafeAreaEdges 30 30
iOS 29 29
MacCatalyst 29 29
Windows, including CV1 29 28

The remaining Windows SafeAreaEdges job did invoke the test runner, but its compiled assembly reports no tests matching that category. It is not counted as a nonempty tested shard. Platform-specific exclusions are unchanged.

An iOS checkout disconnected before tests could start. Retrying only the two failed iOS jobs recovered that missing shard: 276 reported cases, 271 passed, 5 platform skips. The previously failing iOS screenshot also passed on the unchanged artifact in the fresh attempt. The entire iOS stage is green. Historical failed results remain available; the result inventory contains 117 runs for 116 distinct nonempty shard names because the iOS screenshot shard was replayed.

The UI check is not wholly green. Remaining results were not hidden or fixed by replacing baselines:

  • Android Material3 ShellBackgroundColorIsApplied: baseline dimensions 1440×2737 versus actual 1440×2796. The identical failure occurs before this fix in build 1652139 and on target-branch run 45908824.
  • Windows Shell VerifyShellSearch_TextColor and VerifyShellSearch_TextTransformUppercase: 0.70% screenshot differences, also present before this fix and in target-branch evidence.
  • MacCatalyst Layout ValidateBackgroundColorDoesNotAffectInputTransparent: element timeout, matching target-branch run 45911140.
  • MacCatalyst Shell SearchHandlerQueryIconUpdatesAtRuntime: 0.51% screenshot difference; unmatched exact case against the inspected target results. A different SearchHandler screenshot failed on the latest target attempt; that is not proof this exact failure is pre-existing.
  • MacCatalyst WebViewCanGoForwardShouldHaveValueAfterNavigation: Appium command timeout after 45 seconds; unmatched, and the inspected target run passed it.

The MacCatalyst Layout and Shell jobs hit their 180-minute limits during automatic task retries, after completing their first full test passes. Raw logs and published results confirm 193 Layout cases and 345 Shell cases, matching target-branch case counts (Layout log, Shell log). These are executed test failures/retry timeouts, not the original skipped-platform coverage gap.

Issues Fixed

Fixes the observed maui-pr Apple SDK/Xcode incompatibility and the shared UI-test build failure that skipped non-Windows platform coverage in this PR. No separately filed issue. Overall CI is not claimed green: the external Helix authentication blocker and the UI failures above remain explicit.

….1xx-446d10b89b9723051da1384bfa4cd439a5500369-1

On relative base path root
Microsoft.Android.Sdk.Windows From Version 37.2.21 -> To Version 37.2.24
@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 -- 39718

Or

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

@azure-pipelines

This comment has been minimized.

@dotnet-policy-service dotnet-policy-service Bot added area/infrastructure 🏗️ area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions labels Oct 28, 2026
…027.20

On relative base path root
Microsoft.MacCatalyst.Sdk.net11.0_27.0 , Microsoft.macOS.Sdk.net11.0_27.0 , Microsoft.tvOS.Sdk.net11.0_27.0 From Version 27.0.12230 -> To Version 27.0.12260
@dotnet-maestro dotnet-maestro Bot changed the title [release/11.0.1xx] Update dependencies from dotnet/android [release/11.0.1xx] Update dependencies from dotnet/android, dotnet/macios Oct 28, 2026
Keep the Android 37.2.24 update while deferring macios 27.0.12260, which requires Xcode 27.1 unavailable on the CI image. Restore the matching Apple dependency SHAs and remove unused and duplicate feeds so the shared UI app build can unblock every platform.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4df76835-abaa-4a4c-9fec-321e65f30991
@kubaflo kubaflo changed the title [release/11.0.1xx] Update dependencies from dotnet/android, dotnet/macios [release/11.0.1xx] Update Android dependencies and restore full CI coverage Oct 28, 2026
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@kubaflo

kubaflo commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Pushed bdcb86a to retain the Xcode-27.0-compatible Apple SDK pins while keeping Android 37.2.24. No pipeline stages or tests were disabled.

In maui-pr-uitests 1652366, all four app-build stages now pass. Android CoreCLR, Android SafeAreaEdges, Android Material3, iOS, MacCatalyst, WinUI, and WinUI CV1 execution stages have all started instead of the non-Windows stages being skipped. Actual test publication is still pending; this is not yet a claim that every shard completed.

maui-pr 1652365 has passed macOS Debug and both Pack jobs, but is not green: both Windows Helix submissions fail with HTTP 403 KeyBasedAuthenticationNotPermitted. The same storage rejection appears in contemporaneous main build 1652359 and net11.0 build 1652368. This requires Helix storage/service-owner attention, not an Xcode-validation bypass or test suppression. The remaining framework/integration jobs are still running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant