Skip to content

[ci] Use matching Xcode for previous-framework Apple integration tests - #39832

Merged
kubaflo merged 3 commits into
mainfrom
kubaflo-public-xcode-27
Nov 3, 2026
Merged

kubaflo merged 3 commits into
mainfrom
kubaflo-public-xcode-27

Conversation

@kubaflo

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

Replacement for #39652, closed at the user's request. Rebased onto main 3bfd980b2f2f8284e05970dfa992a6d4362f826b after #39688 promoted .NET 11 to main.

Main already contains Xcode27 compilation, the updated Apple toolchain configuration, native minimums, and the upstream build-task staging fix. Preserve those implementations rather than replay obsolete .NET10 product pins, library baselines, support-policy changes, or duplicate staging guards from the old PR.

Remaining delta:

  • Split the macOS integration Build category: previous-framework (.NET10) cases run on standard hosted macOS-26/Xcode26.5, matching retained Apple compatibility SDK26.5.10322; complementary cases retain main's GoldenGate/Xcode27 pool.
  • Preserve coverage through complementary DisplayName~net10.0 and DisplayName!~net10.0 filters. No previous-framework tests or Xcode validation disabled.
  • Permit per-job integration filter and Xcode selection.
  • Single-quote compound filters passed through the shared PowerShell runner so the command-log string cannot interpret & as a background operator.
  • Document the toolchain split.

Current head 6c7565d5be2627483a04c8fee927a7d46aa658f2: main CI passed

maui-pr1660504 completed succeeded at this exact PR head. Actual completed test-run summaries verify the new .NET11/.NET10 coverage:

Suite Passed Skipped Total
macOS previous-framework Build (46237300) 15 0 15
macOS complementary Build (46233432) 125 2 127
Windows complete Build (46235964) 140 2 142

The macOS partition covers142 cases, matching the complete suite. Both skips remain explicit—not reported as passes. NativeAOT simulator1/1, macOS AOT18/18, macOS Samples10/10, and Blazor36/36 on each platform also passed. Old-PR registrar/toolchain failures are not current failures on this new main.

UI/device attribution completed; no whole-PR green claim

UI1660505 and device1660506 finished failed. All79 failed/canceled jobs were inventoried and their task logs inspected. Own dispatch logs correlated nine Helix jobs; all current-head result XMLs were parsed, including green-exit work items. Available XMLs contain zero failing tests/fixture errors. The failed-install Windows Core and canceled-before-running Catalyst Core work items have no XML and are not passes.

Compared latest five completed main UI runs1660611/1660269/1659947/1659602/1655780 and device runs1660605/1660476/1660098/1659955/1659776. Most runtime failures reproduce there:
-1784 distinct test/OS failures have same-test/platform/root-family matches. Another210 Android fixture results match the narrow Could not find a connected Android device in 20000ms setup family, not exact same-test matches.

  • Visual assertions and the macOS missing Magick.Native-Q8-x64.dll family reproduce on main. Artifact-upload TF205023 path-length errors also reproduce on main; they were not omitted from the inventory.
  • Catalyst Core osx26 cancellation before execution at the60-minute AzDO limit matches main1659955, including synthetic exit-1234. This is cancellation, not successful execution.

Two unmatched runtime failures remain; neither proven PR-caused nor dismissed:

  1. Catalyst AcceptedOperationNoneDisablesDropOperation: element timeout on initial/retry, no same-test failure in five main samples. UI log4595, lines1103–1109 and1868–1874.
  2. Windows packaged Core device payload: Add-AppxPackage0x80073CF0/0x80070003, missing AppxManifest.xml before test execution; no result XML. All five sampled main instances of this work item pass. Helix console, lines38/59–72. Same-base main passing console.

No demonstrated causal link from these runtime failures to the integration-only configuration delta, and no safe product/baseline fix established. Keep draft for human review of the unmatched failures, rather than claim all failures unrelated or blindly rerun.

Other checks: agentic labeler failed with provider HTTP401 before inference, not a product assertion. All seven full-repository spellcheck findings exactly match main41426563697 in unchanged WebAuthenticator/WorkloadMsi/Passkeys documents; none occurs in the changed DevelopmentTips section. No unrelated policy, spelling dictionary, screenshots, or product assertions changed to hide checks.

