v2.14.1: a declared server serves each workspace from its own repository

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

What it checks (11)

  1. REQUIRE(h != nullptr) not attributed
  2. REQUIRE(entropic_workspace_create(h, "repo-a", repo_a.c_str()) == ENTROPIC_OK) observes entropic_workspace_create
  3. REQUIRE(entropic_workspace_create(h, "repo-b", repo_b.c_str()) == ENTROPIC_OK) observes entropic_workspace_create
  4. REQUIRE(entropic_session_bind_workspace(h, "sess-a", "repo-a") == ENTROPIC_OK) observes entropic_session_bind_workspace
  5. REQUIRE(entropic_session_bind_workspace(h, "sess-b", "repo-b") == ENTROPIC_OK) observes entropic_session_bind_workspace
  6. CHECK(has_ci(tool_results(a.transcript), "marigold")) observes has_ci
  7. CHECK(has_ci(tool_results(b.transcript), "saffron")) observes has_ci
  8. CHECK(has_ci(a.last, "marigold")) observes has_ci
  9. CHECK(has_ci(b.last, "saffron")) observes has_ci
  10. CHECK_FALSE(has_ci(a.transcript, "saffron")) observes has_ci
  11. CHECK_FALSE(has_ci(b.transcript, "marigold")) observes has_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

v2.14.1: a declared server serves each workspace from its own repository→model_gguf→make_repo→setup→setup_failure→REQUIRE→entropic_workspace_create→entropic_workspace_create→entropic_session_bind_workspace→entropic_session_bind_workspace→WHEN→run_turns→has_ci→tool_results

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.1: a declared server serves each workspace from its own repository · 11 checkssetupentropic_createREQ-ABI-001 · inferredentropic_session_bind_workspaceREQ-ABI-002 · inferredsetupentropic_createREQ-API-002 · inferredsetupentropic_createREQ-API-003 · inferredsetupentropic_configure_dirREQ-API-004 · inferredentropic_session_bind_workspaceREQ-API-005 · inferredrun_turnsrun_session_transcriptentropic_run_sessionalloc_cstrREQ-API-008 · inferredrun_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 · inferredentropic_workspace_create… 3 calls …bridge_project_dirREQ-BRIDGE-001 · inferred

and 65 more requirement paths, listed below.

Also reaches 79 requirements

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