gh#150: a suppressed external call is REPORTED as a failure

Tests › tests/unit/mcp/gh150_interrupt_latch_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/mcp/gh150_interrupt_latch_test.cpp:156 · its file's page

What it checks (5)

  1. CHECK(mcp::looks_like_tool_error( nlohmann::json::parse(envelope).value("result", ""))) observes looks_like_tool_error
  2. REQUIRE(raw->open()) observes open
  3. CHECK(mcp::looks_like_tool_error(text)) observes looks_like_tool_error
  4. CHECK(text.find("interrupted") != std::string::npos) not attributed
  5. CHECK(text.find("timed out") == std::string::npos) not attributed

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

gh#150: a suppressed external call is REPORTED as a failure→WHEN→execute→looks_like_tool_error→REQUIRE→open→interrupt→close

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

gh#150: a suppressed external call is REPORTED as a failure · 5 checksWHENfailure_detailREQ-API-012 · inferredexecuteREQ-MCP-002 · inferredlooks_like_tool_errorREQ-MCP-019 · inferredexecuteREQ-MCP-025 · inferredexecuteREQ-MCP-026 · inferred
Also reaches 5 requirements

Its run touches their code; that is reach, not proof.