gh#144: interleaved sessions do not leak context to each other

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

What it checks (6)

  1. REQUIRE_FALSE(gguf.empty()) observes test_gguf via gguf
  2. REQUIRE(fs::is_regular_file(gguf)) observes test_gguf via gguf
  3. REQUIRE(backend.load(cfg)) observes load
  4. REQUIRE(backend.activate()) observes activate
  5. CHECK(contains_ci(answers[i], sessions[i].secret)) observes contains_ci
  6. CHECK_FALSE( contains_ci(answers[i], sessions[j].secret)) observes contains_ci

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#144: interleaved sessions do not leak context to each other→test_gguf→REQUIRE→load→activate→WHEN→generate→contains_ci→deactivate→unload

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#144: interleaved sessions do not leak context to each other · 6 checksWHENfailure_detailREQ-API-012 · inferredunloadREQ-INFER-002 · inferred
Also reaches 2 requirements

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