Repository navigation
Description
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:
- master, Linux WebGPU job: the trio failed in 24 of 58 builds since 2026-10-01, about 40%. The WebGPU jobs first reported results on 2026-10-10, so this has been happening since the jobs were added.
- master, Windows WebGPU job: the caret test failed in 32 builds over the same period.
- PR builds, Linux WebGPU job, 2026-10-17 to 2026-10-20: the trio failed in 3 of 12 builds. All three PRs are unrelated to
RichEditBox, and each was only unblocked by a manual re-run: - Recent failing master builds: 240169, 240080, 239972, 239678, 239677, 239637.
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
ramezgerges commentedon Oct 21, 2026
I could not reproduce this issue in any way locally.
test: Run the RichEditBox scroll tests on WebGPU again