Repository navigation
test: Document HotReload When_HotReload_Succeeds CI-flake diagnosis (#23529) - #23531
nickrandolph wants to merge 2 commits into
Conversation
Add an in-test diagnostic breadcrumb for the flaky When_HotReload_Succeeds CI failure: passes locally 8/8, ~12/15 Windows-Skia CI builds fail with 'tb1 should exist'; not a timing race (polling did not help, build 219526); the element is not in Page1 static XAML so it depends on the HR reload pipeline. Points to #23529 (and umbrella #9080) for DevServer/HotReload follow-up. Comment-only; does not change behaviour and does not fix the underlying flake. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Nick Randolph seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Pull request overview
This PR adds an in-test diagnostic comment documenting a CI-only flake affecting HotReload runtime tests (Skia/Windows), intended as a breadcrumb for follow-up work in the DevServer/HotReload pipeline.
Changes:
- Added a CI-flake diagnosis comment above
When_HotReload_Succeeds_Then_ReloadCompleted_ReportsSuccess.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…[TestMethod] (review) Per Copilot: a // comment between the /// <summary> doc and the method breaks the XML-doc association. Place the diagnostic comment after [TestMethod] instead.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23531/wasm-skia-net9/index.html |
|
|
GitHub Issue: #23529 (diagnostic breadcrumb — intentionally does not close it; the underlying flake remains for DevServer/HotReload follow-up. Umbrella: #9080)
PR Type:
📚 Documentation content changes (in-test diagnostic comment; no behaviour change)
What changed? 🚀
Adds a comment above
Given_HotReloadResilience.When_HotReload_Succeeds_Then_ReloadCompleted_ReportsSuccessrecording the CI-flake diagnosis. No code/behaviour change — the test still runs everywhere with its
assertions untouched.
Why this is the right (interim) action
Symptom:
Given_HotReloadWorkspace.When_HotReloadScenariofails ~12/15 recentmasterbuilds onWindows Skia; the failing inner sub-test asserts
"tb1 should exist".Diagnosis (documented at the test + in #23529):
reproduce in a healthy/unloaded environment ⇒ a CI load/timing flake.
same
tb1failure), so adding waits is not the fix.tb1,Hello→World) is not inHR_Frame_Pages_Page1's static XAML — itdepends entirely on the hot-reload pipeline producing it; under CI load
page.FindName("tb1")doesnot resolve the reloaded element.
Why only a breadcrumb here: the real fix lives in the DevServer/HotReload reload pipeline
(namescope/instance resolution of reloaded content under load), which cannot be reproduced or validated
from a normal dev environment and is outside the scope of a test change. Per the debugging-discipline
rules (reproduce-first, validate-at-runtime, no blind patching), this PR records the precise diagnosis
for the owning subsystem rather than guessing at an unvalidatable fix. #23529 stays open for that fix.
PR Checklist ✅