Skip to content

[release/11.0.1xx] Update Android dependencies and fix CI blockers - #39607

Merged
kubaflo merged 3 commits into
release/11.0.1xxfrom
darc-release/11.0.1xx-bf423e02-98cc-4648-a44f-a472411947cd
Oct 24, 2026
Merged

kubaflo merged 3 commits into
release/11.0.1xxfrom
darc-release/11.0.1xx-bf423e02-98cc-4648-a44f-a472411947cd

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Oct 24, 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 the Android SDK to 37.2.21 and addresses the observed maui-pr blockers without bypassing Xcode validation or suppressing test failures.

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

Apple dependency update deferred

The incoming macios build 27.0.12253 (commit 6c469069e3a6db121e221992cc429c7025be88a1) requires Xcode 27.1. Build 1647733, log 224 fails its MacCatalyst build on that requirement. Its Xcode selection log confirms that the GoldenGate agent provides Xcode 27.0, not 27.1. The upstream Make.config changes XCODE_VERSION from 27.0 in e4732a6dcad66fe70491ad3f808db1e3f2a04541 to 27.1 in 6c469069e3a6db121e221992cc429c7025be88a1.

Retain 27.0.12230 for MacCatalyst, macOS and tvOS, matching the unchanged iOS SDK and the target branch. Restore their matching source SHAs and remove the unused new macios feed. The Apple update must wait for compatible upstream packages or Xcode 27.1-capable CI agents. Also remove two identical VMR feed entries introduced by dependency automation.

SVG test cleanup

Windows Debug's FastestQualityAffectsCameraSvgUpscaling fails during fixture disposal with an IOException deleting a locked temporary output (Helix job 51edf401-959b-4e5e-bad0-29709b24c925). Both SVG resize fixtures now use BaseTest's isolated output directory and existing bounded cleanup retries. Persistent errors still fail. Remove the shared output.png debug copy; assertions and production image processing are unchanged.

The closed, unmerged #37883 used this cleanup pattern for the older Resize fixture. This change includes the currently failing ResizeQualityTests fixture as well and follows the already-merged raster fixture pattern from #38806.

Validation

Local validation used the installed 11.0.100-preview.6.26359.118 SDK, not the branch-pinned RTM SDK, on macOS:

  • dotnet test src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Debug -p:BuildTaskOnlyBuild=true -p:CI=true --filter 'FullyQualifiedName~SkiaSharpSvgToolsTests' --verbosity minimal — passed: 29 tests.
  • dotnet test src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Debug -p:BuildTaskOnlyBuild=true -p:CI=true --no-restore --verbosity minimal — passed: 792 passed, 2 platform skips, 0 failed.
  • dotnet test src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj -c Release -p:BuildTaskOnlyBuild=true -p:CI=true --no-restore --verbosity minimal — passed: 792 passed, 2 platform skips, 0 failed.
  • dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/SingleProject/Resizetizer/test/UnitTests/SkiaSharpSvgToolsTests.cs --verbosity quiet — passed.
  • git diff --check and XML parsing/pin/source-key consistency checks — passed.

Remote maui-pr validation passed: build 1647977 completed Succeeded at 2026-10-24 13:43:34 UTC, validating PR head 6eb567daa46a6d28b25f8ef78e8ed79f03f0ea19 through merge commit e597d700a68682921de4e364281717989dc6cbad. Both macOS framework build configurations succeeded. The Helix monitor confirms all four unit-test jobs succeeded, with 44 passed work items and zero failed work items. The Windows Debug Resizetizer work item executed 795 cases: zero errors, zero failures, two platform skips. This verifies a successful Windows run, not a guarantee that every possible transient lock is eliminated. No local Apple app build, XCTest, or UI automation was run.

The original NativeAOT integration leg was canceled while its Git checkout was only 35% complete; the later missing eng/init.gradle is downstream of that incomplete checkout, not an absent tracked file. No Gradle workaround or test suppression is included. The replacement maui-pr run completed successfully.

Issues Fixed

Addresses the observed Apple SDK/Xcode incompatibility and SVG fixture cleanup failures in maui-pr build 1647733. No separately filed issue.

….1xx-707d5dca3f01c5857d14f67c8503f3764b78de5f-1

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

Or

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

@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 24, 2026
…023.5

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.12253
@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 24, 2026
Retain the Xcode 27.0-compatible macios build while preserving the Android update. The incoming macios build requires Xcode 27.1, which is not installed on GoldenGate. Remove the unused incoming feed and duplicate VMR sources.\n\nUse the existing isolated BaseTest cleanup for SVG resize and quality tests so transient Windows file locks receive bounded retries.

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

Copilot-Session: 24ae3242-e489-4ebd-9036-4bd395f61426
@kubaflo kubaflo changed the title [release/11.0.1xx] Update dependencies from dotnet/android, dotnet/macios [release/11.0.1xx] Update Android dependencies and fix CI blockers Oct 24, 2026
@kubaflo
kubaflo merged commit 9b49a46 into release/11.0.1xx Oct 24, 2026
189 of 202 checks passed
@kubaflo
kubaflo deleted the darc-release/11.0.1xx-bf423e02-98cc-4648-a44f-a472411947cd branch October 24, 2026 17:07
@github-actions github-actions Bot added this to the .NET 11.0 GA milestone Oct 24, 2026
kubaflo added a commit that referenced this pull request Oct 24, 2026
Windows Release Helix failed FastestQualityAffectsCameraSvgUpscaling only during fixture disposal with a temporary-file sharing violation. Reuse the BaseTest isolated output directory and bounded, logged cleanup retries already used by the raster fixtures and proposed for SVG fixtures in #39607. Preserve every image assertion and fail on exhausted cleanup retries; remove the shared output.png debug copy.

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