Validation:

  • git diff --check — passed.
  • ruby -ryaml -rdate -e 'ARGV.each {|p| YAML.safe_load(File.read(p), permitted_classes: [Date,Time], aliases: true); puts "parsed #{p}"}' eng/pipelines/ci.yml eng/pipelines/arcade/stage-integration-tests.yml — passed.
  • Exact-head Azure definition302 expanded-YAML preview — passed; expected disjoint filters, hosted26.5 previous-framework lane, existing current-framework pool.
  • Actual expanded PowerShell scripts for both lanes parsed without syntax errors or background pipelines — passed.
  • /azp run accepted all three pipelines at the exact head; main succeeded and runtime failures attributed above. No canceled/pending execution counted as a pass.
  • No pipeline tests authored and no error/validation suppression introduced. No speculative fix or additional rerun after final attribution.

Issues Fixed

Replaces #39652 and carries forward its compatibility-toolchain fix after upstream adoption of Xcode27 and promotion of .NET11 to main. Main validation is green; the two unmatched runtime failures above are not claimed fixed.

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 19:28 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 2, 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 -- 39832

Or

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

@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 2, 2026 19:29 — with GitHub Actions Inactive
@azure-pipelines

This comment has been minimized.

@kubaflo

This comment has been minimized.

@kubaflo

kubaflo commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Rebased-head configuration validation completed: Azure definition302 expanded-YAML preview passed at 6c7565d5be2627483a04c8fee927a7d46aa658f2. The two macOS Build jobs expand to complementary net10.0 filters; the previous-framework job selects hosted macOS-26/Xcode26.5, while the other retains the main compilation pool. Both actual expanded PowerShell scripts parsed with zero syntax errors and no background pipelines. All three public pipelines were requested once with /azp run; runtime results remain pending.

@azure-pipelines

This comment has been minimized.

@kubaflo

kubaflo commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

/rebase

kubaflo and others added 3 commits November 3, 2026 10:22
…aces

Keep every macOS Build-category test while routing .NET 9 cases to hosted Xcode 26.5. Prevent Windows full-solution CI from rewriting Core imports already staged by the preceding BuildTasks pass, adapting the established staging guard.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9537c719-3873-4e41-bdd3-d3dcb1ce4dae
Use a single-quoted native argument so the shared command log does not terminate its double-quoted string at the filter and parse ampersand as a background operator.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9537c719-3873-4e41-bdd3-d3dcb1ce4dae
Retain upstream Xcode 27 adoption and staging fixes. Route the remaining .NET 10 compatibility cases to Xcode 26.5 without replaying obsolete .NET 10 product pins.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9537c719-3873-4e41-bdd3-d3dcb1ce4dae
@github-actions
github-actions Bot force-pushed the kubaflo-public-xcode-27 branch from 6c7565d to f3091ea Compare November 3, 2026 10:22
@kubaflo

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@kubaflo
kubaflo marked this pull request as ready for review November 3, 2026 14:29
Copilot AI balanced review requested due to automatic review settings November 3, 2026 14:29
@kubaflo

kubaflo commented Nov 3, 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.

🔵 Needs a closer look

The relationship between two unmatched current-head UI/device failures and the CI configuration change remains unresolved, requiring human review.

No open issues 🎉

What changed in this PR

Preserves the previous-framework Apple integration-test coverage after .NET 11’s promotion to main by running .NET 10 cases with their matching Xcode toolchain.

Changes:

  • Splits macOS Build tests into complementary filters: .NET 10 cases use hosted macOS-26/Xcode 26.5; remaining cases retain GoldenGate/Xcode 27.
  • Adds per-job test-filter and Xcode overrides, with single-quoted filters for safe PowerShell handling.
  • Documents the public CI toolchain split.
File Description
eng/​pipelines/​ci.yml Separates previous-framework macOS tests onto the matching Xcode pool.
eng/​pipelines/​arcade/​stage-integration-tests.yml Supports job-specific filters and Xcode versions; adjusts filter quoting.
docs/​DevelopmentTips.md Explains the Apple toolchain split and filter quoting.

Review effort: Balanced

