Skip to content

Three Given_RichEditBox runtime tests fail together on the WebGPU CI jobs #25600

Closed

Description

@Xiaoy312

Current behavior 🐛

Three RichEditBox runtime tests fail together on the WebGPU runtime-test jobs. Each test exhausts its 3 attempts in the same run. A re-run of the job passes.

Test File Assertion
Given_RichEditBox.When_Preconfigured_Caret_Scrolls_After_Load Given_RichEditBox.skia.cs Timed out waiting for condition to be met. A caret configured before templating should be brought into view after load.
Given_RichEditBox.When_Programmatic_StartActive_Selection_Scrolls_To_Start Given_RichEditBox.skia.cs Timed out waiting for condition to be met. Moving the programmatic caret to the end should scroll downward.
Given_RichEditBox.When_Seeded_Randomized_Rich_Visual_Stress_Remains_Consistent Given_RichEditBox.ScalingLayer.skia.cs Timed out waiting for condition to be met. WaitForRenderedColor():1020

The three tests live in two different files, but they always fail in the same attempt. That suggests one cause on the WebGPU agents, such as slow frames or a scroll-into-view or render wait, rather than three independent flakes.

Frequency. Measured with Azure DevOps Analytics on 2026-10-20:

On the affected builds, the same three tests pass in the non-WebGPU runtime-test jobs. The failure is specific to the WebGPU backend.

Expected behavior 🎯

The three tests pass reliably on the WebGPU jobs, as they do on the Skia ones. Until then, they should not block unrelated PRs.

How to reproduce it (as minimally and precisely as possible) 🔬

CI only, on the GPU-less agents of the Tests - Desktop Linux / WebGPU Runtime Tests and Windows WebGPU Runtime Tests jobs. The failure rate is about 25-40% per build.

A local attempt would run the three tests on the WebGPU backend (UNO_WEBGPU=1) under software rendering (lavapipe on Linux), repeated with UITEST_RUNTIME_TESTS_ITERATIONS and UITEST_RUNTIME_TESTS_ATTEMPTS=1. Pinning the process to one core may help to approximate the slower CI agents.

Workaround 🛠️

Re-run the failed WebGPU job. It has passed on re-run every time so far.

If the root cause can't be fixed soon, the tests can be skipped on WebGPU with [BackendCondition(ConditionMode.Exclude, RuntimeTestBackends.WebGpu)]. Given_ScrollViewer and MenuFlyoutIntegrationTests already do this for WebGPU-agent flakiness. Skipping would hide a possible real WebGPU timing bug, so it should reference this issue.

Affected platforms 📱💻🖥️

Desktop (Windows), Desktop (X11)

Uno.Sdk version (and other relevant versions) 📦

master (CI), e.g. 55cddbc52a.

IDE version 🧑‍💻

N/A (CI)

Anything else we need to know? 💬

Tracked alongside the known flaky runtime tests in #9080.

Activity

  1. added
    triage/untriaged
    on Oct 20, 2026
  2. added theissue type on Oct 20, 2026
  3. self-assigned this
    on Oct 20, 2026
  4. ramezgerges commented on Oct 21, 2026

    @ramezgerges
    Contributor

    I could not reproduce this issue in any way locally.

  5. added a commit that references this issue on Oct 26, 2026
    7acb3d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triage/untriaged

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions