Skip to content

test(ai): test ai modules through public interfaces on edge fakes - #2887

Merged
dan-petty merged 4 commits into
mainfrom
test/1331-ai-modules-edge-fakes-public-interfaces
Oct 31, 2026
Merged

dan-petty merged 4 commits into
mainfrom
test/1331-ai-modules-edge-fakes-public-interfaces

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #1331

Remove mock fallback in LLMClient.backend_type, relocate gateway probe,
benchmark execution, and baseline lookup logic from commands to their
respective AI domain modules, merge duplicate repomap test files, and
isolate run-store tests from review and gateway benchmark logic.

Change:
openspec/changes/archive/2026-10-31-1331-ai-modules-edge-fakes-public-interfaces/

@dan-petty dan-petty added type/test Type test: a new or changed test scope/ai AI review pipeline, personas, prompts, LLM client, or RAG labels Oct 31, 2026
@dan-petty dan-petty changed the title test(ai): test remaining ai modules through public interfaces on edge fakes test(ai): test ai modules through public interfaces on edge fakes Oct 31, 2026
… fakes

Remove mock fallback in LLMClient.backend_type, relocate gateway probe,
benchmark execution, and baseline lookup logic from commands to their
respective AI domain modules, merge duplicate repomap test files, and
isolate run-store tests from review and gateway benchmark logic.

Closes #1331

Change:
`openspec/changes/archive/2026-10-31-1331-ai-modules-edge-fakes-public-interfaces/`
…uns to run_store

Move announce_runs and announce_run from commands/ai_runs to ai/run_store
to keep architectural layering clean, and defer imports of heavy benchmark
runners and rag indexers in ai/benchmark/execution to preserve fast CLI
startup budgets during dry-run and help execution.
@dan-petty
dan-petty force-pushed the test/1331-ai-modules-edge-fakes-public-interfaces branch from 829c0bc to 5f3f3d1 Compare October 31, 2026 16:56
…up branches

Add test assertions for benchmark output file generation, dry-run output
formats, gateway liveliness probe rejection, and baseline ambiguous lookup
errors, raising diff coverage across changed AI modules to 100%.
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 17:17
@dan-petty
dan-petty merged commit 8b3120b into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the test/1331-ai-modules-edge-fakes-public-interfaces branch October 31, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ai AI review pipeline, personas, prompts, LLM client, or RAG type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(ai): the remaining ai modules are tested through their public interfaces on edge fakes, and the legacy provider layer leaves src

1 participant