@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 464839d into main Nov 3, 2026
152 of 175 checks passed
@kubaflo
kubaflo deleted the kubaflo-public-xcode-27 branch November 3, 2026 14:48
kubaflo added a commit that referenced this pull request Nov 3, 2026
…wipeView analyzer fix (#39854)

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

Intentional, focused backport to **`release/11.0.1xx`**, in two separate
commits retaining the original authors and source-commit attribution:

- Backport #39832 (`464839d863668cd2be600f0bed8a2a2eff38d303`): run
previous-framework (.NET 10) Apple integration `Build` cases on hosted
`macOS-26` / Xcode 26.5, while the complementary cases retain GoldenGate
/ Xcode 27. Preserve coverage with disjoint `DisplayName~net10.0` and
`DisplayName!~net10.0` filters, support per-job filter/Xcode overrides,
and single-quote filters in the shared PowerShell runner. The
documentation wording is adjusted to describe the release branch rather
than main.
- Backport #39375 (`510d60147a49be8447276b40137e25b6729c8b9b`): use
`Assert.Single(collection, predicate)` in the Android SwipeView device
test, resolving xUnit2031 without changing its assertion.

Fresh checks of release/main/inflight history and open/recently merged
PRs found no existing release backport of these two fixes. No product
code, snapshots, baselines, quarantines, dependency pins, or pipeline
tests are changed.

**Deliberately excluded after checking the actual release sources:**
#39692 references reentrant Flyout fixture types that are absent on this
branch (introduced by #38214); the Catalyst annotation from #39665
targets a grouped EmptyView helper that is also absent (introduced by
#37959). Importing those unrelated product prerequisites is outside this
PR. The MediaPicker portion is already backported by #39670. #39549 and
#39509 are not included.

**Validation at head `135cf0fbe740608ceab17aeece755ebbe098e4da`**

- Android Controls.DeviceTests compilation passed with the
repository-provisioned .NET 11 SDK: `./.dotnet/dotnet build
src/Controls/tests/DeviceTests/Controls.DeviceTests.csproj -f
net11.0-android -p:IncludeIosTargetFrameworks=false
-p:IncludeMacCatalystTargetFrameworks=false
-p:IncludeMacOSTargetFrameworks=false -v:minimal` (binary logging
enabled). Result: **0 errors**, two existing MAUI1001 runtime-XAML
deprecation warnings. Initial attempts exposed missing build tasks; the
bootstrap produced the tasks, but its aggregate build reported Java 21
obsolete-option diagnostics. The subsequent affected-project build above
succeeded without disabling analyzers or suppressing warnings.
- `ruby -ryaml -rdate -e 'ARGV.each {|p| YAML.safe_load(File.read(p),
permitted_classes: [Date,Time], aliases: true); puts "parsed #{p}"}'
eng/pipelines/ci.yml eng/pipelines/arcade/stage-integration-tests.yml` —
**passed**.
- Azure definition **302** expanded-YAML preview via `az devops invoke
--area pipelines --resource runs --route-parameters project=public
pipelineId=302 --api-version 7.1 --http-method POST --in-file
azure-preview-request.json --organization
https://dev.azure.com/dnceng-public --output json` — **passed**. The
preview-only request pinned the branch and exact head above. Server
expansion confirms hosted `macOS-26`, `XCODE=26.5`,
`REQUIRED_XCODE=26.5` and the previous-framework filter; the
complementary lane retains `AcesShared` / `$(AcesMacImageOverride)` and
excludes those cases. The expanded YAML also parsed successfully.
- Parsed both actual **Azure-expanded** PowerShell runner scripts, after
substituting their job filters, with
`System.Management.Automation.Language.Parser.ParseInput` — **passed**,
zero syntax errors and zero background pipelines for each lane. The
local template expansion was checked separately with the same result.
- `dotnet format whitespace --folder --include
src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.Android.cs
--verify-no-changes` — **passed**.
- `git diff origin/release/11.0.1xx...HEAD --check` — **passed**.

**CI remains pending, not green:** [maui-pr
1662034](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1662034)
was queued and has now entered `inProgress`, with
`triggerInfo.pr.sourceSha` matching this exact head. No completed CI
outcome is claimed. Device/UI pipelines have not been queued. Device
runtime tests and full integration execution have **not** been run
locally. Catalyst source was not changed. The configuration preview is
not a test execution or a whole-PR success claim.

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

Backports #39832 and #39375 (original analyzer issue: #39376) to
`release/11.0.1xx`.

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

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