Repository navigation
[Testing] Fixed Test case failure in PR 38782- Candidate - 1 - #38843
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
This comment has been minimized.
This comment has been minimized.
|
/azp run |
|
Note 🔍
|
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Note 🔍
|
This comment has been minimized.
This comment has been minimized.
|
/azp run maui-pr-uitests , maui-pr-devicetests |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
|
Note 🔍
|
MauiBot
left a comment
There was a problem hiding this comment.
AI Review Summary
@NafeelaNazhir — new AI review results are available based on commit
7d76bff.
🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix
Gate Result: ⚠️ SKIPPED
No tests were detected in this PR.
Recommendation: Add tests to verify the fix using the write-tests-agent.
📋 Pre-Flight — Context & Validation
Pre-Flight Context
Scope: Context gathering only for draft PR #38843 at head 7d76bff03375f8e4ac1e78812484f615b7d7dfc0, targeting inflight/candidate. This is not an exhaustive code review or a recommendation.
Reported problem
The author reports that the .NET 10 SR12 candidate PR #38782 exposed cross-platform device/UI test failures caused by expected rendering no longer matching existing screenshot baselines. #38782 is a large candidate snapshot, so the underlying product changes responsible for each rendering difference were not isolated by this PR.
A prior CI analysis for an earlier #38843 commit (6381ac8) specifically attributed seven Windows TitleBar screenshot failures to this PR’s removal of vertical margins. That analysis also reported unrelated or unresolved device-test crashes and other UI mismatches. Subsequent commits resaved images, including the Windows baselines, but validation of the current head was still pending when queried.
Submitted changes and mechanism
GitHub reports 41 changed files: 39 PNG baselines and two C# files, with no shipping framework source changed.
ScrollViewTests.iOS.cs: modifies the existingContentSizeExpandsToViewportdevice test. WithSafeAreaEdges.Container, it now compares the nativeUIScrollView.ContentSizedirectly againstAdjustedContentInset.InsetRect(Bounds).Size. Previously it manually insetContentSizeusingSafeAreaInsetsbefore comparison. Height and width assertions remain.TitleBarViewModel.cs: changes the test-host leadingImageand trailingImageButtonmargins from uniform10toThickness(10, 0), retaining horizontal margins while removing top and bottom margins. This deliberately changes rendered TitleBar test output.- Screenshot baselines:
- Android, 6 files: one
Issue37440...baseline is moved from genericandroidtoandroid-notch-36; existing RTL CollectionView, max-lines Label, and two ScrollView gradient baselines are refreshed; aLabelsShouldNotBeTruncatedAfterItemsSourceIsReplacedbaseline is added. - Mac, 6 files: refreshes ItemsWrapGrid, NoScrollbars, Shadows, and two CollectionView preselection baselines; adds the replaced-items-source Label baseline.
- Windows, 15 files: refreshes DataTrigger, seven TitleBar variants, five BindableLayout variants, and one CarouselView baseline; adds the replaced-items-source Label baseline.
- iOS, 12 files: the same six baselines are added/refreshed in both
iosandios-26: replaced-items-source Label, NoScrollbars, ScrollView bounds, Shadows, and two CollectionView preselection cases.
- Android, 6 files: one
The binary patch records only that the PNGs differ; it does not expose the pixel-level changes or establish that each new image represents intended output.
Platform-sensitive paths
ScrollViewTests.iOS.csuses UIKit and, by repository suffix convention, is relevant to both iOS and Mac Catalyst builds.- Its changed test depends on nonzero safe-area/adjusted content insets, including system bars, notch, or home-indicator conditions.
ScrollViewShouldRenderWithinBoundsis declared only for Android and iOS; this PR refreshes its generic and iOS 26 baselines, but no Android baseline for that test.- TitleBar screenshot tests compile on Windows and Mac Catalyst. The margin change affects shared host-app construction, while this PR updates seven Windows TitleBar baselines and no Mac TitleBar baselines. Whether Mac rendering is unaffected or requires corresponding baselines is not established.
- Android baselines distinguish generic rendering from the
android-notch-36profile; movingIssue37440...changes which environment supplies that expectation. - iOS maintains both generic and
ios-26expectations, so both image sets require independent validation. - Mac snapshots are under
TestCases.Mac.Tests; Windows snapshots are underTestCases.WinUI.Tests.
Validation requirements
The supplied Gate result is skipped because no tests were detected. It must not be interpreted as evidence that tests passed: the PR modifies an existing device-test assertion and many UI-test expectations, but adds no new test method.
For the requested Windows validation lane, the current head needs the Windows UI screenshot suite covering the 15 changed baselines, especially the seven TitleBar cases affected directly by the margin change. Generated images should be compared with the submitted baselines to distinguish intentional layout changes from incidental font, scaling, antialiasing, device, or timing differences.
Complete cross-platform validation additionally requires:
- Android runs for the generic and
android-notch-36baseline profiles. - iOS runs for generic and iOS 26 baselines, plus
ContentSizeExpandsToViewporton a configuration where adjusted safe-area insets are meaningful. - Mac Catalyst verification for the six changed Mac baselines, the iOS-suffixed device test, and the shared TitleBar margin behavior.
- Confirmation that the newly added
LabelsShouldNotBeTruncatedAfterItemsSourceIsReplacedexpectations correspond to an existing executed test on every represented platform. - Evidence that each broad baseline refresh comes from the canonical CI configuration and reflects intended candidate output rather than environmental drift.
At the current head, GitHub’s combined status was pending. The latest comments show maui-pr-uitests and maui-pr-devicetests reruns started after the final image refresh, and a separate Windows expert-review build started; no completed result for those current-head runs was available in the retrieved context.
Remaining uncertainties
- The exact rendering cause and intended pixel difference for each of the 39 binary files remain unknown.
- The linked candidate PR contains hundreds of files; its underlying functional changes were not reviewed here, so attribution beyond the reported failures is unknown.
- Available code search did not locate the declaration of
LabelsShouldNotBeTruncatedAfterItemsSourceIsReplacedon the indexed branches; this is unavailable context, not evidence that the test is absent. - It is unknown whether the shared TitleBar margin change intentionally applies to Mac Catalyst without Mac TitleBar baseline updates.
- The current
inflight/candidatehead reported by #38782 differs from #38843’s recorded base SHA, so final behavior after integrating with the latest candidate state is not established. - Current-head rerun outcomes, pixel-diff artifacts, device configurations, and failure logs were not yet available.
🔬 Code Review — Deep Analysis
Code Review — PR #38843
Independent Assessment
What this changes: The submitted change updates test infrastructure rather than shipping framework code: it refreshes 39 cross-platform screenshot baselines, removes vertical margins from the shared TitleBar test-host leading/trailing images, and changes the iOS/Mac Catalyst ScrollView safe-area assertion to compare native content size with the adjusted viewport.
Inferred motivation: The candidate branch changed rendered output and UIKit safe-area behavior, so the PR aligns existing visual and device-test expectations with that candidate output.
Reconciliation with PR Narrative
Author claims: The PR addresses failures exposed by #38782 by refreshing expected images across platforms and correcting the iOS ScrollView viewport comparison.
Agreement/disagreement: The submitted diff supports those claims. The expert review found no concrete line-level correctness defect, but binary baseline replacement alone cannot establish that every pixel change is intentional.
Prior Review Reconciliation
No unresolved prior error-level finding was validated against the submitted head. The earlier Windows TitleBar failures described in the trusted context predated the final baseline refresh.
Blast Radius Assessment
- Runs for all instances: The C# changes run only in test code, but the shared TitleBar host change affects every corresponding Windows and Mac Catalyst TitleBar screenshot case.
- Startup impact: No shipping application startup impact.
- Static/shared state: No new static or shared state.
- Platform scope:
ScrollViewTests.iOS.cscompiles for both iOS and Mac Catalyst; the baseline changes span Android, iOS, Mac Catalyst, and Windows.
CI Status
- Required-check result: Undetermined for the submitted head; the trusted context recorded current-head reruns as pending.
- Gate result: SKIPPED — no tests detected.
- Classification: Neither the pending checks nor the skipped Gate provide passing validation evidence.
- Action taken: Confidence is capped at low. Gate verification was not rerun, as required by the caller.
Findings
The expert reviewer wrote a validated empty JSON array to inline-findings.json; no concrete actionable source defect survived its dimension review.
The remaining concern is evidentiary rather than a line-level defect: 39 binary expectations cannot be judged for fidelity from the Git patch, and the supplied Gate did not execute the affected screenshot/device tests.
Failure-Mode Probing
- Shared TitleBar host change on Mac Catalyst without corresponding Mac TitleBar baseline updates: no failure was established, but the supplied evidence does not show that the Mac cases ran or remained unchanged.
- iOS/Mac Catalyst adjusted-inset assertion with nonzero safe-area insets: the new comparison is coherent with the adjusted viewport, but no completed current-head device-test result was supplied.
- Broad screenshot refresh under a different scale, font, antialiasing, device, or timing environment: the patch cannot distinguish environmental drift from intended rendering; canonical UI-test artifacts are required.
External Output Contract
Not applicable.
Verdict: NEEDS_DISCUSSION
Confidence: low
Summary: The one permitted expert pass found no blocking code defect and produced no inline findings. Approval is nevertheless unsupported because the Gate was skipped and the submitted binary baselines and platform-sensitive test changes lack completed, isolated validation evidence.
Refinement Threshold
Not met. There is no concrete actionable expert finding or source/test-backed unresolved mechanism to justify a pr-plus-reviewer patch.
🛠️ Try-Fix — Analysis & Comparison
Alternative generation: not requested
Evidence-first mode intentionally omits routine Try-Fix attempts. This is not a failed
attempt, a completed alternative search, or evidence that alternatives have no value.
The expert review may still produce one evidence-backed PR refinement.
📝 PR Finalize — Recommended Title & Description
Assessment: ✏️ Recommend updating — the current title is vague and the description omits the shared TitleBar margin change and the precise cross-platform baseline scope.
Recommended title
[All Platforms] UI tests: Refresh candidate baselines and iOS ScrollView assertion
Recommended description
### Description of Change
This PR addresses test failures exposed by the inflight candidate PR https://github.com/dotnet/maui/pull/38782 and aligns the affected test expectations with the candidate output.
The submitted changes:
- Add or refresh 39 expected screenshot baseline files across Android, iOS, Mac Catalyst, and Windows.
- Move `Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight` from the generic Android baseline set to the `android-notch-36` profile.
- Update the shared TitleBar test-host leading `Image` and trailing `ImageButton` margins from uniform `10` to `Thickness(10, 0)`, retaining horizontal spacing while removing vertical spacing.
- Update the iOS/Mac Catalyst `ContentSizeExpandsToViewport` ScrollView device test to compare `ContentSize` directly with the viewport after UIKit applies `AdjustedContentInset`.
#### Updated image cases
- DataTrigger_ButtonDisabled
- Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight
- ItemsWrapGridWithDefaultWidth
- LabelNotTruncatedWithMaxLines
- LabelsShouldNotBeTruncatedAfterItemsSourceIsReplaced
- NoScrollbarsTest
- RtlCollectionViewShouldNotBeTruncatedAfterLandscapeRotation
- ScrollViewShouldRenderWithinBounds
- ShadowsDontRespectControlShape
- VerifyBindableLayoutWithBasicItemTemplate
- VerifyBindableLayoutWithGridItemTemplate
- VerifyBindableLayoutWithItemTemplateSelector
- VerifyBindableLayoutWithItemsSourceNone
- VerifyBindableLayoutWithItemsSourceObservableCollection
- VerifyCarouselViewKeepScrollOffsetAdd
- VerifyModelItemsObservableCollectionWhenMultipleModePreSelection
- VerifyModelItemsObservableCollectionWhenSingleModePreSelection
- ScrollViewGradientBackground
- ScrollViewWithoutGradientBackground
- TitleBar_Window
- TitleBar_Icon_WithTrailingContentAndLeadingContent
- TitleBar_TrailingContentAndLeadingContent_WithTitleAndSubtitle
- TitleBar_TrailingContentAndLeadingContent_WithSearchBar
- TitleBar_TrailingContentAndLeadingContent_WithGrid
- TitleBar_TrailingContentAndLeadingContent_WithHorizontalStackLayout
- TitleBar_TrailingContentAndLeadingContent_WithBackgroundColor
### Issues Fixed
Related candidate PR: https://github.com/dotnet/maui/pull/38782
🏁 Report — Final Recommendation
⚠️ Final Recommendation: REQUEST CHANGES
Phase Status
| Phase | Status | Notes |
|---|---|---|
| Pre-Flight | ✅ COMPLETE | Trusted read-only context consumed for submitted head 7d76bff03375f8e4ac1e78812484f615b7d7dfc0 |
| Code Review | NEEDS_DISCUSSION (low) | One expert pass completed; 0 validated inline findings, but required validation evidence is missing |
| Gate | No tests detected; this is not a passing result | |
| Try-Fix | NOT REQUESTED | Evidence-first mode intentionally omitted routine alternative generation |
| Refinement | NOT GENERATED | Expert evidence did not meet the threshold for a pr-plus-reviewer patch |
| Report | ✅ COMPLETE | Raw PR assessed as the sole real candidate |
Code Review and Candidate Comparison
| Candidate | Implementation | Expert Findings | Validation | Ranking |
|---|---|---|---|---|
pr |
Submitted test-only change: 39 screenshot baselines, shared TitleBar test-host margins, and iOS/Mac Catalyst ScrollView assertion | No concrete actionable defect survived expert validation | Gate skipped; current-head platform reruns and binary fidelity were not demonstrated in the supplied evidence | 1 |
Alternative generation: not requested. No try-fix-N candidates were created. No pr-plus-reviewer candidate was implemented because the expert review did not identify a concrete actionable defect or source/test-backed unresolved behavioral mechanism.
Selected Fix: PR — it is the only implemented candidate and the expert pass found no line-level defect. Selection does not establish merge readiness: the skipped Gate independently prevents approval, and the broad binary baseline refresh remains unvalidated.
Summary
Request changes pending isolated current-head validation of the affected Windows UI screenshot cases and the relevant cross-platform screenshot/device-test lanes. The submitted implementation is narrowly scoped to tests and has no validated inline code defect, but neither artifact presence nor a skipped Gate proves that the 39 replacement images are canonical or that the platform-sensitive assertion behaves correctly.
Root Cause
The candidate branch changed rendered output relative to existing UI-test expectations, and UIKit applies safe-area adjustments through AdjustedContentInset, making the prior ScrollView comparison stale. The submitted evidence does not isolate the product-side cause of each image delta, so attribution for the full baseline set remains uncertain.
Fix Quality
The source changes are focused: TitleBar test content retains horizontal margins while removing vertical margins, and the ScrollView test compares content size with the adjusted viewport. The expert reviewer produced a valid empty inline-findings.json. However, the fix changes expectations rather than proving the expected output; approval requires completed canonical runs for the affected Windows baselines and applicable Android, iOS, and Mac Catalyst paths, including meaningful safe-area coverage.
📱 UI Tests — Button,Label,Layout
Detected UI test categories: Button,Label,Layout
❌ Deep UI tests — 401 passed, 2 failed, 8 skipped across 3 categories on platform-pool agent (replaces in-process counts above).
🧪 UI Test Execution Results (deep, platform pool)
| Category | Tests | Snapshot diffs |
|---|---|---|
Button |
100/103 (2 ❌, 1 skipped) | 2 diff PNGs |
Label |
115/118 (3 skipped) ✓ | — |
Layout |
186/190 (4 skipped) ✓ | — |
🔍 AI analysis of failures — PR-related vs unrelated
🔍 AI-generated triage (GitHub Copilot CLI) — a heuristic judgement of whether each deep UI test failure is connected to this PR's changes. Verify before relying on it.
Likely unrelated: the failures appear pre-existing, flaky, or infrastructure.
- ● Unrelated — Windows Button visual snapshots (2 tests): both are baseline-image mismatches, while the PR changes neither Button rendering code nor these Windows Button baselines; its shared source edit is confined to TitleBar test content, and the iOS-only test change cannot affect Windows.
Strongest signal: the PR updates several Windows baselines, but neither failing Button baseline is among them.
❌ Button — 2 failed tests
VerifyButton_ImageWithShadow
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: VerifyButton_ImageWithShadow.png (0.60% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.
More info: https://aka.ms/visual-test-workflow
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 299
at Microsoft.Maui.TestCases.Tests.ButtonFeatureTests.VerifyButton_ImageWithShadow() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ButtonFeatureTests.cs:line 684
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack resu
...
VerifyButton_ContentLayoutRightWithImage
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: VerifyButton_ContentLayoutRightWithImage.png (1.76% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.
More info: https://aka.ms/visual-test-workflow
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 299
at Microsoft.Maui.TestCases.Tests.ButtonFeatureTests.VerifyButton_ContentLayoutRightWithImage() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ButtonFeatureTests.cs:line 564
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor,
...
📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)
🧭 Next Steps — review latest findings
No alternative fix was selected for this run. Review the session findings and CI results before merging.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Tests Failure Analysis
🧪 CI Analysis — click to expand📊 maui-prNo failures found. 🧪 maui-pr-devicetests
🧪 maui-pr-uitests
🧭 Follow-up — actions and refreshNext action: Restore complete results and variant metadata; compare crash stacks and snapshots against equivalent target runs.
|
## Description This PR addresses the test failures that occurred in the inflight/candidate branch: #38782, and includes updates to improve rendering and test stability across platforms. This PR adds and updates the expected baseline images for all platforms so the tests validate the current intended output. Fixes: #38782 It also updates the iOS ScrollView safe-area test to compare the content size with the viewport after UIKit applies the adjusted content inset. #### Images - DataTrigger_ButtonDisabled - Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight - ItemsWrapGridWithDefaultWidth - LabelNotTruncatedWithMaxLines - LabelsShouldNotBeTruncatedAfterItemsSourceIsReplaced - NoScrollbarsTest - RtlCollectionViewShouldNotBeTruncatedAfterLandscapeRotation - ScrollViewShouldRenderWithinBounds - ShadowsDontRespectControlShape - VerifyBindableLayoutWithBasicItemTemplate - VerifyBindableLayoutWithGridItemTemplate - VerifyBindableLayoutWithItemTemplateSelector - VerifyBindableLayoutWithItemsSourceNone - VerifyBindableLayoutWithItemsSourceObservableCollection - VerifyCarouselViewKeepScrollOffsetAdd - VerifyModelItemsObservableCollectionWhenMultipleModePreSelection - VerifyModelItemsObservableCollectionWhenSingleModePreSelection - ScrollViewGradientBackground - ScrollViewWithoutGradientBackground - TitleBar_Window - TitleBar_Icon_WithTrailingContentAndLeadingContent - TitleBar_TrailingContentAndLeadingContent_WithTitleAndSubtitle - TitleBar_TrailingContentAndLeadingContent_WithSearchBar - TitleBar_TrailingContentAndLeadingContent_WithGrid - TitleBar_TrailingContentAndLeadingContent_WithHorizontalStackLayout - TitleBar_TrailingContentAndLeadingContent_WithBackgroundColor --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: LogishaSelvarajSF4525 <logisha.selvaraj@syncfusion.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
<!-- 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 --> Add `/review gate` as an explicit existing-test-only mode without replacing or shortening the existing hosted `/review` process. Bare `/review`, its platform/branch options, and dispatches that omit the new flag continue to select the full review. `/review tests` and `/review performance` remain independent. The gate retains the existing selected unit, XAML, device, and UI verifier, including failure-only verification for test-only changes, bounded native selection, retry handling, and skipped/inconclusive outcomes. It does not generate missing tests or run expert code review, Try-Fix, deep-category UI sweeps, or Copilot inference. These exclusions apply only to gate mode; hosted `/review` and local full-review tools retain their existing phases. Publish a commit-pinned, bounded report with a closed **Gate analysis** section. The original expandable layout from #38807 is refined to match [the user-selected test-failure-analysis comment](#37572 (comment)): an author/commit quote, flat-square result/platform/commit badges, and readable result tables grouped by test type. At the user's request, omit the Scope badge/text, Follow-up accordion, and report/artifact-link footer. Only recognized diagnostic fields are rendered; raw execution-log excerpts remain escaped in their own collapsed section rather than displaying a raw Markdown document. Posting runs on a fresh agent and only maintains gate signals and publisher-owned gate comments; it does not approve PRs or edit their titles/descriptions. The trigger and scheduled recovery recognize both commands and preserve the selected mode after permission and source-comment revalidation. Previously removed existing full-review coverage is restored unchanged; no new pipeline/configuration tests are added. Live validation exposed two selection defects: a closed nested Picker helper was mistaken for its test fixture, and a nested XAML `Test` fixture became an assembly-wide filter. Resolve containing class scopes using the existing C# declaration scanner, and group nested XAML fixtures by their page. Build errors and no-match results remain visibly unverified in both detailed evidence and the console summary. Keep the verifier's existing passing policy, but make the publication explicit that unmatched/inconclusive groups are not successful execution evidence. A publication canary exposed an unnecessary repository-label metadata PATCH returning HTTP 404. The gate now assigns the existing gate labels without editing repository-wide descriptions/colors. Required assignment failures explicitly fail publication instead of being ignored. The final live publication completed without that warning. **Additive routing at production source `3e96214dacd9c65b3e99b0f23801e197722d0fc3`:** | Request | Selected pipeline | | --- | --- | | `/review` or normal/default dispatch | Existing full review, Deep UI, final AI Summary, cleanup, and telemetry | | `/review gate` or `gate_only=true` | Setup/Gate, fresh gate-only publication, and cleanup | | `/review tests` / `/review performance` | Their unchanged independent workflows | `eng/pipelines/ci-copilot.yml` keeps the original full stages inline and defaults `GateOnly` to **false**. Its explicit true branch selects `pr-review-gate.yml` at compile time, so gate runs contain no full-review/inference, Deep UI, or token-aggregation jobs. The parent passes the shared 150-minute Gate task limit as a typed template parameter; an actual Azure compiler preview exposed that the extracted stage template cannot read the parent's static timeout directly. No new Azure definition, secret, permission, or OIDC trust is required. **Current validation:** - `actionlint .github/workflows/review-trigger.yml .github/workflows/review-trigger-recovery.yml` - passed. Both Azure YAML files parse, all four changed production PowerShell scripts and 48 compile-time-expanded embedded PowerShell blocks parse, and `git diff --check` passes. - Azure Runs API `previewRun=true` on definition 27723 with the production branch and exact SHA above - **nine successful compiler previews**: omitted mode, explicit false on Android/iOS/Catalyst/Windows, and explicit true on all four platforms. Omitted mode expands identically to false. Full mode retains all five original stages; gate mode includes only `Gate`, `PostGate`, and `CleanupReviewLock`, with a 150-minute credential-free Gate task. - `Invoke-Pester -Path @('.github/scripts/ReviewTrigger.Tests.ps1', '.github/scripts/Recover-MissedReviewCommands.Tests.ps1', '.github/scripts/Review-PR.Tests.ps1', '.github/scripts/CopilotPipeline.Tests.ps1', '.github/scripts/shared/Prepare-UITestFailureAnalysis.Tests.ps1', '.github/scripts/Post-AISummaryComment.Tests.ps1') -Output Minimal -PassThru` - **246 passed, two unchanged model-pin assertions failed** against the independent, untouched `Review-Tests.ps1`. The restored existing suites and implicated product files match the original/current main versions; these unrelated assertions are not changed to manufacture a green result. - [Remote additive canary 15652574](https://devdiv.visualstudio.com/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_build/results?buildId=15652574), queued by [the existing trusted-main dispatcher](https://github.com/dotnet/maui/actions/runs/38237622825), **succeeded** on this draft PR. Only Gate, fresh PostGate, and Cleanup jobs ran; all three succeeded. The no-MAUI-tests control truthfully reported **SKIPPED**, not native test execution. Its 7,062-byte GateLogs artifact contains regular allowlisted diagnostics. The new [MauiBot report](#39189 (comment)) has three badges and a closed Gate analysis with no Scope, Follow-up, or footer; its reviewed head and protected baseline are pinned. Actual GitHub state confirms no gate pass/fail or full-review signals and a released lock. Distinct hosted worker IDs confirm fresh-agent publication. Direct queue access was denied; the already-authorized dispatcher was used without changing credentials or trust. - This pre-merge canary uses isolated source `783a98445b269b3e9e30fef82e98d898ada3a74f` on `kubaflo-gate-only-additive-canary-3e96214`. It differs from production only in the declared `GateOnly` default, temporarily true because the old main dispatcher cannot pass the new input. Its actual Azure-expanded stages are identical to production with explicit true. The production PR remains at the SHA above with default **false**. - `Get-CIStatus.ps1 -PRNumber 39189 -Repository dotnet/maui -MaxJobs 100 -MaxFailureLines 20 -NoCache` - completed and refreshed after the canary; [normal maui-pr build 1631878](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1631878) is still in progress for raw source `3e96214dacd9c65b3e99b0f23801e197722d0fc3` and merge source `74b9a40864ccb43a4079c8bb5d50fd20d53ea0ef`. The latest snapshot has six succeeded jobs, 20 pending/running, and no failures. Pending CI is not passing CI. <details> <summary>Earlier source-specific Gate execution, ten-PR canaries, and compact-comment validation</summary> The evidence below is preserved at its original execution/presentation sources. It does not claim that the ten earlier canaries ran at the newest additive source. **End-to-end execution validation at source `8e639d714ae303b62b537596cf488a476393bdc1`:** - Final publisher PowerShell parsing and `git diff --cached --check` passed. Earlier changed PowerShell/embedded Azure Bash and PowerShell syntax checks, YAML parsing, and `actionlint .github/workflows/review-trigger.yml .github/workflows/review-trigger-recovery.yml` passed; the follow-ups do not alter those YAML files. - `Invoke-Pester -Path @('.github/scripts/shared/Update-AgentLabels.Tests.ps1', '.github/scripts/shared/Detect-TestsInDiff.Tests.ps1', '.github/skills/verify-tests-fail-without-fix/scripts/Verify-TestsFail.Tests.ps1') -Output Minimal -PassThru` — 176 passed, zero failed. The actual console summary renderer was exercised with build-error, unmatched-filter, and environment-error records; none appeared as expected assertion failures. The final live log also correctly displays `BUILD ERR` rather than a successful runtime failure. - Azure Runs API previews succeeded for Android, iOS, Catalyst, and Windows, with only Gate, PostGate, and lock cleanup jobs. The Android `RunGate` task expands to 150 minutes. Those YAML configurations are unchanged by the publisher follow-ups. - The full detector against the exact #39175 test files selects only `UnitTest:PickerTests` and `XamlUnitTest:Maui30644`, merging the XAML page and code-behind rather than selecting a closed helper or broad `Test` filter. - The [hosted PowerShell suite at that source](https://github.com/dotnet/maui/actions/runs/37511816441) matches the existing workflow-equivalent selection: 2,456 passed and three unchanged model-policy assertions failed against the independent `/review tests` implementation/workflow files. Those unrelated model pins are not changed here. The retained local full-review publisher's 75 existing regressions pass. - [Skill validation at that source](https://github.com/dotnet/maui/actions/runs/37511811901): static validation passed, but the evaluation artifact exits 1 with 12 protocol and 18 capability session-construction errors (`Session filesystem path escapes root`), zero evaluation turns, and zero tokens. The unchanged hermeticity harness separately fails while materializing missing sparse-checkout blobs (`Could not reset index file to revision 'HEAD'`). A green execution job is not a passing skill evaluation. - [First live Picker/XAML canary on #39175](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15583760): `Maui30644` reproduced the issue and passed all three cases with the fix, but the incorrect Picker filter matched no tests. The corrections above address that selection. #39175 merged before publication; the publisher correctly refused the closed target and cleanup released its lock. - [Second Android canary on #37572](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15584958) completed the Gate, fresh publication, and cleanup, but exposed the repository-label metadata warning corrected above. Its owned report was superseded by the final canary. - [Final Android canary on #37572](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15585863), dispatched through [trusted `main`](https://github.com/dotnet/maui/actions/runs/37511805027), **succeeded at the exact source SHA above**. The selected `AnimationTests` baseline cannot compile without the fix's internal `HasTweener` API; all seven cases pass with the fix. This exercises the verifier's existing compile-coupled mode, not runtime FAIL-to-PASS reproduction. - The final fresh agent published [the gate report](#37572 (comment)), applied the appropriate gate signal without repository-label metadata edits, and minimized the previous owned report as outdated. Actual GitHub state confirmed the old report minimized, the new report visible, the tested head unchanged, and the in-progress lock absent. Cleanup succeeded. No new full-review tracking/outcome labels or PR metadata edits are claimed. **Comment-presentation follow-up at source `4d85e1f9307a83aba11c4603603876de8dcb121c`:** - Publisher PowerShell parsing and `git diff --cached --check` passed. The existing targeted label, detector, verifier, and local full-review publisher suites passed: **251 tests, zero failures**. No new pipeline/configuration tests were added. - `Post-PRGate.ps1 -DryRun` used the exact final-canary diagnostic transcript and immutable commit/run identities. The actual GitHub Markdown API rendered four badges, a real before/after results table, closed Gate analysis and Follow-up sections, and separately escaped execution logs. The existing failure-only report writer was also exercised with all four test types; skipped/no-report and merge-blocked previews do not claim execution or a with-fix result. - At the user's request, a separately guarded maintainer edit reformatted **the same existing MauiBot comment**, rather than running the publisher under a different identity or posting a duplicate. The live comment's `body_html` read-back confirms the new rendering. MauiBot attribution, the original verdict/run, both tested commits, the PR head, and every label are unchanged. This is a presentation-only edit of existing evidence, **not a new Azure verification run**. **Requested ten-PR canary batch — all ten outcomes verified:** All ten original runs were dispatched from trusted `main` with the custom `pipeline_ref` at source `4d85e1f9307a83aba11c4603603876de8dcb121c`. Original identities remain preserved separately from corrective attempts. Corrective unit-selection/publication runs used `78bb5d3a3bc6da91357b5b116542d77bcc283449`; final Windows helper validation used `d4397eaa8b855209c963ea8aad201508c3d45c05`; the additional Windows bootstrap control used source `ecd602ef48662a2a59f083d9db8fc5bdfb83fd45`. The batch is not represented as ten runs at the newest source. | PR | Platform | Verified outcome | Actual evidence | | --- | --- | --- | --- | | [#37319](#37319 (comment)) | Android | FAILED | [15596739](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15596739): with-fix unit execution has 53 passes and two genuine stroke-transition assertion failures. The independent UI case fails without the fix and passes with it, but does not conceal the unit failures. Unit baseline is compile-coupled to the new API. | | [#38441](#38441 (comment)) | Catalyst | PASSED | [15596747](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15596747): selected CollectionView height-update device case fails without the fix and passes with it. | | [#38625](#38625 (comment)) | Android | PASSED | [15596742](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15596742): 64 selected with-fix unit/SourceGen/XAML cases pass across five groups; baseline compilation is coupled to the new API. | | [#39013](#39013 (comment)) | Android | PASSED | [15596744](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15596744): the selected CurrentItem-after-removal UI case runs and fails without the fix, then runs and passes with it. | | [#38883](#38883 (comment)) | Catalyst, corrective host | FAILED | [15597032](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597032): corrected `SkiaSharpSvgToolsTests` selects 16 cases, including both PR-added SVG tests. All pass without the fix, on confirmation, and with it. The selected unit tests do not reproduce this packaging change; this is not a with-fix test failure. | | [#39213](#39213 (comment)) | Android; Windows control | SKIPPED | Original corrective Android control [15597033](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597033) and Windows bootstrap control [15597596](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597596) both select no tests. No successful test execution or passing signal claimed. | | [#37690](#37690 (comment)) | iOS, corrective run | INCONCLUSIVE | [15597037](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597037): all 23 selected unit cases pass with the fix; baseline cannot compile against the new cache API. Scoped device execution produces no fresh XHarness XML, so overall verification stays inconclusive. | | [#38843](#38843 (comment)) | iOS, corrective run | INCONCLUSIVE | [15597038](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597038): test-only ScrollView verification produces no fresh device result. No with-fix execution is claimed. | | [#39185](#39185 (comment)) | Android | FAILED | [15596745](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15596745): selected `BindingPath_Parsed` passes without the fix, both confirmations, and with the fix. Fresh method-scoped XML contains one passing result; a different failure in the broader class cannot count as reproduction of this selected test. Actual inflight baseline is `262d95940f646b601093b36db4e27c691670d753`. | | [#39179](#39179 (comment)) | Windows, final helper run | PASSED, failure-only | [15597455](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597455): ten actual HybridWebView UI cases, nine passing and one expected baseline failure (`VerifyHybridWebViewWithShadow`, 6.11% screenshot difference). Shared parser classifies the real results without the former missing-helper exception. No with-fix run is claimed. | For all ten outcomes, bounded artifact export, fresh MauiBot publication, actual stored HTML, reviewed head, appropriate gate signals, and lock cleanup are verified. At these execution sources, reports rendered four badges and closed Gate analysis/Follow-up accordions; test-group tables were rendered when evidence existed, while the no-tests control truthfully had no test table. The user-requested in-place simplification below now removes Scope and Follow-up from those same reports. Available excerpts remain escaped and detailed execution evidence stays in bounded artifacts. Replaced owned reports are independently confirmed minimized as outdated. Intentional FAILED verdicts remain red even when publication and cleanup succeed. Missing iOS result files are unverified execution, not demonstrated flakes or proof that the target PR is wrong. A passing gate is not full coverage, a code review, or merge readiness. #39179's old Windows attempts at sources before `d4397` could not parse failure-only results because the snapshot-size helper was declared after that branch exited. The older corrective [15597112](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597112) published and cleaned up successfully but did **not** validate the helper fix. Final [15597455](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597455) validates the exact helper source and retains the 156,762-byte `test-failure-HybridWebViewFeatureTests.log`. Its author advanced the raw reviewed head from `63621b4f8254b5a4112b1dbac3e676633544ca52` to `0d16b9cc87ef5640e176a2666e02c269ebdd6ce7` before final dispatch; those identities remain separate. Final reviewed/live head is unchanged, only the passing gate signal is present, and the lock is absent. The final build is `partiallySucceeded` because of its initial WSL preparation warning; protected-base recovery, actual Gate, export, fresh publication, and cleanup succeeded. Native Windows provisioning at source `ecd602ef` is separately verified below. **Canary-exposed corrections:** - Source `78bb5d3a3bc6da91357b5b116542d77bcc283449`: explicitly exit successfully after checked publication so an accepted optional label-removal 404 cannot leak a native exit code into PowerShell@2. Required API errors still throw. Bound/truncate allowlisted optional transcripts rather than rejecting all GateLogs when a transcript is oversized. Select the containing unit fixture instead of broad nested `Resize` (597 cases became the intended 16). Corrective SKIPPED, intentional FAILED, and INCONCLUSIVE publications and cleanup complete successfully. - Source `d4397eaa8b855209c963ea8aad201508c3d45c05`: move the unchanged snapshot-size parser helper before shared parsing and both verification modes; retain bounded `test-failure*.log` diagnostics. Updated related documentation. PowerShell parsing of both changed scripts and `git diff --check` passed. `Invoke-Pester -Path @('.github/skills/verify-tests-fail-without-fix/scripts/Verify-TestsFail.Tests.ps1', '.github/scripts/shared/Export-ExpectedPRAgentArtifact.Tests.ps1', '.github/scripts/shared/Copy-BoundedDiagnosticFile.Tests.ps1', '.github/scripts/shared/Import-ExpectedPRAgentArtifact.Tests.ps1') -Output Minimal -PassThru` — **141 passed**, zero failed/skipped/inconclusive/not-run. No new pipeline/configuration tests were written. Actual Windows failure-only parser/log-export/publication verification passed in [15597455](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597455). - Source `ecd602ef48662a2a59f083d9db8fc5bdfb83fd45`: select a native PowerShell child for the Windows MSBuild-task watchdog instead of system `bash` that selected unconfigured WSL on Windows-2022. Retain the existing Unix command, wall-clock bound, output sanitization, exit-code propagation, and retry markers. YAML parsing, all eight embedded PowerShell blocks, the Windows child command, and `git diff --check` passed; no pipeline tests were added. The additional [Windows bootstrap control 15597596](https://dev.azure.com/DevDiv/DevDiv/_build/results?buildId=15597596), on already-selected no-tests PR #39213 at unchanged head `1021c9a53afc990312bd6be5cea48dd56205c96f`, **completed successfully at this exact source**. MSBuild tasks actually built on the first attempt in 3m10s, with zero errors and no WSL/retry failure. Its bounded report is SKIPPED; fresh MauiBot [6038579070](#39213 (comment)) rendering, absence of pass/fail signals, prior-owned minimization, export, publication, and cleanup are verified. No native tests are claimed for this control; it is not a substitute for the separate Windows helper execution. **User-requested compact presentation at source `e41058bb0798ed6dddabcb1fda339d532bf2f145`:** - Remove the Follow-up accordion and its unused next-action logic, the Scope badge/text, and the report/artifact-link footer. Keep Result/Platform/Commit badges, Gate analysis, nuanced verdicts, test tables, escaped excerpts, and pinned head/baseline identities. Update both relevant report-format documentation sections. Publication ownership, ordering, labels, minimization, and artifact limits are unchanged. - Publisher PowerShell AST parsing and `git diff --cached --check` passed. Production `Post-PRGate.ps1 -DryRun` and actual GitHub Markdown rendering passed using retained evidence for full-mode PASSED (#38441), compile-coupled PASSED (#38625), failure-only PASSED (#39179), FAILED (#37319), SKIPPED (#39213), and INCONCLUSIVE (#37690). Each has three badges and closed Gate analysis without Scope, Follow-up, or the footer; test tables and escaped log contents remain unchanged. No new pipeline tests or native verification reruns were added. - All ten report URLs above were updated **in place** with separately guarded maintainer edits after freshly checking each comment's exact body, update timestamp, owner, ID, and run marker. The publisher was not run under the maintainer's identity. Actual stored `body_html` read-back verifies the same MauiBot comment IDs and unchanged verdicts, commit identities, test tables, and log text. These are presentation-only edits of existing evidence, not new Azure Gate runs or new comments. </details> The additive correction, remote canary verification, earlier ten-PR verification, and compact comment presentation are complete and pushed. This PR remains **draft** while normal CI finishes; no merge readiness is claimed. The earlier model-policy and skill-harness failures are preserved above as source-specific evidence, not silently repaired or described as green. After this PR merges, `/review` continues the full process and `/review gate` selects only existing-test verification. ### 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. --> N/A - requested additive gate-only review and report-presentation changes; #38807 is the initial report-layout reference, not an issue fixed by this PR. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
## Description This PR addresses the test failures that occurred in the inflight/candidate branch: #38782, and includes updates to improve rendering and test stability across platforms. This PR adds and updates the expected baseline images for all platforms so the tests validate the current intended output. Fixes: #38782 It also updates the iOS ScrollView safe-area test to compare the content size with the viewport after UIKit applies the adjusted content inset. #### Images - DataTrigger_ButtonDisabled - Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight - ItemsWrapGridWithDefaultWidth - LabelNotTruncatedWithMaxLines - LabelsShouldNotBeTruncatedAfterItemsSourceIsReplaced - NoScrollbarsTest - RtlCollectionViewShouldNotBeTruncatedAfterLandscapeRotation - ScrollViewShouldRenderWithinBounds - ShadowsDontRespectControlShape - VerifyBindableLayoutWithBasicItemTemplate - VerifyBindableLayoutWithGridItemTemplate - VerifyBindableLayoutWithItemTemplateSelector - VerifyBindableLayoutWithItemsSourceNone - VerifyBindableLayoutWithItemsSourceObservableCollection - VerifyCarouselViewKeepScrollOffsetAdd - VerifyModelItemsObservableCollectionWhenMultipleModePreSelection - VerifyModelItemsObservableCollectionWhenSingleModePreSelection - ScrollViewGradientBackground - ScrollViewWithoutGradientBackground - TitleBar_Window - TitleBar_Icon_WithTrailingContentAndLeadingContent - TitleBar_TrailingContentAndLeadingContent_WithTitleAndSubtitle - TitleBar_TrailingContentAndLeadingContent_WithSearchBar - TitleBar_TrailingContentAndLeadingContent_WithGrid - TitleBar_TrailingContentAndLeadingContent_WithHorizontalStackLayout - TitleBar_TrailingContentAndLeadingContent_WithBackgroundColor --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: LogishaSelvarajSF4525 <logisha.selvaraj@syncfusion.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
## Description This PR addresses the test failures that occurred in the inflight/candidate branch: #38782, and includes updates to improve rendering and test stability across platforms. This PR adds and updates the expected baseline images for all platforms so the tests validate the current intended output. Fixes: #38782 It also updates the iOS ScrollView safe-area test to compare the content size with the viewport after UIKit applies the adjusted content inset. #### Images - DataTrigger_ButtonDisabled - Issue37440EmptyAutoSizeEditorDoesNotSnapToMaximumHeight - ItemsWrapGridWithDefaultWidth - LabelNotTruncatedWithMaxLines - LabelsShouldNotBeTruncatedAfterItemsSourceIsReplaced - NoScrollbarsTest - RtlCollectionViewShouldNotBeTruncatedAfterLandscapeRotation - ScrollViewShouldRenderWithinBounds - ShadowsDontRespectControlShape - VerifyBindableLayoutWithBasicItemTemplate - VerifyBindableLayoutWithGridItemTemplate - VerifyBindableLayoutWithItemTemplateSelector - VerifyBindableLayoutWithItemsSourceNone - VerifyBindableLayoutWithItemsSourceObservableCollection - VerifyCarouselViewKeepScrollOffsetAdd - VerifyModelItemsObservableCollectionWhenMultipleModePreSelection - VerifyModelItemsObservableCollectionWhenSingleModePreSelection - ScrollViewGradientBackground - ScrollViewWithoutGradientBackground - TitleBar_Window - TitleBar_Icon_WithTrailingContentAndLeadingContent - TitleBar_TrailingContentAndLeadingContent_WithTitleAndSubtitle - TitleBar_TrailingContentAndLeadingContent_WithSearchBar - TitleBar_TrailingContentAndLeadingContent_WithGrid - TitleBar_TrailingContentAndLeadingContent_WithHorizontalStackLayout - TitleBar_TrailingContentAndLeadingContent_WithBackgroundColor --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: LogishaSelvarajSF4525 <logisha.selvaraj@syncfusion.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Trace the one-pixel box shift to #39561's intentional vertical alignment correction. Preserve the product fix and all test assertions. Old clamping passes 3/3; restored production with old images fails 3/3; reviewed images pass 3/3; image revert fails 3/3; restored images pass 3/3. The only pixel changes are two box-edge rows, with no gradient differences. Existing #38843 carries the target's old pixels and does not address this later centering change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35e8b0da-aca3-469d-8dca-b808947cbe81
Trace the one-pixel box shift to #39561's intentional vertical alignment correction. Preserve the product fix and all test assertions. Old clamping passes 3/3; restored production with old images fails 3/3; reviewed images pass 3/3; image revert fails 3/3; restored images pass 3/3. The only pixel changes are two box-edge rows, with no gradient differences. Existing #38843 carries the target's old pixels and does not address this later centering change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35e8b0da-aca3-469d-8dca-b808947cbe81
Trace the one-pixel box shift to #39561's intentional vertical alignment correction. Preserve the product fix and all test assertions. Old clamping passes 3/3; restored production with old images fails 3/3; reviewed images pass 3/3; image revert fails 3/3; restored images pass 3/3. The only pixel changes are two box-edge rows, with no gradient differences. Existing #38843 carries the target's old pixels and does not address this later centering change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35e8b0da-aca3-469d-8dca-b808947cbe81
Trace the one-pixel box shift to #39561's intentional vertical alignment correction. Preserve the product fix and all test assertions. Old clamping passes 3/3; restored production with old images fails 3/3; reviewed images pass 3/3; image revert fails 3/3; restored images pass 3/3. The only pixel changes are two box-edge rows, with no gradient differences. Existing #38843 carries the target's old pixels and does not address this later centering change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35e8b0da-aca3-469d-8dca-b808947cbe81
Trace the one-pixel box shift to #39561's intentional vertical alignment correction. Preserve the product fix and all test assertions. Old clamping passes 3/3; restored production with old images fails 3/3; reviewed images pass 3/3; image revert fails 3/3; restored images pass 3/3. The only pixel changes are two box-edge rows, with no gradient differences. Existing #38843 carries the target's old pixels and does not address this later centering change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 35e8b0da-aca3-469d-8dca-b808947cbe81
Description
This PR addresses the test failures that occurred in the inflight/candidate branch: #38782, and includes updates to improve rendering and test stability across platforms.
This PR adds and updates the expected baseline images for all platforms so the tests validate the current intended output.
Fixes: #38782
It also updates the iOS ScrollView safe-area test to compare the content size with the viewport after UIKit applies the adjusted content inset.
Images