Repository navigation
[release/11.0.1xx][tests] Backport Apple integration toolchains and SwipeView analyzer fix - #39854
Merged
kubaflo merged 2 commits intoNov 3, 2026
Merged
Conversation
…lchains Backport #39832. (cherry picked from commit 464839d) Keep the complementary Xcode 27 lane and run previous-framework .NET 10 Build cases on hosted macOS-26/Xcode 26.5. Adjust only the documentation wording to describe the release branch pool. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7a2cc763-b7cb-4206-8fa2-89e6ff74b742
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:22 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39854Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39854" |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:22 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:23 — with
GitHub Actions
Inactive
Contributor
Author
|
@dalexsoto stamp |
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:25 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:27 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
November 3, 2026 15:28 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Completed release-branch integration runs are needed to validate provisioning, Xcode compatibility, and both test partitions for the hosted macOS lane and shared runner changes; configuration-preview and syntax checks alone are insufficient.
No open issues 🎉
What changed in this PR
Backports #39832 and #39375 to release/11.0.1xx, aligning Apple integration tests with compatible toolchains and resolving the Android SwipeView test’s xUnit2031 analyzer error. No product code changes are included.
Changes:
- Split macOS
Buildtests into complementary .NET 10 and other-framework lanes, using Xcode 26.5 and Xcode 27 respectively. - Add per-job filter and Xcode overrides, safely quote compound filters, and document the toolchain split.
- Replace filtered
Assert.Singleusage with its predicate overload, preserving the assertion.
| File | Description |
|---|---|
src/Controls/tests/DeviceTests/Elements/SwipeView/SwipeViewTests.Android.cs |
Uses the analyzer-compliant Assert.Single predicate overload. |
eng/pipelines/ci.yml |
Separates previous-framework macOS tests onto the compatible hosted toolchain. |
eng/pipelines/arcade/stage-integration-tests.yml |
Supports job-specific toolchains and filters with single-quoted filter arguments. |
docs/DevelopmentTips.md |
Documents the public CI Apple toolchain split. |
Review effort: Balanced
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Intentional, focused backport to
release/11.0.1xx, in two separate commits retaining the original authors and source-commit attribution:464839d863668cd2be600f0bed8a2a2eff38d303): run previous-framework (.NET 10) Apple integrationBuildcases on hostedmacOS-26/ Xcode 26.5, while the complementary cases retain GoldenGate / Xcode 27. Preserve coverage with disjointDisplayName~net10.0andDisplayName!~net10.0filters, 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.510d60147a49be8447276b40137e25b6729c8b9b): useAssert.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./.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.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 hostedmacOS-26,XCODE=26.5,REQUIRED_XCODE=26.5and the previous-framework filter; the complementary lane retainsAcesShared/$(AcesMacImageOverride)and excludes those cases. The expanded YAML also parsed successfully.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 was queued and has now entered
inProgress, withtriggerInfo.pr.sourceShamatching 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
Backports #39832 and #39375 (original analyzer issue: #39376) to
release/11.0.1xx.