Repository navigation
test: Disable five flaky runtime tests (InputPane occlusion, scroll chaining, BitmapIcon monochrome) (backport #24491) - #24611
Merged
agneszitte merged 4 commits intoSep 23, 2026
Conversation
Three InputPane occlusion-scrolling tests and the backwards scroll-chaining test fail intermittently on every target. Disabled on all targets until they are made reliable; tracked by #24489. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MbHmxnFUWzjgeBQgdZGC1T (cherry picked from commit 9431b99)
Tracked by #24489. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MbHmxnFUWzjgeBQgdZGC1T (cherry picked from commit 7e0445a)
The [Ignore] reason now says the flakiness is not platform-scoped, so the Include(Skia) gate on the InputPane tests isn't misread as narrowing it, and the BitmapIcon exclusion comment names Skia iOS/tvOS explicitly. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01RjVqiGVHKGZyRLuy9SVMZi (cherry picked from commit 9e69573)
4 of 5 tasks
ajpinedam
approved these changes
Sep 23, 2026
Contributor
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24611/wasm-skia-net9/index.html |
Contributor
Author
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
This was referenced Nov 9, 2026
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.
GitHub Issue: #24489 (intentionally not auto-closed — that issue tracks fixing and re-enabling these tests)
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Five runtime tests fail intermittently and are adding noise to CI. All point at #24489, which tracks making them reliable and re-enabling them.
Four are disabled on all targets with
[Ignore]:Given_InputPane.When_Focused_TextBox_Has_Content_Below_Then_Scrolled_Above_OcclusionTests/Windows_UI_ViewManagement/Given_InputPane.csGiven_InputPane.When_Focused_Element_Not_Occluded_Then_Centered_Content_Is_Not_MovedGiven_InputPane.When_Occluded_Field_In_Viewport_Sized_Content_Then_Scrolled_Above_OcclusionGiven_ScrollViewer_ScrollChaining.When_Chaining_Backwards_Then_Residual_Chains_To_OuterTests/Windows_UI_Xaml_Controls/ScrollViewerTests/Given_ScrollViewer_ScrollChaining.csOne is flaky only on Skia iOS / Skia tvOS and is excluded just there:
Given_BitmapIcon.When_Foreground_Changed_With_ShowAsMonochrome_TrueTests/Windows_UI_Xaml_Controls/Icons/Given_BitmapIcon.cs"All targets" means all targets — there is no green configuration to keep them on
This is the part worth being explicit about, because two review passes read the
Include(Skia)gate on theGiven_InputPanetests as if it narrowed the flakiness. It doesn't — it narrows the feature:RuntimeTestPlatforms.SkiaisSkiaDesktop | SkiaWasm | SkiaMobile, i.e. every leg Uno runs runtime tests on — Skia desktop (Windows, Linux, Linux Framebuffer, macOS), Skia WASM, Skia Android, Skia iOS and Skia tvOS. The only thing it excludes is WinAppSDK, where soft-keyboard occlusion scrolling is the OS's job and the test is meaningless. So "flaky on all targets" and "gated to Skia" are not in tension: the gate is the feature's platform scope, the[Ignore]is the flake's, and the flake's scope is everything inside the gate.Given_ScrollViewer_ScrollChainingisn't platform-gated at all (the class body is#if HAS_UNO && UNO_HAS_MANAGED_SCROLL_PRESENTER), andWhen_Chaining_Backwards_Then_Residual_Chains_To_Outerfails on every leg that compiles it.[PlatformCondition]exclusion would therefore have to list every leg — which is what[Ignore]already is, spelled with one attribute instead of eight.The contrast with the fifth test is the proof that the distinction is deliberate rather than lazy:
Given_BitmapIcon.When_Foreground_Changed_With_ShowAsMonochrome_Trueis platform-specific, so it gets[PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaUIKit)]and keeps running everywhere else. If the four could have been scoped that way, they would have been.The
[Ignore]reason now reads"Flaky on all targets, not one platform"so the same question doesn't get re-asked from the test report alone, and theGiven_BitmapIconexclusion comment now names Skia iOS/tvOS explicitly.Mechanics
The three
Given_InputPanetests keep their existing[PlatformCondition(ConditionMode.Include, RuntimeTestPlatforms.Skia)];[Ignore]supersedes it, so removing the[Ignore]later restores the original Skia-only gating with no further edit.Given_BitmapIcongets[PlatformCondition(ConditionMode.Exclude, RuntimeTestPlatforms.SkiaUIKit)](SkiaUIKit == SkiaIOS | SkiaTvOS) rather than a second[Ignore]: the method already carries a conditional[Ignore]for non-Skia and non-RenderTargetBitmaptargets, andIgnoreAttributeisAllowMultiple = false, so a second one would be a duplicate-attribute compile error on those builds.PlatformConditionAttributehas no message parameter, which is why its reason lives in a trailing comment.Coverage retained: the other three
Given_InputPanetests (When_OccludedRect_Set_Then_Focused_TextBox_Scrolled_Into_View,When_OccludedRect_Cleared_Then_ScrollViewer_Padding_Restored,When_App_Ensured_Focused_Element_In_View_Then_No_Pad_Is_Applied) and the other fiveGiven_ScrollViewer_ScrollChainingtests stay enabled, so the occlusion-pad and scroll-chaining features are not left uncovered. The BitmapIcon test still runs on every other Skia target, andWhen_ShowAsMonochrome_False_Foreground_Change_Does_Not_Reload_Imageis untouched.This is a tracked quarantine, not a deletion: #24489 is open, assigned, and records the per-test flakiness hypotheses (half-pixel geometry tolerances, viewport-height-dependent setup arithmetic,
WaitForIdlevs. theRequestUpdateoffset refresh) as starting points for the fix. They are labelled hypotheses precisely because the fix work hasn't happened yet — the decision to quarantine is about CI noise, and the root-cause analysis is what #24489 is for.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code
https://claude.ai/code/session_01RjVqiGVHKGZyRLuy9SVMZi
This is an automatic backport of pull request #24491 done by [Mergify](https://mergify.com).