Repository navigation
Conversation
Keep the Layout umbrella and every test body, order, platform guard, assertion, retry, and deadline unchanged. Use three ordinary method-level matrix shards, retaining stateful fixtures together. Repair the existing rebalancing skill to preserve mutually exclusive declaration locations and use its restored Roslyn lexer for comment-aware inventory, edits, and validation. All four managed NUnit clients retain exactly their baseline umbrella discovery with disjoint shard selections. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e597e889-0fab-489d-890b-7db82183fb69
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:31 — 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 -- 39786Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39786" |
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:31 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:32 — with
GitHub Actions
Inactive
Contributor
Skill Validation Results
✅ Skill Validation Results —
|
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:34 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:36 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 31, 2026 23:36 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kubaflo
added a commit
that referenced
this pull request
Nov 3, 2026
…39791) <!-- 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 --> This is an explicitly requested **servicing backport**, targeting `release/11.0.1xx`, not a new alternative fix or a promotion merge. Commit `36bfdc9cc4dcdd4bbc3cac35110595a93b7634ba` has the exact servicing parent `df9c5fd8109abf9411146d2fe041a2d8967e64ed` from #39742. Retain the existing owned fixture correction from #39779: - Only `TestCases.HostApp/Issues/Issue30381.cs`, `TestCases.HostApp/Resources/Raw/issue30381.html`, and `TestCases.Shared.Tests/Tests/Issues/Issue30381.cs` from source commit `7d49f3b58650e187f06ce29f80d2a1744c6aef23`; **do not import that commit's unrelated `eng/devices/uitests-shared.cake` edit**. - Retain the isolated HostApp-only Catalyst bundle correction from `a5ac3382e878da00bec8ac59bc56cd196122f5d2`. The resulting three files are byte-identical to those retained owner blobs; original authorship and source/session provenance are recorded in the commit. Replace the external GitHub destination with a five-line bundled document, match the completed destination URL, and strictly assert all five existing boolean wait results. Catalyst changes only the anchor href to `Contents/Resources/issue30381.html`, matching its actual bundled raw-asset location. **Preserved:** the initial `HtmlWebViewSource` and null `BaseUrl`, JavaScript link click, original 1-second sleep, every navigation/status action and final assertion, existing Android/Windows compile guards, categories, case definitions, goldens, waits, and budgets. No dependency, promotion, runner, pipeline, project, or other follow-up changes. Exactly **3 files, +22/−11**. #### Supported-target qualification The unchanged full/default `maui-pr-uitests` definition 313 branch run [1658190](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1658190) used the exact pushed source, without parameter, variable, category, matrix, configuration, or budget overrides. Each native lane's own checkout log confirms `36bfdc9cc4dcdd4bbc3cac35110595a93b7634ba`. `Issue30381.WebViewCanGoForwardShouldHaveValueAfterNavigation` passed on the **first execution** in all three applicable default native lanes. No test/task retry was executed in these WebView lanes. | Actual target | Full WebView catalog | Issue30381 | Own receipt | |---|---|---|---| | MacCatalyst, CoreCLR on macOS **14.8.7** (`macos-14` image `20260629.0276.1`) | **47/47 Passed** | Passed **32.420s** | [Native run 46161964](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46161964&_a=runCharts), result 100039; raw log 4745, publication 4752 | | iPhone 11 Pro CoreSimulator, actual **iOS 26.5** (`latest` lane), CoreCLR | **53: 52 Passed, 1 existing NotExecuted** | Passed **6.453s** | [Native run 46162166](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46162166&_a=runCharts), result 100003; raw log 5067, publication 5081 | | iPhone 11 Pro CoreSimulator, actual **iOS 18.5**, CoreCLR | **53: 52 Passed, 1 existing NotExecuted** | Passed **6.360s** | [Native run 46162092](https://dev.azure.com/dnceng-public/public/_TestManagement/Runs?runId=46162092&_a=runCharts), result 100041; raw log 4956, publication 4991 | The complete native catalogs and raw first-run case names match the servicing baselines exactly: **Mac 47, iOS 53**, not both 47 and not the owner's separate 49-case promotion catalog. The existing iOS `Issue1583_1_WebviewTest` NotExecuted result remains explicit; this PR adds no skips and does not claim every unrelated existing test executed. The current servicing failure evidence was build 1658120/source `19f886dbca0dadd7bd70141fe5859a04b48ff7b8`: Catalyst raw log 4626 showed the same 47-case catalog failing **46 Passed/1 Failed** on both first execution and the stock retry, at `App.Tap("UpdateStatusButton")`, test line 28, after external navigation, with a **45s Appium RPC timeout**. Publication 4628/native run 46160090 agreed. Those fixture/runner paths are unchanged between that source and this backport's servicing parent. The separately bounded 15s diagnostic timeout is not an increased test budget. Earlier passing runs and the owner's receipts are not substituted for this backport's own native acceptance; no Catalyst ablation certification is claimed. Both actual compiled app members in this build's `ui-tests-samples-coreclr` artifact 50872337 were downloaded and verified against the tracked asset: iOS `.app/issue30381.html` and Catalyst `.app/Contents/Resources/issue30381.html`, each **130 bytes**, SHA-256 `140056173bca657a3b6ccde00de0b4a1fb0b07ea419856ad7be61352784d728d`. Existing `MauiAsset` wildcard packaging is unchanged. #### Commands and local limits Exact branch qualification command — successfully queued run 1658190; native WebView results are above, **overall run failed** for the residuals below: ```sh az pipelines run --id 313 --branch refs/heads/kubaflo-webview-history-fixture-servicing --commit-id 36bfdc9 --org https://dev.azure.com/dnceng-public --project public --only-show-errors -o json ``` Exact managed-only compile commands — both **passed, 0 warnings/0 errors**, using the already verified SDK 11.0.100/a586537b38: ```sh env -u DOTNET_ROOT /Users/kubaflo/Projects/copilot-worktrees/maui/kubaflo-potential-tribble/.dotnet/dotnet build src/Controls/tests/TestCases.Mac.Tests/Controls.TestCases.Mac.Tests.csproj -c Release -f net11.0 -p:MauiPlatforms=net11.0 -v minimal env -u DOTNET_ROOT /Users/kubaflo/Projects/copilot-worktrees/maui/kubaflo-potential-tribble/.dotnet/dotnet build src/Controls/tests/TestCases.iOS.Tests/Controls.TestCases.iOS.Tests.csproj -c Release -f net11.0 -p:MauiPlatforms=net11.0 -v minimal ``` The exact HostApp fixture also compiled against real managed MAUI assemblies with and without `MACCATALYST`, each 0 warnings/0 errors. These local checks are **not native HostApp certification**. The SDK has no installed workloads; the required Apple SDK 27 toolchain is unavailable locally. No toolchain downgrade/bypass, physical Apple device, or local host-macOS XCTest execution was used. Native acceptance comes only from the actual CI receipts above. #### Remaining CI failures — not fixed or hidden here Run 1658190 completed **Failed** at `2026-11-01T05:04:35Z`; this is **not an overall green-CI or merge-ready claim**. All final non-successful jobs were inspected separately: - **Windows Shell2:** raw 6040/native run 46166972; first and stock retry each **197: 181 Passed, 3 Failed, 13 NotExecuted**. `VerifyShellSearch_CancelButtonColor` and `VerifyShellSearch_CharacterSpacing` retain 0.76% visual differences; `VerifyShellSearch_TextTransformUppercase` retains 0.70%. Those separate oracles/snapshots are the subject of owned follow-up #39783 and are untouched here. - **MacCatalyst Layout:** raw 6061/native run 46170266; the complete first run was **193: 188 Passed, 1 Failed, 4 NotExecuted**, failing `Issue17389.ValidateBackgroundColorDoesNotAffectInputTransparent` because RedGrid tap count remained false. The unchanged full 193-case stock retry was canceled at the existing **180-minute job limit**, with no completed retry summary. Publication 6063 retained the actual first-run failure; missing retry completion is not treated as a pass. Layout execution is a separate follow-up (#39786); neither that runner nor Issue17389 is changed here. Open/recent merged upstream and servicing fixture history were rechecked before publication; there is no servicing duplicate of this three-file correction. No fresh CI retry was queued to force green, no unrelated follow-up was imported, and no merge is requested by this qualification report. ### 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. --> Fixes the supported-target **Issue30381 UI fixture timeout/ignored readiness assertions** observed in servicing CI. Related to #30381; its original product history fix is already present from #33183. This is a fixture backport, not a new product fix or a reproduction-only PR. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. -->
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
Narrow, execution-only servicing follow-up to #39742. The branch is directly based on merged servicing commit
df9c5fd8109abf9411146d2fe041a2d8967e64ed, with no promotion changes or history rewriting. The servicing target is intentional.Replace the ordinary
Layoutmatrix leg with three additive method-levelLayout1,Layout2, andLayout3legs using the existingShardedTestCategory/rebalancing mechanism. Every selected case remains addressable through theLayoutumbrella and exactly one shard. Test bodies, assertions, Order attributes, platform guards, existing ignores, full-suite retries, and the 180-minute job cap are unchanged. CollectionView1–7 and Shell1–2 are unchanged.The existing planner needed tightly coupled source-contract repairs before Layout could be applied safely: one logical method/weight retains all proven mutually exclusive platform declarations, potentially overlapping declarations remain errors, and the existing analyzer's restored Roslyn dependency provides a comment/literal-aware lexical view with preserved source offsets. Explicit fixture cohesion uses the existing ordered-fixture scheduling path for the two state-dependent Issue6932 EmptyView fixtures. No new scheduling algorithm or pipeline tests were added.
Why this is timeout-risk mitigation, not an unconditional timeout claim
VerticalStackLayout_RTLFlowDirection_With_Height.Sharding mitigates demonstrated variable-duration execution risk; it does not mean every unsharded retry truncates, and it does not repair Issue17389.
Local qualification
The corrected inventory has 213 logical methods, 220 declarations, and 53 files, including all seven mutually exclusive TwoPaneView alternatives. Five commented-out pseudo-methods were removed only from inventory; their source comments are unchanged. Re-gathering completed builds 1657626, 1656297, and 1654475 recovered 126 formerly unmatched rows, yielding 3,461 timing samples, zero unmatched rows, five conservative imputations, and three existing globally disabled methods. The deterministic three-shard plan projects at most 48.591 minutes, with the existing two-minute safety margin against a 60-minute planning target. These are estimates, not native duration guarantees.
The real NUnit 4 CategoryFilter discovery of all four compiled clients exactly preserves each measured pre-change umbrella, with pairwise-disjoint shard selections:
Each of the seven platform-alternative methods is discovered exactly once per client. A concrete overlapping-iOS declaration probe is rejected.
Native qualification on the exact source
Unchanged full/default pipeline 313 branch run 1658126 runs source
dbc484eb938e6318926d9060d944e926718deecc. It was queued without category, configuration, matrix, parameter, or budget overrides. All 15 ordinary Layout jobs completed: Android, Windows, Catalyst, and the two iOS matrix variants, each across all three shards. Twelve actual final TRX files match the exact managed shard selectors; their disjoint unions match the baselines. Authoritative per-run results also verify the separate iOS 18.5 catalogs because existing artifact names collide between iOS matrix versions.Matrix labels are not used as runtime evidence: each leg's XHarness OS version/runtime identifier and the UDID passed to tests were checked. All three
18.5legs actually ran iPhone 11 Pro simulators on iOS 18.5; all threelatestlegs actually ran iOS 26.5. The misleading legacyPLATFORM_VERSION=18.5environment value on the latest legs is not treated as a measurement.First-run outcomes below are passed / failed / existing skips, not job-status inference:
latest)The stock full retries retained the identical complete case catalogs, not failed-test-only subsets:
Other Layout legs did not need a stock retry. Android's first failure was the app-not-running assertion in
VerifyAbsoluteLayout_WidthProportional; Windows first failures included FlexLayout/AbsoluteLayout fixture-navigation timeouts. Their passing full retries establish execution completeness, not an infrastructure or causal verdict.Catalyst Layout3's first NUnit run completed in 41.9923 minutes, its identical full retry in 31.4602 minutes, and the entire job in 95.5035 minutes, below the unchanged 180-minute cap. The first-pass wall time including setup was approximately 62.5 minutes, so this is explicitly not certification that native jobs always meet the 60-minute planning target.
Residual red result preserved:
Issue17389.ValidateBackgroundColorDoesNotAffectInputTransparentfails the first RedGrid tap-count assertion in both complete Catalyst Layout3 passes. Published run 46160826 contains all 72 final cases, including that failure; the test task and publisher remain red. This is not a post-completion false failure and is not repaired by this PR. The rest of pipeline 313 was still in progress at qualification; no whole-source-green or overall-task-complete verdict is implied.Commands and results
pwsh .github/skills/rebalance-ui-test-categories/scripts/Rebalance-UITestCategories.ps1 -Mode Apply -Category Layout -PlanPath <retained-final-plan.json> -Apply— passed mandatory pre/post source validation..dotnet/dotnet build src/Controls/tests/TestCases.<client>.Tests/Controls.TestCases.<client>.Tests.csproj --no-restore --nologo -v:q -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=falsefor Android, iOS, Mac, and WinUI — all passed with the pinned 11.0.100 SDK; actual NUnit CategoryFilter union/disjointness checks passed for each resulting assembly..dotnet/dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822 --include src/TestUtils/src/UITest.Analyzers/NUnit/NUnitTestMissingCategoryAnalyzer.cs— passed; workspace-load warnings were reported, not suppressed.ruby -rpsych -e 'Psych.parse_file("eng/pipelines/common/ui-tests.yml")', andgit diff --check— passed.az pipelines run --id 313 --branch refs/heads/kubaflo-layout-ci-execution-servicing --org https://dev.azure.com/dnceng-public --project public --only-show-errors -o json— run 1658126; all Layout first/full-retry catalogs and final TRX identities qualified as above; residual Issue17389 remains failed.Issues Fixed
No issue closure: execution-capacity follow-up to #39742, addressing the Layout full-retry timeout risk demonstrated in build 1657906. Does not fix #17389 and does not change either #39783 or #39784.