v2.14.0: an async completion reaches its owner and no other client¶
Tests › tests/unit/mcp/external_bridge_test.cpp
What this test is for
Why it exists
The test says nothing about why.
tests/unit/mcp/external_bridge_test.cpp:1206 · its file's page
What it checks (4)
REQUIRE(socketpair(AF_UNIX, SOCK_STREAM, 0, owner.data()) == 0)not attributedREQUIRE(socketpair(AF_UNIX, SOCK_STREAM, 0, other.data()) == 0)not attributedCHECK(notif["params"]["progressToken"].get<std::string>() == "task-owner")observesread_one_notificationvianotifCHECK(n < 0)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.0: an async completion reaches its owner and no other client→REQUIRE→subscribe→WHEN→run_async_ask→read_one_notification→unsubscribeWhat 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.
and 3 more requirement paths, listed below.
Also reaches 15 requirements
Its run touches their code; that is reach, not proof.
- REQ-ABI-001 inferred
- REQ-API-003 inferred
- REQ-API-005 inferred
- REQ-API-007 inferred
- REQ-API-008 inferred
- REQ-API-009 inferred
- REQ-API-010 inferred
- REQ-API-012 inferred
- REQ-BRIDGE-001 inferred
- REQ-IDEN-001 inferred
- REQ-LOOP-001 inferred
- REQ-LOOP-009 inferred
- REQ-LOOP-010 inferred
- REQ-MCP-027 inferred
- REQ-SAFE-001 inferred