Skip to content

[ci-scan] Recurring: WebViewDoesntCrashWhenLoadingAHeavyPageAndUsingExecutionModeSeparateProcess fails on macOS in maui-pr-uitests #36193

Description

@github-actions

Summary

WebViewDoesntCrashWhenLoadingAHeavyPageAndUsingExecutionModeSeparateProcess fails consistently on macOS in the Controls WebView UI test leg, with the app becoming unresponsive and being force-terminated after each attempt.

Build Information

  • Pipeline: maui-pr-uitests (definition 313)
  • Build: 1484478
  • Build ID: 1484478
  • Branch: main
  • First seen: 2026-06-24 (build 1478901)
  • Occurrences: 3 in last 10 builds (1484478 on 2026-06-27, 1483327 on 2026-06-26, 1478901 on 2026-06-24)

Affected Legs

  • macOS UI tests — Controls WebView task (macOS stage)
  • Both test runs and retry runs fail with the same error

Error Message

Failed WebViewDoesntCrashWhenLoadingAHeavyPageAndUsingExecutionModeSeparateProcess [15 m 8 s]
  Error Message:
   The app became unresponsive and was force-terminated: App.AppState query did not complete — app is likely unresponsive
TearDown : The app became unresponsive and was force-terminated: App.AppState query did not complete — app is likely unresponsive
  Stack Trace:
     at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 121

Recommended Action

  1. Locate WebViewDoesntCrashWhenLoadingAHeavyPageAndUsingExecutionModeSeparateProcess in src/Controls/tests/TestCases.Shared.Tests/ (or related UI test project).
  2. The test uses ExecutionMode.SeparateProcess for WebView — this mode launches a secondary process and the parent app may be losing connection to it under macOS.
  3. Investigate whether a recent change to WebView.maccatalyst.cs, WKWebView initialization, or process lifecycle management introduced a regression causing the separate process to hang.
  4. Check if the test has a timeout guard: it runs for 15 min before the teardown query times out, suggesting the test itself is stuck waiting for the WebView to complete a heavy page load.
  5. Consider whether this is related to the CookiesCorrectlyLoadWithMultipleWebViews macOS WebView instability (tracked in [ci-scan] Recurring: CookiesCorrectlyLoadWithMultipleWebViews fails on iOS/MacCatalyst in maui-pr-uitests #36117).

Generated by CI Failure Scanner · 4.5K AIC · ⌖ 13.6 AIC · ⊞ 36.2K ·

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions