gh#208: concurrent streaming turns each receive only their own tokens

Tests › tests/unit/core/stream_route_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/core/stream_route_test.cpp:58 · its file's page

What it checks (4)

  1. CHECK(rc_a == 0) observes run_streaming via rc_a
  2. CHECK(rc_b == 0) observes run_streaming via rc_b
  3. CHECK(a.get() == long_reply) observes get
  4. CHECK(b.get() == short_reply) observes get

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#208: concurrent streaming turns each receive only their own tokens→make_mock_interface→set_active_session→run_streaming→get→on_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#208: concurrent streaming turns each receive only their own tokens · 4 checksrun_streamingREQ-LOOP-001 · inferredrun_streamingREQ-LOOP-008 · inferred
Also reaches 2 requirements

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