Skip to content

[Bug] WABT artifact verifier releases both roots after MCP cleanup fails #8564

Closed

Description

@morluto

Area

WABT artifact real-provider verifier cleanup

Observed behavior

At revision 245a581818ab13694fa438a06e39898ce03ab206, the WABT artifact verifier attempts MCP client and transport cleanup, then closes its private input root and removes the provider child temporary directory even if either MCP close failed. Cleanup sequence. The two directories hold different resources, but their release can both depend on completion of the MCP/provider process.

Reproduction and evidence

On macOS arm64, Node 24.22.1, a subprocess ran the actual verifier with artificial WABT-version probes and MCP owners. The fake client recorded a handshake attempt and rejected, both client and transport close calls rejected, and the verifier still invoked root close and child-directory removal. The fake client did not start a process. All three injected errors were reported. Fake filesystem owners recorded invocation only; actual deletion and process survival were not tested.

The stdio SDK close completion limitation is separately described in #8555. No real WABT, MCP server or provider was run. Real-world frequency and impact are NOT_ENOUGH_INFO. Closed #2950 concerns the Windows private lease arrangement; closed #4798 concerns production WABT cleanup, rather than this verifier's cleanup ordering.

Expected behavior

Retain the input and provider temporary roots until acquired processes and transports actually complete; preserve primary and cleanup errors and support retry. Exercise partial handshake, mixed failures and late child exit using the existing process-ownership primitives.

Activity

  1. added
    bug
    on Nov 5, 2026
  2. added a commit that references this issue on Nov 14, 2026
    67ce671
  3. added
    area: mcp
    provider: wabt
    area: tests
    and removed on Nov 22, 2026
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

    area: mcparea: testsbugprovider: wabt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions