Repository navigation
test(richeditbox): Lighten bounded-layout test on WebGPU - #25211
Draft
MartinZikmund wants to merge 2 commits into
Draft
MartinZikmund wants to merge 2 commits into
MartinZikmund wants to merge 2 commits into
Conversation
Each visual-state change re-records the whole 8200-run story, which takes 5-10 s per frame on the GPU-less WASM WebGPU agents and precedes the swiftshader GPU-process crash that leaves the rest of the shard with 0x0 screenshots. Check the Disabled transition only on WebGPU. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TP1JtY64etkfxxGCms44aN
Revert before merge: forces the gated lane on to check that group 9 no longer loses its GPU process. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TP1JtY64etkfxxGCms44aN
Contributor
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-25211/wasm-skia-net9/index.html |
Contributor
|
The build 238861 found UI Test snapshots differences: Details
|
Contributor
|
|
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: closes #25210
PR Type:
🏗️ Build or CI related changes (test-only stability fix)
What changed? 🚀
Current behavior: on master, the first attempt of
WebAssembly WebGPU Runtime Tests 9loses Chrome's swiftshader GPU process whileGiven_RichEditBox.When_Unfocused_Selection_Highlight_Is_Transparent_Text_Remains_Visibleruns. It comes right afterWhen_Bounded_Rich_Layout_Inherits_Visual_State_Foreground, which takes about 65 s with frames of about 10 s each. After the loss, everyRenderTargetBitmapin the shard returns 0x0, so Shape, RichTextBlock_Highlighters/Render and ShapesClearData tests fail until the retry. Seen in builds 238781, 238799 and 238800. Locally (UNO_WEBGPU_STATS=1), each visual-state change in that test re-records the whole 8200-run story: about 1,800 ops and 4.8-7.3 s ofopsBuild/rebuildper frame.Change: on the WebGPU backend, the bounded-layout foreground test checks one transition (Disabled) instead of three. That cuts its re-records and offscreen captures from 8 to 4. Skia keeps the full PointerOver/Focused/Disabled coverage.
Validation so far: Compile: strict build of
Uno.UI.RuntimeTests.Skia(net10.0). Runtime: the test passes on desktop Skia (Vulkan) and on desktop WebGPU (UNO_WEBGPU=1). Theci: TEMPcommit forces the gated WASM WebGPU lane on so group 9 can be checked for the GPU-process crash, and will be reverted before review. The crash couldn't be reproduced locally, so this CI run is the proof.Not addressed here (product gaps): WebGPU never recovers a lost device, and re-recording large rich text is slow on WebGPU WASM.
PR Checklist ✅
Screenshots Compare Test Runresults: n/a🤖 Generated with Claude Code
https://claude.ai/code/session_01TP1JtY64etkfxxGCms44aN