Copilot-Session: 663a607b-5655-4e62-b866-ccaf1270eb84
kubaflo added a commit that referenced this pull request Oct 28, 2026
…verage (#39718)

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

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

### Description of Change

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

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.

[marker]: <> (Begin:dd7cfc83-01ef-4e81-9c5f-0275227f2fa5)
## From https://github.com/dotnet/android
- **Subscription**:
[dd7cfc83-01ef-4e81-9c5f-0275227f2fa5](https://maestro.dot.net/subscriptions?search=dd7cfc83-01ef-4e81-9c5f-0275227f2fa5)
- **Build**:
[11.0.1xx-446d10b89b9723051da1384bfa4cd439a5500369-1](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15829187)
([338535](https://maestro.dot.net/channel/8298/github:dotnet:android/build/338535))
- **Date Produced**: October 27, 2026 5:03:49 PM UTC
- **Commit**:
[446d10b89b9723051da1384bfa4cd439a5500369](dotnet/android@446d10b)
- **Branch**:
[release/11.0.1xx](https://github.com/dotnet/android/tree/release/11.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [37.2.21 to 37.2.24][1]
     - Microsoft.Android.Sdk.Windows

[1]: dotnet/android@707d5dc...446d10b

[DependencyUpdate]: <> (End)

[marker]: <> (End:dd7cfc83-01ef-4e81-9c5f-0275227f2fa5)

#### CI blocker

The proposed macios **27.0.12260** update requires **Xcode 27.1**, but
[the actual CI image
inventory](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1651992/logs/25)
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](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1651992).

The same error fails the shared CoreCLR UI-test app build in
[maui-pr-uitests
1652139](https://dev.azure.com/dnceng-public/public/_build/results?buildId=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: **bdcb86aee042a597668003deb482f2b48b69cf92**, validated
through merge commit **d303398ad80f0849f279e01fb4ce06e72a2cf523**.

- `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](https://dev.azure.com/dnceng-public/public/_build/results?buildId=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](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652365/logs/1282));
successful stages were not rerun. The same rejection is confirmed on
[main](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652359/logs/196),
[net11.0](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652368/logs/165),
and the [exact release target
branch](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652399/logs/114).
This requires Helix storage/service-owner repair, not a repository
authentication bypass or test suppression.

**Full UI matrix:** [build
1652366](https://dev.azure.com/dnceng-public/public/_build/results?buildId=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](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652366/logs/2202).
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](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652366/logs/4501),
[Shell
log](https://dev.azure.com/dnceng-public/public/_apis/build/builds/1652366/logs/4512)).
These are executed test failures/retry timeouts, not the original
skipped-platform coverage gap.

### Issues Fixed

<!-- Please make sure that there is a bug logged for the issue being
fixed. The bug should describe the problem and how to reproduce it. -->

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.

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

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jakub Florkowski <kubaflo123@gmail.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4df76835-abaa-4a4c-9fec-321e65f30991
kubaflo added a commit that referenced this pull request Nov 3, 2026
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting
artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from
this PR and let us know in a comment if this change resolves your issue.
Thank you!

### Description of Change

Backports the test-specific fixes from `release/11.0.1xx` that are not
already present on `main`:

- #39498 — force shutdown of dependency owners during disposable Helix
MSIX deployment.
- #39607 — isolate Resizetizer SVG test outputs using `BaseTest` cleanup
(test-only hunk; no dependency updates).
- #39784 — stabilize HybridWebView GC fixture lifetimes and WebView2
iframe readiness observation.

Source patches were checked against open and recently merged PRs.
Existing ports, release-only snapshot baselines, and dependency/version
updates were intentionally excluded.

### Validation

- `.dotnet/dotnet test
src/SingleProject/Resizetizer/test/UnitTests/Resizetizer.UnitTests.csproj
-c Debug -p:BuildTaskOnlyBuild=true -p:CI=true --no-restore --filter
'FullyQualifiedName~SkiaSharpSvgToolsTests' --verbosity minimal` — **29
passed, 0 failed**.
- The same Release command — **29 passed, 0 failed**.
- `.dotnet/dotnet build
src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -f
net11.0-android -r android-arm64 -c Debug
-p:IncludeIosTargetFrameworks=false
-p:IncludeMacCatalystTargetFrameworks=false
-p:IncludeWindowsTargetFrameworks=false
-p:IncludeAndroidTargetFrameworks=true -p:TreatWarningsAsErrors=false
-v:minimal` — **passed** with two existing `MAUI1001` warnings.
- Embedded packaged-installation PowerShell parsed with zero syntax
errors.
- `git diff --check` — **passed**.
- Native Windows execution was not run locally; the source PRs retain
their Windows/Helix qualification evidence.

### Issues Fixed

Backports the validated test fixes from #39498, #39607, and #39784 to
`main`.

---------
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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