gh#205: streaming under a tier refuses what it cannot run

Tests › tests/unit/api/run_session_streaming_as_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/run_session_streaming_as_test.cpp:35 · its file's page

What it checks (7)

  1. CHECK(entropic_run_session_streaming_as( h.h, "s", nullptr, "hi", noop_token, nullptr, nullptr) == ENTROPIC_ERROR_INVALID_ARGUMENT) observes entropic_run_session_streaming_as
  2. CHECK(entropic_run_session_streaming_as( h.h, "s", "no_such_tier", "hi", noop_token, nullptr, nullptr) == ENTROPIC_ERROR_IDENTITY_NOT_FOUND) observes entropic_run_session_streaming_as
  3. REQUIRE(err != nullptr) not attributed
  4. CHECK(std::string(err).find("no_such_tier") != std::string::npos) not attributed
  5. CHECK(entropic_run_session_streaming_as( h.h, "s", "lead", nullptr, noop_token, nullptr, nullptr) == ENTROPIC_ERROR_INVALID_ARGUMENT) observes entropic_run_session_streaming_as
  6. CHECK(entropic_run_session_streaming_as( h.h, "s", "lead", "hi", nullptr, nullptr, nullptr) == ENTROPIC_ERROR_INVALID_ARGUMENT) observes entropic_run_session_streaming_as
  7. CHECK(entropic_run_session_streaming_as( nullptr, "s", "lead", "hi", noop_token, nullptr, nullptr) != ENTROPIC_OK) observes entropic_run_session_streaming_as

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#205: streaming under a tier refuses what it cannot run→entropic_run_session_streaming_as→entropic_run_session_streaming_as→entropic_last_error→entropic_last_error→REQUIRE→noop_token

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#205: streaming under a tier refuses what it cannot run · 7 checksentropic_last_errorREQ-ABI-001 · inferredentropic_last_errorREQ-API-003 · inferredentropic_run_session_streaming_asrun_session_streaming_implcheck_orchestratorREQ-API-005 · inferredentropic_last_errorREQ-API-007 · inferredentropic_run_session_streaming_asREQ-API-009 · inferredentropic_run_session_streaming_as… 3 calls …failure_detailREQ-API-012 · inferredentropic_run_session_streaming_asREQ-IDEN-001 · inferredentropic_run_session_streaming_asrun_session_streaming_implstream_session_turnrun_streamingREQ-LOOP-001 · inferredentropic_run_session_streaming_asrun_session_streaming_implstream_session_turnrun_streamingREQ-LOOP-008 · inferredentropic_run_session_streaming_asrun_session_streaming_implclaimtry_begin_turnREQ-LOOP-009 · inferredentropic_run_session_streaming_as… 3 calls …serialize_messagesREQ-LOOP-010 · inferredentropic_run_session_streaming_as… 3 calls …workspace_serversREQ-MCP-027 · inferred

and 1 more requirement paths, listed below.

Also reaches 13 requirements

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