gh#217: release is refused while ANY session is decoding

Tests › tests/unit/api/bridge_release_tool_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/api/bridge_release_tool_test.cpp:111 · its file's page

What it checks (7)

  1. REQUIRE(b.h->engine->concurrent_sessions()) observes concurrent_sessions
  2. REQUIRE(b.h->engine->try_begin_turn("s")) not attributed
  3. CHECK(reply["result"].value("isError", false)) not attributed
  4. CHECK(rc == ENTROPIC_ERROR_ALREADY_RUNNING) observes entropic_release_model via rc
  5. REQUIRE(b.h->engine->try_begin_turn("", /*exclusive=*/true)) not attributed
  6. CHECK_FALSE(other) not attributed
  7. REQUIRE(b.h->engine->try_begin_turn("s")) 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#217: release is refused while ANY session is decoding→REQUIRE→concurrent_sessions→WHEN→entropic_release_model→entropic_release_model→end_turn→BridgeHandle

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#217: release is refused while ANY session is decoding · 7 checksentropic_release_modelREQ-ABI-001 · inferredentropic_release_modelc_api_tryREQ-ABI-002 · inferredentropic_release_modelREQ-API-005 · inferredend_turnREQ-API-009 · inferredWHENfailure_detailREQ-API-012 · inferredentropic_release_modelrelease_modelsshutdownREQ-INFER-002 · inferredentropic_release_modelREQ-INFER-019 · inferredentropic_release_modelrelease_modelsshutdownREQ-INFER-020 · inferredentropic_release_modelrelease_modelsrelease_backendrelease_handles_for_modelREQ-INFER-023 · inferredentropic_release_modelclaim_exclusivetry_begin_turnREQ-LOOP-009 · inferred
Also reaches 10 requirements

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