Repository navigation
[automated] Merge branch 'main' => 'net11.0' - #38515
Merged
Merged
Conversation
<!-- 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! ### Description of Change Replace the remaining `[Category(UITestCategories.CollectionView)]` annotations in `Issue34271`, `Issue35889`, and `Issue38321` with `[ShardedTestCategory(UITestCategories.CollectionView, shard: 1)]`. Each test remains discoverable through the `CollectionView` umbrella and exactly one CI shard, `CollectionView1`. Test bodies, platform coverage, pipeline configuration, and analyzer enforcement are unchanged. ### Root Cause #37732 introduced the `MAUI0003` error for direct use of sharded categories, but its migration missed `Issue34271` and `Issue35889` already present on the final main base. #38486 subsequently added `Issue38321` with the old annotation. Every UI-test job compiles the shared test suite before applying its category filter, so these errors also block unrelated categories. The first build of the exact #37732 merge, [1594198](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594198), failed all 189 UI jobs with the first two diagnostics. The subsequent main build, [1594249](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594249), reports all three; one job separately stopped earlier on an emulator boot timeout. Keep the additive attribute and the analyzer safeguard: suppressing `MAUI0003` would leave these tests outside the numbered CI filters, while reverting sharding is unnecessary. ### Validation - Before the fix, compiling `Controls.TestCases.WinUI.Tests` reproduced exactly the three `MAUI0003` errors. - After the fix, the same project compiled with zero warnings and errors, with analyzers enabled. - NUnit discovery confirmed each repaired method has both `CollectionView` and exactly one numbered category, `CollectionView1`. - Local validation covered compilation and discovery only, not UI execution. CI must confirm runtime results; unrelated pre-existing UI failures may remain. ### Issues Fixed Fixes the UI-test compilation regression introduced by #37732, including the additional affected test from #38486. No separate issue was filed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03d50275-af5e-4ed0-8c79-59d8bb122451
<!-- 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! ## Description Backport of #37708 to `main`: focused manual conflict fallback, adding only the missing iOS regression coverage. The requested `/backport to main` automation [failed](https://github.com/dotnet/maui/actions/runs/34706173137) because the original PR patch includes unrelated historical commits that conflict in skill/workflow files. This existing focused PR is retained as the fallback rather than opening a duplicate or importing that unrelated history. Both `main` and SR11 already contain the runtime fix behavior through the newer `InvalidateSafeAreaWithDescendants()` implementation. This PR preserves that stronger behavior and adds only the two missing `Issue37691` UI-test files. The test dismisses a keyboard-visible modal three times and verifies after each cycle that the underlying page returns to its original bottom edge. This PR targets `main` only. SR11 coverage is being handled separately after its `/backport` run also failed. Merging into `main` first is not a requirement of the backport automation; the earlier description stating that prerequisite was incorrect. ## Source provenance - Source PR: #37708 - Source squash merge commit: `90c55197d1925f99480482d51be7f53aae0d194c` - Original target: `inflight/current` - Runtime behavior already inherited via `7c523245e64fca92f376a76298ed6cfd263cad3e`. ## Validation - `pwsh .github/scripts/BuildAndRunHostApp.ps1 -Platform ios -TestFilter "FullyQualifiedName~Issue37691" -DeviceUdid "5BA96735-B558-4355-B16A-B41143C6718A"` - Result: 1 passed; all three cycles restored the bottom edge from `874` to `874`. Related: #37691. Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Reset patterns: - global.json - NuGet.config - eng/Version.Details.xml - eng/Versions.props - eng/common/*
Contributor
Author
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38515Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38515" |
kubaflo
approved these changes
Sep 13, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I detected changes in the main branch which have not been merged yet to net11.0. I'm a robot and am configured to help you automatically keep net11.0 up to date, so I've opened this PR.
This PR merges commits made on main by the following committers:
Instructions for merging from UI
This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.
If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.
Instructions for merging via command line
Run these commands to merge this pull request from the command line.
or if you are using SSH
After PR checks are complete push the branch
Instructions for resolving conflicts
Instructions for updating this pull request
Contributors to this repo have permission update this pull request by pushing to the branch 'merge/main-to-net11.0'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.
or if you are using SSH
Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.