Skip to content

Flaky macOS WebKit harness: Wasm engine startup hangs and a comparator call_indirect trap #286

Backlog

Description

@agorischek

Two flaky failures in the macOS WebKit harness shards look like the same class of problem: Wasm in WebKit.

  1. The shared engine hangs at startup. Gallery specs in packages/renderers/harness (browser/gallery.spec.ts) sometimes leave the workbench stuck at "Starting the shared engine…", the Inspector's Wasm engine startup, before any renderer runs. Seen on graph/terraform-database-replacement (main run 46952875018) and on npm-react-update, token-guard and spring-orders on other branches. 119 local WebKit runs with 3 workers all passed.
  2. The comparator Wasm traps. In a Graph harness: a scenario-sized MCP fixture, arrowheads per scenario, and a stage-filled block tray #285 CI run, the runtime-policy fold.spec failed when that renderer's comparator Wasm trapped with "Out of bounds call_indirect". It passed on rerun.

Both happen only on the macOS WebKit CI runners so far. Ideas:

  • Capture the console and any Wasm error on failure.
  • Check whether engine startup needs a timeout and a retry with a visible error.
  • See whether the call_indirect trap reproduces under memory pressure or with concurrent instantiation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions