Skip to content

[RC2] Temporarily use GoldenGate for official macOS pack - #38892

Merged
kubaflo merged 1 commit into
release/11.0.1xx-rc2from
kubaflo-rc2-official-goldengate-mac-pool
Sep 25, 2026
Merged

kubaflo merged 1 commit into
release/11.0.1xx-rc2from
kubaflo-rc2-official-goldengate-mac-pool

Conversation

@kubaflo

@kubaflo kubaflo commented Sep 25, 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

Important

Temporary RC2 workaround. Revert to name: Azure Pipelines / vmImage: $(HostedMacImage) once the hosted macOS image ships Xcode 27. The source comment in ci-official.yml records this removal condition.

The official dotnet-maui pipeline (definition 1095) on release/11.0.1xx-rc2 has been failing on every automatic run. Its MacOSPool still defaults to the hosted macOS-26 image, which only has Xcode 26.0–26.6. The pinned Apple SDK (27.0.12198-net11-rc.2) needs XCODE=27.0, so Pack macOS fails at Select Xcode Version:

##[error]Required Xcode 27.0 is not installed on this agent. Update the macOS agent image before building with the pinned Apple SDK.

When that fails, Pack Windows, Publish Assets, NuGet Validation and Publish using Darc are all skipped, so no build is produced. Example: 3086978.

#38853 already moved maui-pr, maui-pr-uitests and maui-pr-devicetests to GoldenGate through $(AcesMacImageOverride). ci-official.yml was not updated. This PR points the official MacOSPool default at the same variable:

name: AcesShared
demands:
  - ImageOverride -equals $(AcesMacImageOverride)   # ACES_VM_SharedPool_GoldenGate
os: macOS

Validation

  • Manual build 3087497 on this branch, with MacOSPool overridden to AcesShared/GoldenGate, succeeded end to end: Pack, APIScan, Validate Build Assets and Publish using Darc. Select Xcode Version logged Using image-selected Xcode 27.0 at /Applications/Xcode_27.app/Contents/Developer.
  • $(AcesMacImageOverride) expands in pool demands. maui-pr build 1612115 ran Build macOS on ACES_VM_SharedPool_GoldenGate.
  • YAML parses, and the existing eng/pipelines/ci-official.Tests.ps1 passes.

Issues Fixed

The automatic official builds on release/11.0.1xx-rc2 produce no build.

The hosted macOS-26 image lacks Xcode 27, which the pinned Apple SDK requires,
so the automatic official builds on release/11.0.1xx-rc2 fail at
"Select Xcode Version" and skip every downstream pack/publish stage.

Default the official MacOSPool to AcesShared with $(AcesMacImageOverride)
(GoldenGate), matching the manual override used by successful build 3087497.
This is a temporary RC2 workaround; restore the hosted image once it ships a
compatible Xcode.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 25, 2026 14:23
@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 -- 38892

Or

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

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

@kubaflo

kubaflo commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

@dalexsoto stamp

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.

Copilot review overview

🟡 Changes recommended

Add focused test coverage validating the MacOSPool configuration.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Temporarily routes official RC2 macOS packaging through GoldenGate to provide Xcode 27.

Changes:

  • Uses AcesShared with $(AcesMacImageOverride).
  • Documents the temporary workaround and rollback condition.
File Summary
eng/​pipelines/​ci-official.yml Updates the official macOS packaging pool; add a focused test assertion for this mapping.

Comment on lines +58 to +60
name: AcesShared
demands:
- ImageOverride -equals $(AcesMacImageOverride)

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Stamping as requested by @kubaflo; no code review performed.

@kubaflo
kubaflo merged commit cd74d4d into release/11.0.1xx-rc2 Sep 25, 2026
17 of 24 checks passed
@kubaflo
kubaflo deleted the kubaflo-rc2-official-goldengate-mac-pool branch September 25, 2026 14:50
@github-actions github-actions Bot added this to the .NET 11.0-rc2 milestone Sep 25, 2026
kubaflo added a commit that referenced this pull request Oct 9, 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!

<!--
!!!!!!! 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 **net11.0**, based on
`8d04ca676fc51a8f940f65dfbec9a8085fa13615`, rather than main or RC2.
Ports the Apple-specific Xcode 27 adoption from `release/11.0.1xx-rc2`
without changing net11's SDK, runtime, Android, Extensions, or Arcade
pins.

