Skip to content

[ci] Move MacCatalyst UI tests to ACES Tahoe - #39876

Merged
kubaflo merged 1 commit into
mainfrom
kubaflo-macos-aces-pool-routing
Nov 4, 2026
Merged

kubaflo merged 1 commit into
mainfrom
kubaflo-macos-aces-pool-routing

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

Move both public and internal MacCatalyst UI-test execution defaults in eng/pipelines/ci-uitests.yml from Azure Pipelines / macOS-14 to AcesShared / ACES_VM_SharedPool_Tahoe. Keep GoldenGate for Apple compilation, keep the existing iOS execution configuration, and preserve pool overrides and all 30 MacCatalyst category shards. Update development guidance to match.

Draft: runtime validation is in progress. Do not merge based on YAML syntax alone. The previous attempt, #34790, closed unmerged because Tahoe caused broad failures, hangs, and timeouts. This candidate intentionally avoids its unrelated internal hosted-ARM change and migrates both MacCatalyst execution defaults to ACES. #38855 and #39262 retained hosted MacCatalyst execution; they did not complete #37008. Searches of open and recently merged pool/Mac2 work found no completed replacement migration.

Validation so far:

  • git diff --check — passed.
  • python3 / yaml.safe_load on eng/pipelines/ci-uitests.yml — passed.
  • Azure Pipelines native preview of published commit d26ceeea2bdbd7bce1b44a95ceb2fc3356cc3b8d, without pool overrides — passed. The MacCatalyst execution matrix retains all 30 shards on AcesShared with the explicit Tahoe demand; compilation still uses AcesMacImageOverride and iOS execution still uses IosUITestImageOverride.
  • Scoped maui-pr-uitests 1663563 — queued for that exact commit with the new default pool, without a runtime pool override. It builds the sample app and executes the full MacCatalyst lane; unrelated execution stages are skipped. No runtime pass is claimed yet. Internal execution is not yet validated.
  • Preliminary main-with-override diagnostic 1663556 was canceled before MacCatalyst execution in favor of exact-commit run 1663563; it is not passing evidence.

Native preview with an uncommitted yamlOverride was denied by Azure EditBuild permissions; normal preview of the published branch succeeded. No pipeline-configuration tests were added. Any observed ACES environment blocker must be resolved and the full lane checked before this PR leaves draft.

Issues Fixed

Addresses #37008. The issue has been reopened and should remain open until the migration is empirically verified.

Keep Apple compilation on GoldenGate and route both public and internal MacCatalyst UI execution to the explicitly pinned Tahoe image. Update development guidance to match the execution pool split.

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

Copilot-Session: f709899-866f-4b85-834e-6c29b6ae82fa
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:50 — with GitHub Actions Inactive
@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 -- 39876

Or

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

@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:50 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:51 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:53 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:55 — with GitHub Actions Inactive
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 4, 2026 09:55 — with GitHub Actions Inactive
@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 10:48
Copilot AI balanced review requested due to automatic review settings November 4, 2026 10:48
@kubaflo
kubaflo merged commit 5f84517 into main Nov 4, 2026
13 of 63 checks passed
@kubaflo
kubaflo deleted the kubaflo-macos-aces-pool-routing branch November 4, 2026 10:54

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

The supplied evidence lacks completed full-lane Tahoe/Mac2 runtime validation for both public and internal pools despite prior lane-wide failures, hangs, and timeouts from the same migration.

No open issues 🎉

What changed in this PR

Moves .NET MAUI’s public and internal MacCatalyst UI-test execution defaults from hosted macOS 14 to ACES Tahoe, advancing #37008. Runtime validation remains pending according to the PR description.

Changes:

  • Selects AcesShared with the explicit ACES_VM_SharedPool_Tahoe demand for both MacCatalyst pools.
  • Preserves GoldenGate compilation, existing iOS execution settings, pool overrides, and all 30 MacCatalyst shards.
  • Updates development guidance to describe the new execution defaults.
File Description
eng/​pipelines/​ci-uitests.yml Changes both MacCatalyst execution pools to ACES Tahoe and updates the explanatory comment.
docs/​DevelopmentTips.md Documents Tahoe execution defaults and retained build/execution separation.

Review effort: Balanced

kubaflo added a commit that referenced this pull request Nov 4, 2026
…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 added a commit that referenced this pull request Nov 6, 2026
…-DPI) displays (#39912)

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

Improves Mac Catalyst UI test reliability on macOS Tahoe and updates
visual baselines for its native appearance.

Retina display metrics: Report physical pixel dimensions through Core
Graphics, keeping display width and height consistent with density.
Stepper interaction: Prefer increment/decrement accessibility
identifiers instead of relying on native child order.
Mouse and tap recovery: Reacquire failed Mac click targets by
accessibility identifier, unwrap driver elements correctly, and use
element-center coordinates for mouse fallback. Add a bounded
stale-element retry for Catalyst string taps.
Catalyst query taps: Route element/query taps through mouse recovery
while preserving right-click behavior.
Shell navigation: Improve targeting of image-overridden back buttons,
intermediate-page back buttons, and search results on Tahoe.

#### Test synchronization: 
Wait for completed search commands and the final alert continuation
before asserting.
Flyout cleanup: Close the flyout even when screenshot verification
fails.
Screenshot baselines: Replace 508 images in the existing Mac snapshot
folder. No separate macOS-version snapshot routing or
comparison-tolerance changes are introduced.
Rendered-color verification: Reuse the density-normalized, app-window
screenshot for #37427 and translate desktop coordinates into
window-relative coordinates. Make the screenshot helper protected for
reuse.
### Validation

dotnet build src/Essentials/src/Essentials.csproj -f
net11.0-maccatalyst27.0 --no-restore -v minimal — passed.
dotnet build src/TestUtils/src/UITest.Appium/UITest.Appium.csproj
--no-restore -v minimal — passed.
All 508 replacement PNGs verified byte-for-byte against the source
commit.
Imported patches and whitespace checks passed.
UI tests were not run; the final screenshot-test changes have not been
build-validated.


Follow up to this #39876

## pending

Need to add image screenshot of Mac from CI for Layout category 

Duplicate #39884

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: NafeelaNazhir <nafeela.nazhirhussain@syncfusion.com>
Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — d26ceeea Deployed Nov 4, 2026 by kubaflo via conclusion #2678
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.

3 participants