Skip to content

Flaky HotReload runtime test: When_HotReload_Succeeds 'tb1 should exist' under CI load (Windows Skia) #23529

Open

Description

@nickrandolph

Summary

Uno.UI.RuntimeTests.Tests.HotReload.Given_HotReloadWorkspace.When_HotReloadScenario is flaky on CI
(~12 of 15 recent master builds fail) on the Windows Skia runtime-test stage. The failing
inner sub-test is Given_HotReloadResilience.When_HotReload_Succeeds_Then_ReloadCompleted_ReportsSuccess:

Assert.IsNotNull failed. 'value' expression: 'tb'. TextBlock 'tb1' should exist in the page

(Umbrella known-flaky tracker: #9080.)

Diagnosis

  • The test passes 8/8 locally (Skia Desktop, after building the DevServer Host + HRApp) — it does
    not reproduce in a healthy/unloaded environment, so it is a CI load/timing flake.
  • It is not a simple timing race: polling for the element before asserting did not help (CI
    build 219526 — same tb1 failure), so adding waits is not the fix.
  • The asserted element (tb1, text Hello→World) is not present in HR_Frame_Pages_Page1's
    static XAML
    — it depends entirely on the hot-reload pipeline producing it. Under CI load,
    page.FindName("tb1") does not resolve the reloaded element at ReloadCompleted time.

Scope

Root cause is in the DevServer / HotReload reload pipeline behaviour under CI conditions (namescope
/ instance resolution of reloaded content), not in the test assertions. Needs investigation by that
subsystem (/devserver). This issue tracks the diagnosis; the linked PR adds an in-test diagnostic
breadcrumb only (it does not fix the underlying flake).

Activity

  1. self-assigned this
    on Jun 24, 2026
  2. added
    kind/bug
    on Jun 24, 2026
  3. github-actions commented on Nov 10, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  4. added
    stale
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions