Repository navigation
[ci-fix-net11] Needs review: scroll to RefreshView footer before tapping (refs #39224) - #39348
Merged
Merged
Conversation
… attempt 1/10) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
approved these changes
Oct 13, 2026
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The timing-sensitive iOS behavior was not device-tested, so the proposed de-flake cannot be confirmed statically.
0 open findings
What changed in this PR
Adds active footer discovery before each synchronized tap in the RefreshView UI regression test.
Changes:
- Calls
App.ScrollTo("Footer")before waiting for and tapping the footer. - Preserves existing assertions and platform guards.
| File | Description |
|---|---|
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cs |
Scrolls the CollectionView footer into view before tapping it. |
🧠 Review effort: Balanced
kubaflo
added a commit
that referenced
this pull request
Nov 3, 2026
<!-- 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 the first useful Build Insights migration slice to test-review context: collect supplementary GitHub check reports for the exact captured PR head, while retaining direct Azure/Helix acquisition and existing attribution behavior. - Accept only the exact `build-insights` / `Build Insights` publisher/name pair, with matching head SHA. No legacy publisher support or compatibility aliases. - Reuse the existing deadline-bound `gh` transport. Bound collection to three pages of 100 check runs, eight reports, and 65,536 combined title/summary/text characters per report. Surface transport, response-shape, pagination, missing-body, and truncation errors explicitly. - Request `filter=all` explicitly so earlier same-named reports are considered within the existing caps, rather than silently accepting the check-runs API's latest-only default. - Collect supplementary reports only after primary Azure/Helix evidence, target-branch history, and baseline attribution, using the remaining gather budget. A stalled report request cannot consume time needed by those sources. Both no-results shortcuts avoid report acquisition. - Add `context.buildInsights` through `Get-BuildInsightsCheckReports`, with report metadata, bounded raw bodies, status, timestamps, and collection limitations. Normalize timestamps materialized by `ConvertFrom-Json` as `DateTime` or `DateTimeOffset`. - Teach the consumer to treat reports as untrusted supplementary leads, not instructions, proof of coverage across all pipelines, or grounds to dismiss failures as known issues. Pending or missing content is not negative evidence. - Add regression coverage and wire the review-test-failures script directory into the existing PowerShell CI gate. Update its coupled suite-discovery assertion to include this third skill-script directory. This builds on earlier MAUI evidence and known-issue matcher groundwork; it does not imply that groundwork already migrated to Build Insights. This PR does not replace the full collector, change verdict gates, alter raw Azure/Helix acquisition logic, or change attribution and known-build-error matching. **Current local verification (commit `5c6ef8dda7`):** Pester 5.9.0 across all three review-script suites plus `.github/scripts/NotificationCenterScripts.Tests.ps1`: **368 passed, 0 failed, 0 skipped**. This includes 61 Build Insights cases. All three new regression cases failed against the pre-fix collector at `d02e27d0`: earlier same-named report retention, primary-before-supplementary ordering, and a stalled supplementary request exhausting the remaining budget. The orchestration tests execute the collector entrypoint with mocked I/O and verify that primary evidence, history, baseline sampling, and attribution survive. `git diff --check` passed. **Earlier replay evidence:** Offline replay of retained October 27 check responses preserved exact head/check/text/build links for historical [#39242](#39242) and [#39348](#39348), retaining exactly one Build Insights report from each and ignoring the legacy report. That replay is not a fresh independent service check or deployment acceptance and was not rerun for the follow-up fixes. **Hosted validation limitations:** No green hosted-CI claim is made for the new commit. At the preceding head, PowerShell CI failed stale model-pin assertions in files unchanged by this PR. Skill validation produced no evaluation results: model probing reported `gpt-6-astra` unavailable, and its separate harness-hermeticity job failed during checkout. These failures have not been repaired or bypassed by this change. ### 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 — incremental CI report-intake integration; no linked issue. <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
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!
Workflow artifact: ci-fix
Artifact kind: help
Refs: #39224
Target branch: net11.0
Attempt: 1/10
Attempt 1 of 10
Actively scroll to the CollectionView footer before each synchronized footer tap.
Previous attempts (prior commits on this PR)
None; this is the first attempt for this tracking issue.
This attempt differs by: locating an off-screen footer through scrolling, rather than only waiting for it to become discoverable. The earlier merged #37578 introduced the existing wait-before-tap helper for a different tracking issue; this change keeps that synchronization and adds the missing navigation operation.
Root cause
The latest completed
maui-pr-uitestsbuild, 1630214, reportsCollectionViewWithRefreshViewShouldNotResetfailing on iOS 18.5 in both its initial execution and retry. Both stacks reachIssue24533.TapFooterat line 38; the caller is line 25, the second footer tap.src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cswaits forFooterbefore tapping. The host page initially adds 25 items and appends another batch on refresh, so the footer can be outside the visible CollectionView content after an update. A passive element wait cannot bring an off-screen footer into view. The existing separate scroll operation may precede the updated footer becoming discoverable.This is a candidate test-navigation explanation, not a device-verified root cause. If the footer remains unavailable because of a product layout or accessibility defect, this change may still fail.
Fix
Add
App.ScrollTo("Footer")insideTapFooter, immediately before its existingWaitForElementand tap. The existing scroll-to helper searches for the element while scrolling, rather than assuming a passive wait can reveal it.All original refresh interactions, post-refresh scroll operations, offset measurements and both positive-offset assertions remain unchanged. No assertion is removed or weakened, no timeout is increased, no retry attribute is added, and no test or platform is excluded. Product CollectionView and RefreshView code is untouched.
What is unverified / where I need help
Validation
pwsh -NoProfile -File /tmp/gh-aw/agent/validate-candidate.ps1git diff --checkdotnet format Microsoft.Maui.sln --no-restore --include src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24533.cs --exclude Templates/src --exclude-diagnostics CA1822not run because the failing scenario requires an iOS UI-test device rigEvidence
Filed by
ci-status-fix-net11. This is the single PR for #39224: the workflow watches its own CI and pushes up to 10 attempts on this same PR (it never opens a second PR). It advances only when the fix's own build settles red and that red is caused by the fix. Comments, reviews, and commits do not transfer ownership; the loop remains autonomous until this PR is closed. EligibleCHANGES_REQUESTEDreviews are handled through Track C. After 10 attempts it stops and defers to humans. The trusted CI-fix validator automatically queues maui-pr, uitests, and devicetests for every new PR head.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
ajhvsblobprodcus363.vsblob.vsassets.ioTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.