Repository navigation
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:21 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:21 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:22 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:23 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:25 — with
GitHub Actions
Inactive
kubaflo
temporarily deployed
to
copilot-pat-pool
October 6, 2026 03:25 — with
GitHub Actions
Inactive
kubaflo
added a commit
that referenced
this pull request
Oct 29, 2026
Reuse the predicate-based readiness correction from closed PR #39162, adapting it to the release branch's existing Shell shard. The element remains present while rotation layout changes, and NUnit 4 records transient assertion failures even when RetryAssert later succeeds. Keep the default readiness deadline, all three original width assertions/tolerances, category, and platform guards. Reacquire geometry during both transitions and restore portrait in finally. Current failed-case teardown already shows the correct 343-point width; matching NUnit 4.0.1 controls confirm caught transient assertions fail while predicate readiness passes. Validation: official Android HostApp runner executed the exact ShellTitleViewResizesOnRotation contract successfully with valid passing TRX; targeted format and diff checks pass. iOS CI efficacy remains pending, not inferred from Android. Backport-of: e33edd4 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8095f925-4a70-4d95-9e63-cd33cd5e4cd0
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 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.
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
Test-only synchronization correction for
Issue35844.ShellTitleViewResizesOnRotation, intentionally targetinginflight/currentunder maintainer direction. Only the existing shared test file changes; no production code, shared helpers, pipeline configuration, category, or platform guards change.WaitForElement("TitleViewGrid")checks presence, not completed rotation layout. The title view remains present during rotation. Replace the post-rotation presence waits with the existing predicate overload, reacquiring the element and sampling its width on each observation. Use its unchanged default 15-second deadline and polling policy. Landscape readiness requires growth greater than 50; portrait readiness requires return within 5 of the initial width. Retain all three original assertions and their exact tolerances. Restore portrait infinallyeven if landscape synchronization or an assertion fails. No whole-test retry, added sleep, larger timeout, skip, or quarantine.Evidence: original maui-pr-uitests build 1624171, source
4303c1707e5609faef3a769ab4434f3d48018cd5, iOS Mono 18.5 Shell leg. Original runner log 6520 reports return-to-portrait failures in both runner attempts: expected343 +/- 5, observed131then134. Published run45016700, result100192, matches the second attempt's exact134error. Publication log 6528 binds that leg to run45016700. The same result's teardown page-source attachment 7 subsequently shows portrait375x812andTitleViewGridwidth343. The attachment's ingestion time is not asserted to be its capture time. This establishes later correct geometry for the failed case, not a claim that the correction has already cured every historical failure.Validation (managed/static only; no local native/device/UI/Appium/XCTest execution or provisioning):
dotnet format Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35844.cs --exclude Templates/src --exclude-diagnostics CA1822 --verbosity quiet— passed.dotnet format whitespace Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35844.cs --verify-no-changes --verbosity quiet— passed.git diff --check— passed.dotnet build src/Controls/tests/TestCases.iOS.Tests/Controls.TestCases.iOS.Tests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -v:q— passed, zero warnings/errors.dotnet build src/Controls/tests/TestCases.Android.Tests/Controls.TestCases.Android.Tests.csproj -p:IncludeAndroidTargetFrameworks=false -p:IncludeIosTargetFrameworks=false -p:IncludeMacCatalystTargetFrameworks=false -p:IncludeWindowsTargetFrameworks=false -p:IncludeTizenTargetFrameworks=false -p:IncludeMacOSTargetFrameworks=false -v:q— passed, zero warnings/errors.Initial managed build attempts encountered missing assets (
NETSDK1004) and an overly broad TFM override (NETSDK1005for netstandard dependencies); the successful commands above restore the proper managed dependency graph with all native targets disabled.CI efficacy remains pending; keep draft. Required evidence is original runner attempts plus actual published results showing this exact test executed on iOS 18.5, iOS latest, and applicable Android modes. Original definition 313's root parameters expose
BuildEverything, native-AOT toggles, and pools, but no case/category/platform execution filter.categoryGroupsToTestis only a nested template parameter. PR defaults cover iOS latest, not 18.5; enablingBuildEverythingexpands the whole matrix. No broad run, blind retry, or pipeline change is included. No automatic merge or branch ports.Issues Fixed
Related to #35844 and #38333. No automatic issue closure: #38333 tracks historical net11 failures (including observed width 48), not the exact current inflight width-134/teardown evidence. No main/net11/release port has been validated.