- Pin all four .NET 11 Apple SDKs to **27.0.12211-net11-rc.2** from
macios commit `35d8bf5a42cd71edf4e2700b1e45f6c4b65f3fbe` (BAR 334217,
RC2 channel), and update current/default iOS, tvOS, Mac Catalyst and
macOS platform TFMs to 27.0.
- Align the .NET 10 Apple compatibility SDKs to **26.5.10322**, required
by all four selected .NET 11 workload manifests; update their
coherent-parent names and public feed. This is required manifest
alignment, not an unrelated .NET 10 upgrade.
- Raise managed and native iOS deployment minimums to **15.0**. Native
iOS 12 / Catalyst's mapped macOS 10.15 targets are rejected by Xcode 27.
The managed Catalyst minimum remains 17.0; templates already use iOS 15
/ Catalyst 17.
- Select **GoldenGate / Xcode 27** for public and internal Apple
framework, pack, integration, UI-app, device-app and official
compilation. Continue executing prebuilt iOS UI-test apps on **Tahoe /
Xcode 26.5**, and Catalyst UI tests on **macOS 14**.
- Remove the obsolete repository-wide Xcode 26.2/26.3 validation bypass
and unconditional `eng/Build.props` overrides. Normal builds now let the
workload validate Xcode; explicit test/review-runner overrides remain
available.
- Document build requirements and remaining image limitations in
`docs/DevelopmentTips.md`.

**Evidence and retained workarounds**

The RC2 adoption/CI changes are in #38787, #38788, #38853, #38855 and
#38892. #38806 deliberately omitted Apple 27 / minimum-version / pool
changes when forward-porting to net11; this supplies that missing Apple
configuration. Icon Composer changes from #38984 are already on net11
and are not duplicated.

- Keep the GoldenGate compilation fallback: standard Azure hosted macOS
26 currently provides only Xcode 26.0–26.6. The Xcode 27 preview pool is
not a proven standard Azure-hosted replacement; no paid pool is
introduced. [Azure image
availability](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops),
[Xcode 27 image
discussion](actions/runner-images#14404 (comment)).
- Keep the Appium build/execution split: GoldenGate previously lacked
the required iOS 18.5 runtime / usable Simulator UI and failed Mac2
startup; corrected RC2 build 1611447 passed all 29 iOS jobs. Current RC2
UI failures occur during package restore and do not establish that
GoldenGate UI execution is fixed. macOS 14 retires November 2, 2026; its
replacement requires separate Mac2 validation.
- Keep simulator provisioning, architecture-specific downloads, bounded
recovery and explicit failure when required Xcode is missing. Do not
copy #38852's unmerged `skipXcode: true` shortcut.
- **Do not port** GoldenGate's prerelease selected-Xcode fast path: [RC2
build
1623906](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1623906),
at RC2 HEAD `d32b79928709cf53b671336dabd0caef5a679fc2`, succeeded with
`/Applications/Xcode_27.app`, which the existing named fallback already
finds. This is source-configuration evidence, not validation of this PR.
- Do not copy later RC2 internal-SDK credentials, public-SDK fallbacks,
or internal feeds. They address different SDK/runtime pins. Retain
existing `TargetsCurrent`, local runner overrides and PowerShell
startup/recovery safeguards because Xcode 27 does not prove their
underlying issues resolved. The dedicated Copilot-review pipeline
retains its own older-branch overrides; it is not the standard net11
build lane.

**Validation**

- `.dotnet/dotnet build Microsoft.Maui.BuildTasks.slnf -c Release
-p:BuildTaskOnlyBuild=true -p:CI=true --verbosity quiet` — **passed**, 0
warnings / 0 errors, using the unchanged pinned SDK
`11.0.100-rtm.26480.113` in this worktree. This validates build
prerequisites, not Apple 27 app compilation.
- `DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild
-project
src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj
-scheme MauiPlatformInterop -configuration Release -sdk iphonesimulator
-destination 'generic/platform=iOS Simulator' -derivedDataPath
artifacts/native-validation CODE_SIGNING_ALLOWED=NO build` — **passed**,
arm64 and x86_64 simulator framework compilation at iOS 15.0, using
installed **Xcode 26.6**, not Xcode 27. No simulator/app/test runner was
launched.
- `plutil -lint
src/Core/AppleNative/PlatformInterop/MauiPlatformInterop.xcodeproj/project.pbxproj`
and `git diff --check` — **passed**. Python `yaml.safe_load` / XML
parsing — **passed** for all changed pipeline and XML configuration
files. No pipeline tests were added.
- `.dotnet/dotnet msbuild Directory.Build.props -nologo
-getProperty:MauiPlatforms,MauiGraphicsPlatforms,IosTargetFrameworkVersionSdkDefault,MacCatalystTargetFrameworkVersionSdkDefault,ValidateXcodeVersion,TargetsCurrent`
— **passed**; current Apple TFMs resolve to 27.0 and the blanket
validation bypass is absent. Evaluating `eng/Versions.props` confirms
unchanged SDK/runtime/Android pins and all four Apple 27 pins.
- Downloaded and inspected all four exact Apple workload manifest
packages from the public dotnet11 feed — **passed**, confirming the .NET
10 compatibility SDK requirement is 26.5.10322.
- `dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src
--exclude-diagnostics CA1822` — attempted but **incomplete**: missing
restored references/workloads. Stopped it and removed its unrelated
generated formatting edits; no C# source changes are included.
- Initial unrestricted build-task attempts were blocked by missing
assets / Apple workloads. Repository bootstrap installed the exact
pinned SDK; full workload provisioning was stopped in favor of the
successful CI build-task-only command above.

