v2.14.6: an empty turn is retried, never accepted as complete

Tests › tests/unit/core/engine_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/engine_test.cpp:617 · its file's page

What it checks (5)

  1. CHECK(mock.generate_call_count == 2) not attributed
  2. CHECK(out.back().content == "Here is the answer.") observes run via out
  3. CHECK(engine.last_turn_failure().empty()) observes last_turn_failure
  4. CHECK(mock.generate_call_count <= 4) not attributed
  5. CHECK(engine.last_turn_failure().find("empty_response") != std::string::npos) observes last_turn_failure

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.6: an empty turn is retried, never accepted as complete→make_mock_interface→run→make_messages→last_turn_failure

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.6: an empty turn is retried, never accepted as complete · 5 checksrunloopexecute_iterationcheck_compactionREQ-COMPACT-001 · inferredrunREQ-COMPACT-002 · inferredrun… 4 calls …execute_pending_pipelineREQ-DELEG-001 · inferredruninit_session_conversationREQ-DELEG-002 · inferredrun… 5 calls …finalize_delegation_resultREQ-DELEG-003 · inferredrun… 4 calls …execute_pending_pipelineREQ-DELEG-004 · inferredrun… 5 calls …resolve_session_rootREQ-DELEG-005 · inferredrun… 5 calls …resolve_resume_delegationREQ-DELEG-006 · inferredrunloopREQ-HOOK-002 · inferredrunREQ-IDEN-001 · inferredrun… 4 calls …try_auto_chainREQ-IDEN-003 · inferredrun… 4 calls …handle_terminal_finish_reasonsREQ-INFER-026 · inferred

and 8 more requirement paths, listed below.

Also reaches 20 requirements

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