Skip to content

[release/11.0.1xx][ci] Backport ACES Tahoe migration and Retina correction - #39885

Closed
kubaflo wants to merge 2 commits into
release/11.0.1xxfrom
kubaflo-net-11-aces-backport
Closed

kubaflo wants to merge 2 commits into
release/11.0.1xxfrom
kubaflo-net-11-aces-backport

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 4, 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

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 is 4645bd1707064533ef2fdd0220bb87de36ca928d; the published release head is df45640840d310c3e9d0e83f75562c3566af5010.

The two sources remain separate normal commits, without history rewriting:

  • 174aeffba0bc45aa4320724e5b9f2f62ead6255f backports merged #39876, merge SHA 5f84517059103dc71df8dabc91bdab4d61b0c456. Only eng/pipelines/ci-uitests.yml and related docs/DevelopmentTips.md guidance change. Both public/internal MacCatalyst pool defaults become AcesShared, demanding ImageOverride -equals ACES_VM_SharedPool_Tahoe. Retain pool overrides, all 30 shards, GoldenGate/Xcode 27 compilation and existing iOS execution.
  • df45640840d310c3e9d0e83f75562c3566af5010 backports unmerged follow-up #39884 at exact source head 7e2520d15d625c36c4891456dbccf13c02d1bf13. This correction was not part of merged [ci] Move MacCatalyst UI tests to ACES Tahoe #39876. In the MacCatalyst-only implementation, replace CGDisplayModeGetWidth/Height declarations/calls with CGDisplayModeGetPixelWidth/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, and git 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.
  • Source/backport git patch-id --stable comparisons — matched exactly, migration patch ID d482443f5463c13525aa222d75773545ff61c2d6 and Retina correction patch ID 2caaf0e52bb671da7abb1efdab70a2b805c6c426.
  • 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.
  • Native Azure Pipelines preview of published release head df45640840d310c3e9d0e83f75562c3566af5010, with no template or pool overrides — passed. Expanded YAML also parsed with yaml.safe_load. maccatalyst_ui_tests_coreclr_controls retains all 30 shards on AcesShared with the explicit Tahoe demand. Compilation retains $(AcesMacImageOverride) = ACES_VM_SharedPool_GoldenGate; iOS retains $(IosUITestImageOverride) = ACES_VM_SharedPool_Tahoe. The preview returned id: -1; this is not runtime passing evidence.

Exact preview 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 @azure-preview-request.json --output json
{
  "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, build 1663690, returned resources.repositories.self.version exactly matches the release head. Boolean template parameters were strings (BuildEverything, BuildNativeAOT, RunNativeAOT = "false"); only build_ui_tests_coreclr and maccatalyst_ui_tests_coreclr are 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 run 46324552, 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.

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
@github-actions

github-actions Bot commented Nov 4, 2026

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 -- 39885

Or

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

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 11:02 — with GitHub Actions Inactive
@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 11:03 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 11:03 — with GitHub Actions Inactive
…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
@kubaflo kubaflo changed the title [release/11.0.1xx][ci] Backport MacCatalyst UI tests to ACES Tahoe [release/11.0.1xx][ci] Backport ACES Tahoe migration and Retina correction Nov 4, 2026
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo marked this pull request as ready for review November 4, 2026 12:35
Copilot AI balanced review requested due to automatic review settings November 4, 2026 12:35

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

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

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.

2 participants