Remote CI results for commit `e7a941cd121fff58bcd30892bbcf29e18882ac55`
(checked October 8, 2026):

- [maui-pr
1628491](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628491)
— **completed, failed overall**. Apple compilation, macOS pack and main
integration validation passed; the macOS build selected
`/Applications/Xcode_27.app`. The only failing main-pipeline task was
the Helix monitor: Windows Debug
`SkiaSharpSvgToolsTests.Resize.BasicNoScaleReturnsOriginalSize` failed
deleting a locked temporary file in `Resize.Dispose()`. This is a
**confirmed identical historical cleanup failure predating this PR**,
not evidence of an Xcode-adoption regression: September 29 [build
1616449](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616449),
the **net11.0-targeted #38984 merge build** (`refs/pull/38984/merge`,
not a direct `refs/heads/net11.0` baseline run), failed the same test in
Windows Release with the same `IOException` and `FileSystem.DeleteFile`
→ `Resize.Dispose()` line-25 stack; only the temporary filename differs.
See its actual [Helix
console](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/console.30a6023e.log?helixlogtype=result)
and [test-result
XML](https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-maui-refs-pull-38984-merge-c211216b883342c6ae/Microsoft.Maui.Resizetizer.UnitTests.dll/1/testResults.xml?helixlogtype=result).
The fixture is byte-identical between exact base `8d04ca676f` and PR
head `e7a941cd12` (blob `a41ebe6e87b3809f952b51f98e594bf5faf2fe25`);
Skia/runtime pins and Windows execution pools are unchanged, and the
relevant configuration changes are Apple-specific. Together, this
supports **no causal link to Xcode adoption**. The latest exact-base
[net11.0 build
1628290](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628290)
passed; that does not negate the verified earlier occurrence. No cleanup
fix or rerun is included.
- [maui-pr-devicetests
1628492](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628492)
— **completed, succeeded**, including Mono/CoreCLR device-app
compilation. Cross-checked all nine Helix jobs: 71 terminal work items,
zero failing exits and no work items still running; this is a work-item
count, not a test-case count.
- [maui-pr-uitests
1628493](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628493)
— **completed, failed overall** at 21:42 UTC. UI-app compilation and the
complete **iOS CoreCLR UI stage passed**. The five failed/canceled
execution legs are MacCatalyst Layout, Navigation and Shell; Windows
Shell; and Android SafeAreaEdges. MacCatalyst Shell was canceled after
three hours during its retry, so its complete execution coverage remains
**unverified**, not passed.
- **Baseline-matched UI failures:** MacCatalyst `Issue59172RecoveryTest`
timeout matches [net11.0 build
1625634](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1625634).
MacCatalyst `ValidateBackgroundColorDoesNotAffectInputTransparent`
timeout matches the exact-base [net11.0 build
1628291](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1628291),
test run 45168562. MacCatalyst Shell
`SearchHandlerQueryIconUpdatesAtRuntime` (0.51% screenshot difference)
also matches that build, run 45168556;
`SearchHandlerClearPlaceholderIconUpdatesAtRuntime`, seen during the
interrupted retry, matches [net11.0 build
1626506](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1626506),
run 45112430. Android
`SafeAreaNoWhiteSpaceAfterKeyboardDismissAndEdgeToggle` matches the same
assertion on [net11.0 build
1627873](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1627873).
- **Unmatched UI failures:** MacCatalyst Shell
`SearchHandlerResetAllRestoresDefaultIcons` has a 0.52% screenshot
mismatch (published in run 45176448); it was not among failed results in
the five sampled net11.0 Shell runs. Windows
`VerifyShellSearch_TextTransformUppercase` has a 0.70% screenshot
mismatch; the corresponding Shell runs pass in all five sampled net11.0
UI builds. Neither is established as unrelated or PR-caused. The Shell
cancellation leaves additional coverage incomplete. No screenshot
baselines were updated to hide failures.
- [PowerShell Script Tests
37821050474](https://github.com/dotnet/maui/actions/runs/37821050474) —
**failed**: the unchanged `Review-Tests` contract expects an inline
GPT-5.6 model while the unchanged target-branch workflow imports
GPT-6.1. Both the assertion and its workflow subject are identical to
net11.0; no pipeline-test changes are included in this PR.

Xcode 27 is not installed locally; the Apple 27 compilation evidence
above is from remote CI. All three PR pipelines have finished, but
**full UI validation is not green**, MacCatalyst Shell coverage is
incomplete, and **official/internal signing remains pending**. The
unmatched failures need further investigation before claiming merge
readiness. These results do not justify removing the retained
execution-image safeguards. No XCTest/XCUITest or local UI automation
was run; global Xcode selection was not changed. The CI watch has been
stopped.

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

No separately filed issue; requested .NET 11 adoption of the
already-established RC2 Xcode 27 configuration.

<!--
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>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 26, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — bee46a81 Deployed Sep 25, 2026 by kubaflo via conclusion #2091
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.

3 participants