Orchestrator residency_snapshot_json reports configured budget

Tests › tests/unit/inference/orchestrator_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/inference/orchestrator_test.cpp:580 · its file's page

What it checks (4)

  1. REQUIRE(orch.vram_budget_bytes() == 2147483648u) observes vram_budget_bytes
  2. REQUIRE(j["vram_budget_bytes"].get<size_t>() == 2147483648u) observes residency_snapshot_json via j
  3. REQUIRE(j["vram_headroom_bytes"].get<size_t>() == 2147483648u) observes residency_snapshot_json via j
  4. REQUIRE(j["backend"].get<std::string>() == "configured") observes residency_snapshot_json via j

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

Orchestrator residency_snapshot_json reports configured budget→initialize→REQUIRE→vram_budget_bytes→residency_snapshot_json

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.

Orchestrator residency_snapshot_json reports configured budget · 4 checksinitializeactivate_routerensure_loadedload_and_activateREQ-INFER-002 · inferredinitializeload_bundled_grammarsload_bundledREQ-INFER-007 · inferredinitializecreate_tier_backendscreate_adapterREQ-INFER-012 · inferredinitializeensure_vram_budgetREQ-INFER-019 · inferredinitializebuild_routing_tablesREQ-INFER-020 · inferredinitialize… 3 calls …preload_adapters_for_modelREQ-INFER-023 · inferred
Also reaches 6 requirements

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