Skip to content

Flaky on Skia-iOS CI: ListView reorder scroll-away test β€” ExtentHeight grows to 1560 instead of 1440 mid-dragΒ #24013

Open

Description

@kazo0

Current behavior πŸ›

Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_ListViewBase.When_Reorder_DragDrop_ScrollsAwayFromDraggedItem_KeepsExtentAndPositions fails intermittently on the iOS Skia CI leg (Tests - iOS Skia / Runtime Tests 0), always on the same mid-drag assertion:

Assert.AreEqual failed. Expected a difference no greater than <0.5> between expected value <1440> and actual value <1560>.
'expected' expression: 'expectedExtent', 'actual' expression: 'scroll.ExtentHeight'.
extent must not grow while a reorder is in flight and the list scrolls away from the dragged item

The list is 36 rows Γ— 40 px = 1440 px, and mid-drag the extent measures 1560 px β€” exactly 3 phantom rows. When it fails it is the only failing test of the ~2000 in the shard.

Occurrences observed since the test merged on 2026-08-04 (via #23946):

Build Branch Result
225991 (2026-08-05) master iOS Skia attempt 1 failed on this test, passed on attempt 2
226424 (2026-08-07) PR #24007 this test in the iOS Skia failure artifact
226524 (2026-08-07/08) PR #24012 5/5 stage attempts failed on this single test, each on a different hosted agent, identical values every time

Other builds the same days passed iOS Skia on attempt 1, so it is intermittent β€” but the identical 1440 β†’ 1560 values on every failure suggest a real, timing-dependent residue of the extent-estimation corruption that #23946 fixed (pre-fix the same scenario measured 2920), surfacing only under the iOS simulator's timing profile. In other words this looks like signal about EstimatePanelExtent()/reorder interplay on Skia-iOS, not pure test noise.

The test only runs on Skia targets with input injection; the desktop Skia and Android Skia legs have not shown this failure.

Expected behavior 🎯

The extent must not grow while a reorder is in flight and the list scrolls away from the dragged item β€” deterministically, on all Skia targets, so the test passes reliably on the iOS Skia CI leg.

How to reproduce it (as minimally and precisely as possible) πŸ”¬

Run Given_ListViewBase.When_Reorder_DragDrop_ScrollsAwayFromDraggedItem_KeepsExtentAndPositions on the iOS Skia runtime-tests CI leg (shard Runtime Tests 0). It reproduces intermittently there; build 226524 reproduced it on 5 consecutive stage attempts.

Workaround πŸ› οΈ

Gate the test off Skia-iOS (RuntimeTestPlatforms.Skia & ~RuntimeTestPlatforms.SkiaIOS) until the underlying extent growth on the iOS timing profile is understood β€” the desktop and Android Skia legs keep covering the regression #23946 fixed.

Renderer 🎨

  • Skia
  • Native

Affected platforms πŸ“±πŸ’»πŸ–₯️

iOS

Uno.Sdk version (and other relevant versions) πŸ“¦

Repo master @ 2be1840 (6.8-dev), test added in #23946 (2026-08-04).

IDE version πŸ§‘β€πŸ’»

n/a (CI)

Anything else we need to know? πŸ’¬

Related to the flaky-tests tracking issue #9080. /cc @Xiaoy312 (test author of #23946) β€” the mid-drag extent invariant genuinely breaks intermittently on Skia-iOS with the same values every time, so this is likely worth a look beyond just de-flaking CI.

Activity

  1. added
    platform/ios 🍎
    triage/untriaged
    area/listview πŸ“ƒ
    on Aug 8, 2026
  2. kazo0 commented on Aug 8, 2026

    @kazo0
    ContributorAuthor
  3. self-assigned this
    on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/listview πŸ“ƒplatform/ios 🍎triage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions