You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] WABT artifact verifier releases both roots after MCP cleanup fails #8564
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
fix(verifiers): release fixture roots only after their owners finish (m…