Skip to content

ci(ios): Add an iOS WebGPU runtime test lane - #25664

Merged
ramezgerges merged 15 commits into
unoplatform:masterfrom
ramezgerges:dev/rara/ios-webgpu-ci
Oct 29, 2026
Merged

ramezgerges merged 15 commits into
unoplatform:masterfrom
ramezgerges:dev/rara/ios-webgpu-ci

Conversation

@ramezgerges

@ramezgerges ramezgerges commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue: related to #25657 (no runtime coverage caught it)

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

The macOS desktop WebGPU lane is green (see 9 and 10); the remaining red lanes fail on master too (end of 10).

Stacked on #25663 (its two fix commits come first here). Review the commits after it.

1. SamplesApp links iOS WebGPU through the package wiring. #25657 shipped because nothing in the repo used the package's _UnoWebGpuLinkIosNative. The iOS head linked wgpu-native with its own nm-based target in wgpu-native.targets, which exported the functions correctly.

  • The iOS head now imports Uno.WinUI.Composition.WebGpu.targets, as the WASM head already does.
  • _ProvisionWgpuNativeIos lays the library out per RID like the package does (ios-rid/<rid>/libwgpu_native.a), and UnoWebGpuIosLibDir points there.
  • tvOS keeps the in-repo link, declaring the same symbol list, since the package ships no tvOS slices. The nm check of that list against the archive (from fix(webgpu): Export the wgpu functions from iOS apps #25663) still runs for both.
  • The head turns off the native trim, like the WASM head (fix(sdk): Move WebGPU usage detection into Uno.Sdk #25580): its detection task ships only in the Uno.Sdk package, and this head always reaches WebGPU.

2. iOS WebGPU runtime test lane.

  • .azure-devops-tests-ios.yml takes renderer, variant (job and artifact names), appEnvironment and condition, like the Android template. The Skia lane keeps its job and artifact names.
  • .azure-devops-tests-ios-runner.yml passes appEnvironment to the run script as UNO_TEST_APP_ENVIRONMENT, and takes an optional job condition.
  • ios-uitest-run.sh exports each KEY=VALUE as SIMCTL_CHILD_KEY=VALUE, which simctl launch hands to the app. Checked under macOS's bash 3.2 with the script's set -u and IFS.
  • The iOS stage gets "WebGPU Runtime Tests 0–3" (UNO_WEBGPU=1 UNO_WEBGPU_LOG=warn), reusing the Skia lane's app build. On pull requests it runs only when WebGpuTestsRequired, as Android's WebGPU lane does.

3. WebGPU: rect-clip edges sized in device pixels. The first local iOS WebGPU run failed Given_Border.Border_LinearGradient and When_Clip_And_CornerRadius, which pass on Skia with the same app. Cause: the shader's plain rect clip (clipCovMapped, ctrl.y) measured its edge distance in the recording's units, so above 1x its anti-aliasing ramp spread over several device pixels. At 2x, a pixel on the render target's own edge got 75% coverage (alpha BF) instead of 100%. The clip entries already divide by their units per pixel (k.x); the rect clip now does the same per axis, from finv (size.xy, unused until now). Its fully-covered inner box moves one device pixel inside instead of one unit.

  • Reproduced on desktop in a Linux lane with UNO_DISPLAY_SCALE_OVERRIDE=2: the same two failures with the same messages; they pass at 1x and on Skia at 2x.
  • Over 7 clip-heavy classes (678 tests, WebGPU), master vs this change: scale 1 is identical (0 failures). At scale 2, failures go from 20 to 16. Fixed: these two, plus Given_ContainerVisual.When_PictureCollapsing_Produces_Identical_Output and When_Retained_Fallback_Renders_Identically. Nothing new fails, and all 16 remaining also fail on Skia at 2x (input and hit-testing under the forced scale).
  • New Given_Border.When_Rendered_At_Twice_The_Scale_Then_Clipped_Edges_Stay_Sharp renders a RenderTargetBitmap at twice the size, so it covers this on 1x CI too. It fails without the fix (pixel (0,200) alpha BF), and passes with it and on Skia.

4. CI: gated lanes read the test scope correctly. Every job condition that gates a lane on the scope (WebGPU on Android, iOS and desktop; Linux screenshots) used the stage-level output syntax, stageDependencies.Setup.outputs[...], which is always empty at job level. So these lanes were skipped on every pull request. They now read stageDependencies.Setup.DetermineScope.outputs['SetScope.<Var>']. That is why the macOS desktop WebGPU lane now runs here (see 9).

5. WebGPU: an arena entry's stamps and sites are freed only once. Atlas eviction released entries whose last holder had already freed them, so their stamps and site bind groups were released twice. On iOS that corrupted the heap: a SIGSEGV in BindGroupRelease, or a "stall" that was really CoreCLR looping on a fault in native code. ReleaseFinal now runs once per entry.

6. Intel iOS simulator GPU fault (shard 1): fixed on master. The hosted macOS-26 agents are Intel Macs. Shard 1 died with SimMetalHost: fatal error while executing a Metal Simulator workload right after When_Loaded_Large_Story_Local_Key_Edit_Stays_Range_Based. That test's story has one huge misspelled word, and its squiggle was a single zigzag across the whole run: millions of edges in one coverage bake, more than the old simulated GPU survives. This PR first carried its own fix; master has since fixed it differently, by drawing a long wave as one small cached chunk, repeated (b7501ec, #25640). That commit was dropped when this PR was rebased, so this lane now runs on master's fix.

7. Two test fixes found on the lane.

  • Given_SKCanvasElement.When_Invalidated_From_Background_Thread: its background loop had no GC safe point, so a suspension for GC on the simulator could hang the process. It now yields each iteration.
  • Given_ContainerVisual.When_PictureCollapsing_Produces_Identical_Output: allows one level of rounding difference.

8. WebGPU: a stamp is reused only at the scale it was made for. The macOS desktop WebGPU lane failed When_Rendered_At_Twice_The_Scale_Then_Clipped_Edges_Stay_Sharp intermittently: the bitmap's left and top edges came out at alpha 8F instead of FF. An arena stamp's ops carry clip uniforms built from the replay's inverse transform (its linear part, each clip entry's per-pixel step, and the rect clip's units per pixel). The site-uniform fast path reused an idle stamp's ops at a new placement without checking that the scale still matched. So a 2x RenderTargetBitmap could draw with a 1x stamp the screen had left idle: both the shape and the clip edge got 0.75 coverage, and 0.75 × 0.75 = 8F. That reuse, and the in-place patch, now require the same linear part.

  • New Given_Border.When_Rendered_At_Another_Scale_Then_Edges_Stay_Sharp makes it deterministic. The Border sits outside the window, so screen frames never use its stamp. The test renders it at 1x, waits for a frame to be presented, then renders at 3.5x. It failed 4/4 without the fix (alpha 69) and passes 4/4 with it, on macOS (M2). Given_Border passes in full on WebGPU and Skia.

9. macOS desktop WebGPU: frames are presented from the render thread. The lane timed out at 60 minutes, on master too. Animation and scroll tests spent 30 s to 20 min in WaitForIdle. Stack captures taken during the stalls (with a temporary watchdog, since removed) had the main thread in MacOSWindowHost.MetalDraw → WebGpuSwapChainContext.Present → wgpuSurfaceGetCurrentTexture every time (18 of 18).

  • Cause: macOS ticked the WebGPU context from the native draw, on the main thread. wgpu configures the layer with allowsNextDrawableTimeout = false, so each present could block the main thread in nextDrawable. While frames kept coming, the dispatcher never reached its idle queue.
  • Fix: WebGPU now uses the paced render thread that Skia-on-Metal already uses.
    • The swap chain reports whether a frame reached the window, so the thread can retry a dropped one. It also re-blits a frame it dropped, instead of waiting for the next change.
    • wgpu-native's Occluded status (0x00030001, a hidden window) is passed through instead of being read as Lost, which used to reconfigure the surface on every frame. A hidden window is not retried.

10. macOS: an autorelease pool around each render-thread frame. Moving the present exposed a crash. The main thread segfaulted in its autorelease pool drain around tests that open and close windows. With NSZombieEnabled the run passed and logged nothing, so the crash came from an object deallocated on the wrong thread, not from an over-release.

  • Cause: the render thread had no autorelease pool, and wgpu's occlusion check reads the layer's view and window. Each frame left an autoreleased reference to the window's MTKView, drained only when the thread exits during window close. The view's last release could land there and deallocate it off the main thread.
  • Fix: each frame now runs in its own pool (objc_autoreleasePoolPush / Pop).
  • Measured with a probe on macOS, M2: the view's retain count climbed from 5 to 55 over 1,530 frames without the pool, and stays at 3 with it.

Validation on CI, macOS desktop WebGPU: the lane now passes, in 22 minutes.

Validation on macOS (M2): across 7 frame-timing classes (Given_CompositionTarget, Given_ScrollViewer, Given_AnimatedVisualPlayer, Given_DoubleAnimation, Given_Border, Given_SystemFocusVisual, Given_RenderTargetBitmap), WebGPU passed 174 tests with 0 failures and Skia passed 174 with 0 failures. The 10 classes that open windows ran 11 times without a crash.

Still red, and not from this branch:

Rebased on master, which has since fixed the Android build's JDK check (#25680) and ignores the two iOS accessibility tests that failed on almost every run (9dbe9cf).

Validation so far

Locally, on the #25492 head (macOS 27, Xcode 27.1, iOS 27 simulator), SamplesApp built with this wiring:

  • links libwgpu_native.a from the package-style ios-rid layout;
  • has the wgpu functions in the strip list, and 228 exported after SamplesApp's symbol strip (NoSymbolStrip=false);
  • starts on WebGPU (adapter='Apple iOS simulator GPU' backend=Metal). Given_Border gives 26 passed, 2 failed, 1 inconclusive, 1 skipped.
  • The 2 failures (Border_LinearGradient, When_Clip_And_CornerRadius) both pass on the Skia build of the same app, after a simulator reboot. They are known WebGPU gaps that fail on master's WebGPU too.

iOS runtime tests can be flaky, so each failure on the new lane will be rerun on the Skia build before it is treated as a WebGPU failure. When doing that locally, reboot the simulator first: it keeps the previous launch's SIMCTL_CHILD_UNO_WEBGPU (CI runs each lane on its own agent).

PR Checklist ✅

🤖 Generated with Claude Code

@github-actions github-actions Bot added area/build Categorizes an issue or PR as relevant to build infrastructure area/automation Categorizes an issue or PR as relevant to project automation labels Oct 23, 2026
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from 45c3328 to 7c6fbe3 Compare October 23, 2026 16:52
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241077 found UI Test snapshots differences: skia-linux-screenshots: 118, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 118 changed over 2458

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png
    • Buttons.png-dark
    • Buttons.png
    • CompositionEffectBrush.png-dark
    • CompositionEffectBrush.png
    • CompositionNineGridBrush_Source_Changes.png-dark
    • CompositionNineGridBrush_Source_Changes.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • DisplayInformation.png-dark
    • Examples.png
    • DropDownButtonPage.png-dark
    • Image_UseTargetSizeLate.png-dark
    • Image_UseTargetSizeLate.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AndroidWindowInsets.png
    • AnimatedIconPage.png-dark
    • AndroidWindowInsets.png-dark
    • AppBarButtonTest.png
    • AnimatedVisualsTestbedPage.png-dark
    • AnimatedVisualsTestbedPage.png
    • AppBarButtonTest.png-dark
    • AppBarToggleButtonTest.png
    • ApplicationViewSizing.png-dark
    • ApplicationViewSizing.png
    • AppBar_KeyBoard.png
    • ApplicationViewSpanningRectsPage.png
    • Application_DispatcherShutdownMode.png-dark
    • AppWindowFeatures.png-dark
    • Application_DispatcherShutdownMode.png
    • AppWindowPositionAndSize.png
    • AppWindowPresenters.png-dark
    • AppWindowTitleBar Properties.png
    • AppXamlDefinedResources.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 241077 has failed on Uno.UI - CI.

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241195 found UI Test snapshots differences: skia-linux-screenshots: 2458, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png
    • AppBarButtonTest.png
    • AppBar_KeyBoard.png-dark
    • ApplicationViewSpanningRectsPage.png
    • AppWindowPositionAndSize.png-dark
    • AppXamlDefinedResources.png
    • Attributed_text_Simple.png-dark
    • AuthenticationBroker_Cancel.png
    • AutomationPropertiesExtensions_Role.png-dark
    • AutomationPropertiesExtensions_Role.png
    • BackGesture.png-dark
    • BackGesture.png
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • Battery.png-dark
    • Battery.png
    • BezierSegment.png-dark
    • BezierSegment.png
    • BitmapIcon_Monochromatic.png-dark
    • BitmapIcon_Monochromatic.png
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AnimatedBackVisualSourceSamplePage.png
    • AppBarToggleButtonTest.png
    • Application_DispatcherShutdownMode.png
    • AppWindowTitleBar Properties.png
    • Attributed_text_FontSize_Changing.png
    • AutoBorderStretchwithbottommargin.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_StructureAndProps.png-dark
    • AutomationProperties_StructureAndProps.png
    • BackGesture.png-dark
    • BackGesture.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png-dark
    • BasicThemeResources.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
    • BitmapIcon_Sizing.png-dark
    • BitmapIcon_Sizing.png

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from b39120d to f7a3bfd Compare October 24, 2026 21:08
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@github-actions github-actions Bot added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Oct 24, 2026
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241216 found UI Test snapshots differences: skia-linux-screenshots: 2458, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AnimatedVisualsTestbedPage.png
    • ApplicationViewSpanningRectsPage.png-dark
    • AppWindowFeatures.png
    • AppXamlDefinedResources.png
    • Attributed_text_FontSize_Changing.png-dark
    • AuthenticationBroker_Demo.png-dark
    • AutoBorderStretchwithrightmargin.png
    • AutomationProperties_Name.png-dark
    • AutomationProperties_Name.png
    • AutoSuggestBox_BitmapIcon.png-dark
    • AutoSuggestBox_BitmapIcon.png
    • BadgeNotificationTests.png-dark
    • BadgeNotificationTests.png
    • Basics.png-dark
    • Basics.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
    • BitmapImage_vs_SvgImageSource.png-dark
    • BitmapImage_vs_SvgImageSource.png
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png
    • AppBarToggleButtonTest.png
    • ApplicationViewSpanningRectsPage.png-dark
    • Application_DispatcherShutdownMode.png
    • AppWindowPresenters.png
    • ArcSegment.png-dark
    • Attributed_text_Simple.png-dark
    • AuthenticationBroker_Cancel.png
    • AutoBorderStretchwithrightmargin.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_Name.png-dark
    • AutomationProperties_Name.png
    • AutoSuggestBox_BitmapIcon.png-dark
    • AutoSuggestBox_BitmapIcon.png
    • AutoSuggestBox_SoftKeboard.png-dark
    • AutoSuggestBox_SoftKeboard.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png-dark
    • BasicThemeResources.png

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from e7690e1 to 943582d Compare October 25, 2026 06:33
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from 943582d to e2142da Compare October 25, 2026 07:31
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch 2 times, most recently from 3965d0f to 86264bf Compare October 25, 2026 08:19
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from 86264bf to ca16c47 Compare October 25, 2026 08:50
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241258 found UI Test snapshots differences: skia-linux-screenshots: 2458, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AnimatedIconPage.png-dark
    • AnimatedIconPage.png
    • AndroidWindowInsets.png-dark
    • AnimatedBackVisualSourceSamplePage.png
    • AndroidWindowInsets.png
    • AnimatedVisualsTestbedPage.png
    • AppBarButtonTest.png-dark
    • AppBarToggleButtonTest.png-dark
    • AppBarButtonWithIconTest.png-dark
    • AppBarButtonTest.png
    • AppBarButtonWithIconTest.png
    • ApplicationViewSpanningRectsPage.png
    • AppBar_KeyBoard.png
    • ApplicationViewMode.png
    • AppBar_KeyBoard.png-dark
    • ApplicationViewMode.png-dark
    • ApplicationViewSizing.png-dark
    • AppWindowFeatures.png
    • Application_DispatcherShutdownMode.png-dark
  • skia-windows-screenshots: 2458 changed over 2490

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png-dark
    • AndroidWindowInsets.png-dark
    • AppBar_KeyBoard.png-dark
    • AppBarToggleButtonTest.png-dark
    • Application_DispatcherShutdownMode.png-dark
    • ApplicationViewMode.png
    • AppWindowTitleBar Properties.png-dark
    • AppWindowClosing.png-dark
    • ArcSegment.png
    • AppWindowPositionAndSize.png
    • Attributed_text_Supserscript.png
    • ArcSegment.png-dark
    • AutoBorderStretchwithbottommargin.png
    • Attributed_text_Supserscript.png-dark
    • AutoBorderStretchwithtopmargin.png
    • AuthenticationBroker_Demo.png
    • AutomationProperties_Name.png
    • AutoBorderStretchwithrightmargin.png-dark
    • AutomationProperties_Relations.png-dark
    • AutoBorderStretchwithrightmargin.png

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 241258 has failed on Uno.UI - CI.

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

ramezgerges and others added 7 commits October 27, 2026 14:23
…oint

Past its first call, Invalidate from another thread only finds a post
already pending, so the workers spun with no GC safe point. CoreCLR on
the iOS simulator could not suspend them, and the first GC on the UI
thread hung the app for good (When_Invalidated_From_Background_Thread
under WebGPU, which allocates on the UI thread meanwhile).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…heck

The collapsed and immediate renders take different GPU paths. On CI's
Intel Mac GPU under iOS WebGPU one pixel came out a level apart, which
the cached replay cannot be expected to avoid.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
An arena stamp's ops carry clip uniforms built from the replay's inverse
transform: finv's linear part, each clip entry's per-pixel step and the
rect clip's units per pixel. The site-uniform fast path reused an idle
stamp's ops untouched at a new placement without checking that the scale
and rotation still matched, so a RenderTargetBitmap at 2x could draw with
the 1x stamp left by the screen and get soft, half-covered edges. That
reuse, and the in-place patch, now require the same linear part; anything
else rewrites the clip uniforms.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
macOS ticked the WebGPU context from the native draw, on the main
thread, so every present waited there for a drawable: nextDrawable can
block for a second, and while frames kept coming (an animation, a
scroll) the dispatcher never reached its idle queue. The macOS desktop
WebGPU lane spent minutes per test in WaitForIdle and timed out; stack
captures had the main thread in wgpuSurfaceGetCurrentTexture each time.
WebGPU now uses the paced render thread Skia-on-Metal already uses.

That thread retries a frame that did not reach the screen, so the swap
chain reports it, and re-blits a frame it dropped instead of waiting for
the next change. wgpu-native's Occluded status was read as Lost, which
reconfigured the surface every frame of a hidden window; it is now its
own status, and a hidden window is not retried.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
WebGPU's present calls into AppKit and Core Animation from the render
thread (wgpu reads the layer's delegate view and its window to check
occlusion), and that thread had no autorelease pool. Each frame left an
autoreleased reference to the window's MTKView behind, drained only when
the thread exits during window close; the view's last release could
then land there and deallocate it off the main thread, which crashed the
macOS desktop WebGPU lane later in the main thread's pool drain. Each
frame now runs in its own pool: the view's retain count stays flat (3)
over 1,500 frames instead of climbing by one every 30.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
WaitTrackerLogs treated 100 ms without a new log line as the end of the
motion. On the software-rendered WebGPU lanes a frame can take longer
than that, so it returned mid-inertia: When_MouseWheel and the
TryUpdatePositionWithAdditionalVelocity tests then saw too few
ValuesChanged lines or a position short of the resting one, on master's
WASM and Android WebGPU lanes in every build.

Every motion these tests start ends in IdleStateEntered, so wait for
that line instead, failing with the logs after 10 seconds.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A notch clamped at the end moves for 125 ms. AssertOnWheelCurve needs
two frames inside the motion to compare their implied start times, which
the Android WebGPU emulator cannot render that fast. Report the test as
inconclusive when even the shortest observed frame is longer than half
the motion, rather than failing it. Lanes that can sample the curve
still require two frames on it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@ramezgerges
ramezgerges force-pushed the dev/rara/ios-webgpu-ci branch from 8255f64 to de389f4 Compare October 27, 2026 18:24
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

ramezgerges and others added 3 commits October 27, 2026 15:50
The retained path and the command-list fallback take different GPU paths.
On the iOS simulator's Metal on Intel (the xcode-27 CI agents) that rounds
a few pixels by one level: 3 to 9 pixels off by 1 in recent runs, while
Apple-silicon simulators match exactly. The picture-collapsing check next
to it already allows this one level for the same reason.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
When_Window_Resized grew a window that can already fill a small
screen, and left its dialog open as a back-button listener, which
made Given_Flyout.BackButtonIntegration fail after it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241771 found UI Test snapshots differences: skia-linux-screenshots: 2458, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 2458 changed over 2492

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Accessibility_ScreenReader.png
    • AndroidWindowInsets.png-dark
    • AnimatedIconPage.png-dark
    • AnimatedBackVisualSourceSamplePage.png
    • AndroidWindowInsets.png
    • AnimatedIconPage.png
    • AppBarToggleButtonTest.png
    • AppBarButtonWithIconTest.png-dark
    • AnimatedVisualsTestbedPage.png-dark
    • AnimatedVisualsTestbedPage.png
    • AppBarButtonTest.png-dark
    • AppBarButtonTest.png
    • ApplicationViewSizing.png
    • AppBar_KeyBoard.png
    • ApplicationViewSpanningRectsPage.png-dark
    • Application_DispatcherShutdownMode.png-dark
    • ApplicationViewMode.png
    • ApplicationViewSizing.png-dark
    • AppWindowFeatures.png-dark
    • Application_DispatcherShutdownMode.png
  • skia-windows-screenshots: 2458 changed over 2492

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedIconPage.png
    • AnimatedVisualsTestbedPage.png
    • AppBarButtonWithIconTest.png
    • ApplicationViewSizing.png-dark
    • AppWindowClosing.png
    • AppWindowPresenters.png-dark
    • ArcSegment.png
    • AuthenticationBroker_Cancel.png-dark
    • AutoBorderStretchwithrightmargin.png
    • AutoBorderStretchwithtopmargin.png-dark
    • AutomationProperties_Relations.png
    • AutomationProperties_StructureAndProps.png-dark
    • AutoSuggestBox_Reason.png-dark
    • AutoSuggestBox_Reason.png
    • BasicAutoSuggestBox.png-dark
    • BasicAutoSuggestBox.png
    • BasicThemeResources.png-dark
    • BasicThemeResources.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Foreground.png

@ramezgerges
ramezgerges marked this pull request as ready for review October 27, 2026 23:37
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@Xiaoy312 Xiaoy312 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few follow-ups, none blocking. Inline comments cover the code. The PR description has fallen behind the branch:

  • It says this is stacked on #25663, which is merged, and its commits are no longer in this branch.
  • "Still red: WASM WebGPU ... The fix is #25714": #25714 is merged and WASM WebGPU 0-11 are green on this build.
  • The last five commits aren't described: the tracker idle wait (51fb95b), the ScrollView curve guard (de389f4), the retained-fallback tolerance (ae735b2), the on-demand ListView guard (1438c36) and the ContentDialog shrink/hide (51a9b51).
  • Section 3 lists When_Retained_Fallback_Renders_Identically as fixed by the clip change, but ae735b2 also gives it tolerance: 1.
  • The runtime-tests checkbox is unchecked, though this adds two Given_Border tests.

@ajpinedam ajpinedam mentioned this pull request Oct 28, 2026
3 of 5 tasks
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 241836 found UI Test snapshots differences: skia-linux-screenshots: 2458, skia-windows-screenshots: 2458

Details
  • skia-linux-screenshots: 2458 changed over 2492

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AnimatedBackVisualSourceSamplePage.png
    • AnimatedVisualsTestbedPage.png-dark
    • AppWindowFeatures.png
    • AppWindowPresenters.png-dark
    • AppWindowTitleBar Properties.png
    • ArcSegment.png
    • Arrange_Performance01.png
    • AuthenticationBroker_Cancel.png-dark
    • AutomationProperties_AutomationId.png
    • AutomationProperties_Landmark.png-dark
    • AutoSuggestBox_Description.png-dark
    • AutoSuggestBox_Description.png
    • BadgeNotificationTests.png-dark
    • BadgeNotificationTests.png
    • Basics Pivot Test.png-dark
    • Basics Pivot Test.png
    • Battery.png-dark
    • Battery.png
    • BindableDrawerLayout_ChangePane.png-dark
    • BindableDrawerLayout_ChangePane.png
  • skia-windows-screenshots: 2458 changed over 2492

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AndroidWindowInsets.png
    • AnimatedIconPage.png-dark
    • AnimatedIconPage.png
    • AnimatedVisualsTestbedPage.png
    • AppBarButtonTest.png
    • AppBarButtonWithIconTest.png
    • AppBar_KeyBoard.png-dark
    • AppBar_KeyBoard.png
    • ApplicationViewSizing.png-dark
    • ApplicationViewSizing.png
    • Application_DispatcherShutdownMode.png-dark
    • Application_DispatcherShutdownMode.png
    • AppWindowFeatures.png-dark
    • AppWindowFeatures.png
    • AppWindowPresenters.png-dark
    • AppWindowPresenters.png
    • AppXamlDefinedResources.png-dark
    • AppXamlDefinedResources.png
    • ArcSegment.png-dark
    • ArcSegment.png

@ramezgerges

Copy link
Copy Markdown
Contributor Author

Thanks for the review. I'm leaving this branch as approved. The follow-up PR covers the description points: #25663 and #25714 have since merged, the last five test commits, and When_Retained_Fallback_Renders_Identically now also using tolerance: 1.

@ramezgerges
ramezgerges merged commit 822f75d into unoplatform:master Oct 29, 2026
78 checks passed
@ramezgerges
ramezgerges deleted the dev/rara/ios-webgpu-ci branch October 29, 2026 13:46
ramezgerges added a commit that referenced this pull request Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.0 PRs only. For issues, use the Release field. area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants