v2.14.6: shutdown stops the host over MCP, only where the host allows it¶
Tests › tests/unit/api/bridge_release_tool_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/api/bridge_release_tool_test.cpp:145 · its file's page
What it checks (11)
CHECK_FALSE(advertised(b))not attributedCHECK(text_of(reply).find("unknown tool") != std::string::npos)observestext_ofCHECK(advertised(b))not attributedREQUIRE(advertised(b))not attributedREQUIRE(b.h->engine->try_begin_turn("s"))not attributedCHECK(reply["result"].value("isError", false))not attributedCHECK(text_of(reply).find("retry") != std::string::npos)observestext_ofCHECK_FALSE(reply["result"].value("isError", false))not attributedCHECK(text_of(reply).find("stopping") != std::string::npos)observestext_ofCHECK(sig == SIGTERM)not attributedCHECK_FALSE(new_turn)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
v2.14.6: shutdown stops the host over MCP, only where the host allows it→text_of→REQUIRE→end_turn→BridgeHandleWhat 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.