v2.14.0: an async completion reaches its owner and no other client

Tests › tests/unit/mcp/external_bridge_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/external_bridge_test.cpp:1206 · its file's page

What it checks (4)

  1. REQUIRE(socketpair(AF_UNIX, SOCK_STREAM, 0, owner.data()) == 0) not attributed
  2. REQUIRE(socketpair(AF_UNIX, SOCK_STREAM, 0, other.data()) == 0) not attributed
  3. CHECK(notif["params"]["progressToken"].get<std::string>() == "task-owner") observes read_one_notification via notif
  4. CHECK(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→unsubscribe

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.

v2.14.0: an async completion reaches its owner and no other client · 4 checksrun_async_askasync_workerderive_async_final_stateentropic_last_errorREQ-ABI-001 · inferredrun_async_askasync_workerderive_async_final_stateentropic_last_errorREQ-API-003 · inferredrun_async_askasync_workerattach_phase_observerentropic_set_state_observerREQ-API-005 · inferredrun_async_askasync_workerderive_async_final_stateentropic_last_errorREQ-API-007 · inferredrun_async_askasync_workerderive_async_final_stateentropic_freeREQ-API-008 · inferredrun_async_askasync_workerrun_plain_turnentropic_run_sessionREQ-API-009 · inferredrun_async_askasync_workerattach_phase_observerentropic_set_state_observerREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredrun_async_askREQ-BRIDGE-001 · inferredrun_async_askasync_workerrun_plain_turnentropic_run_session_asREQ-IDEN-001 · inferredrun_async_askasync_workerattach_phase_observerentropic_set_state_observerREQ-LOOP-001 · inferredrun_async_ask… 4 calls …try_begin_turnREQ-LOOP-009 · inferred

and 3 more requirement paths, listed below.

Also reaches 15 requirements

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