gh#158: two concurrent sessions do not bleed into each other

Tests › tests/model/test_gh158_concurrent_sessions.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/model/test_gh158_concurrent_sessions.cpp:151 · its file's page

What it checks (9)

  1. REQUIRE(h != nullptr) not attributed
  2. CHECK(contains_ci(a.answer, "cinnamon")) observes contains_ci
  3. CHECK(contains_ci(b.answer, "tungsten")) observes contains_ci
  4. CHECK_FALSE(contains_ci(a.transcript, "tungsten")) observes contains_ci
  5. CHECK_FALSE(contains_ci(b.transcript, "cinnamon")) observes contains_ci
  6. REQUIRE(entropic_session_list(h, &listed) == ENTROPIC_OK) observes entropic_session_list
  7. REQUIRE(listed != nullptr) not attributed
  8. CHECK(json.find("repo-alpha") != std::string::npos) not attributed
  9. CHECK(json.find("repo-bravo") != 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#158: two concurrent sessions do not bleed into each other→model_gguf→setup→setup_failure→REQUIRE→WHEN→run_session_turns→contains_ci→entropic_session_list→entropic_session_list→entropic_free→entropic_free

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#158: two concurrent sessions do not bleed into each other · 9 checksentropic_freeREQ-ABI-001 · inferredsetupentropic_grammar_register_fileREQ-ABI-002 · inferredsetupentropic_createREQ-API-002 · inferredsetupentropic_createREQ-API-003 · inferredsetupentropic_configure_dirREQ-API-004 · inferredsetupentropic_grammar_register_fileREQ-API-005 · inferredentropic_freeREQ-API-008 · inferredrun_session_turnsrun_session_transcriptentropic_run_sessionREQ-API-009 · inferredsetup… 4 calls …rewire_observersREQ-API-010 · inferredWHENfailure_detailREQ-API-012 · inferredsetup… 3 calls …init_orchestratorREQ-API-013 · inferredsetup… 3 calls …start_http_listenerREQ-BRIDGE-001 · inferred

and 65 more requirement paths, listed below.

Also reaches 79 requirements

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