Repository navigation
Conversation
Backport #39876 (merge commit 5f84517) to release/11.0.1xx. Preserve release-specific configuration and keep runtime validation explicitly blocked by the source Tahoe screenshot failures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9bd14d38-bcb0-40ba-a931-521a861ebd4b
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39885Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39885" |
This comment has been minimized.
This comment has been minimized.
…ina screens Backport the tightly coupled blocker correction from unmerged follow-up #39884, commit 7e2520d. This separate correction is not part of merged pool-migration PR #39876. Keep the release PR draft pending exact-head runtime validation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9bd14d38-bcb0-40ba-a931-521a861ebd4b
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🔵 Needs a closer look
Pending exact-release-head validation across all 30 MacCatalyst shards and unvalidated internal-pool execution leave the Retina correction and CI pool migration requiring human inspection of runtime results.
No open issues 🎉
What changed in this PR
Backports the ACES Tahoe MacCatalyst UI-test migration and related Retina display correction to release/11.0.1xx, supporting #37008 while preserving release-specific build settings.
Changes:
- Switches public and internal MacCatalyst execution defaults to
AcesShared/ Tahoe, retaining pool overrides. - Uses CoreGraphics pixel-dimension APIs so MacCatalyst reports physical display pixels on Retina screens.
- Updates development guidance while preserving GoldenGate compilation and existing iOS execution settings.
The title and description match the supplied changes. Exact-head runtime validation remains pending according to the PR description; configuration preview is not evidence of a passing full test lane.
| File | Description |
|---|---|
src/Essentials/src/DeviceDisplay/DeviceDisplay.ios.cs |
Uses physical pixel dimensions for MacCatalyst display reporting. |
eng/pipelines/ci-uitests.yml |
Changes both MacCatalyst execution pool defaults to ACES Tahoe. |
docs/DevelopmentTips.md |
Documents Tahoe execution and the separate compilation environment. |
Review effort: Balanced
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
DRAFT — exact-release-head runtime validation is in progress, not green. Do not merge based on configuration preview alone.
Backport the ACES Tahoe migration and its tightly coupled Retina blocker correction onto
release/11.0.1xx. This target is an explicitly requested release exception to the usual main-branch policy. Preserve the release-specific configuration. The release base is4645bd1707064533ef2fdd0220bb87de36ca928d; the published release head isdf45640840d310c3e9d0e83f75562c3566af5010.The two sources remain separate normal commits, without history rewriting:
174aeffba0bc45aa4320724e5b9f2f62ead6255fbackports merged #39876, merge SHA5f84517059103dc71df8dabc91bdab4d61b0c456. Onlyeng/pipelines/ci-uitests.ymland relateddocs/DevelopmentTips.mdguidance change. Both public/internal MacCatalyst pool defaults becomeAcesShared, demandingImageOverride -equals ACES_VM_SharedPool_Tahoe. Retain pool overrides, all 30 shards, GoldenGate/Xcode 27 compilation and existing iOS execution.df45640840d310c3e9d0e83f75562c3566af5010backports unmerged follow-up #39884 at exact source head7e2520d15d625c36c4891456dbccf13c02d1bf13. This correction was not part of merged [ci] Move MacCatalyst UI tests to ACES Tahoe #39876. In the MacCatalyst-only implementation, replaceCGDisplayModeGetWidth/Heightdeclarations/calls withCGDisplayModeGetPixelWidth/Height, plus the physical-pixel contract comment. Density, notifications, rotation, fallback, iOS behavior and public API remain unchanged. No snapshots or tolerances change.Issue #37008 and its comments (none), open/all-state release PRs, and open/recently merged Tahoe/AcesShared/MacCatalyst/source-PR/issue matches were inspected; no existing release backport was found. Earlier #34790 closed unmerged after Tahoe failures; #38855 retained hosted execution rather than completing the migration.
Validation performed
git diff --check,git diff HEAD^1 HEAD --check, andgit diff 4645bd1707064533ef2fdd0220bb87de36ca928d HEAD --check— passed.python3 -c "import yaml; from pathlib import Path; yaml.safe_load(Path('eng/pipelines/ci-uitests.yml').read_text()); print('YAML syntax: passed')"— passed.git patch-id --stablecomparisons — matched exactly, migration patch IDd482443f5463c13525aa222d75773545ff61c2d6and Retina correction patch ID2caaf0e52bb671da7abb1efdab70a2b805c6c426.dotnet format whitespace Microsoft.Maui.sln --no-restore --include src/Essentials/src/DeviceDisplay/DeviceDisplay.ios.cs --exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet— passed; the patch still matches the source correction exactly.df45640840d310c3e9d0e83f75562c3566af5010, with no template or pool overrides — passed. Expanded YAML also parsed withyaml.safe_load.maccatalyst_ui_tests_coreclr_controlsretains all 30 shards onAcesSharedwith the explicit Tahoe demand. Compilation retains$(AcesMacImageOverride)=ACES_VM_SharedPool_GoldenGate; iOS retains$(IosUITestImageOverride)=ACES_VM_SharedPool_Tahoe. The preview returnedid: -1; this is not runtime passing evidence.Exact preview command:
{ "previewRun": true, "resources": { "repositories": { "self": { "refName": "refs/heads/kubaflo-net-11-aces-backport", "version": "df45640840d310c3e9d0e83f75562c3566af5010" } } } }Exact-head release runtime validation — pending
Queued maui-pr-uitests build 1663690 for exact release head
df45640840d310c3e9d0e83f75562c3566af5010, using the branch's default pools, not an execution-pool override. It builds the production/sample artifacts and schedules the complete 30-shard MacCatalyst lane. Unrelated execution/build stages are skipped; the separate main follow-up owns its own main validation and is not duplicated here.Queue command:
az rest --method post --url 'https://dev.azure.com/dnceng-public/public/_apis/pipelines/313/runs?api-version=7.1' --resource 499b84ac-1321-427f-aa17-267ca6975798 --headers 'Content-Type=application/json' --body @release-runtime-request.json --output json— accepted, build1663690, returnedresources.repositories.self.versionexactly matches the release head. Boolean template parameters were strings (BuildEverything,BuildNativeAOT,RunNativeAOT="false"); onlybuild_ui_tests_coreclrandmaccatalyst_ui_tests_coreclrare selected. No categories/shards were filtered out.The pool-only source run 1663563, at
d26ceeea2bdbd7bce1b44a95ceb2fc3356cc3b8d, was canceled and is not green/full-lane evidence. The parent identified four final failures in test run46324552, including expected 789×563 versus fallback 2560×1571, and raw task log 709 shows offscreen window pixels (-384, 60, 1578, 1184). Catalyst returned logical display dimensions with density 2, causing HostApp to divide again and center at negative logical X=-192. The separate Retina correction addresses that contract mismatch, but its full release runtime results and raw logs still require inspection. The parent's passive CoreGraphics probe/hosted comparisons are supporting evidence, not a passing full release run.Keep this PR draft and #37008 open. Public release runtime is pending; internal execution remains unvalidated. No local macOS XCTest/UI automation was run, and no pipeline-configuration tests were added.
Issues Fixed
Addresses #37008; does not close it. Reliable full-lane runtime validation remains outstanding.