plano/tests/archgw
Adil Hafeez 3a6a672c9d Add mock-based E2E tests and gate live tests to main/nightly
Introduce a new mock-based E2E test suite that uses pytest_httpserver to
simulate LLM provider responses, eliminating the need for real API keys
on PR builds. The mock tests cover model alias routing, protocol
transformation (OpenAI↔Anthropic), Responses API passthrough/translation,
streaming, tool calls, thinking mode, and multi-turn state management.

CI changes:
- Add mock-e2e-tests job (zero secrets, runs on every PR)
- Gate all live E2E jobs to main pushes + nightly schedule
- Scope secrets to only the keys each job actually needs
- Add daily cron schedule for full live test coverage

Also relaxes exact-match assertions in live e2e tests to structural
checks (non-null, non-empty) since LLM output is non-deterministic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:33:48 +00:00
..
.vscode better model names (#517) 2025-07-11 16:42:16 -07:00
common.py Rename all arch references to plano (#745) 2026-02-13 15:16:56 -08:00
common.sh Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
config.yaml rename cli to plano (#647) 2025-12-23 18:37:58 -08:00
config_mock_llm.yaml Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
conftest.py Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
docker-compose.mock.yaml Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
docker-compose.yaml Rename all arch references to plano (#745) 2026-02-13 15:16:56 -08:00
pyproject.toml Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
test_llm_gateway.py Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
test_model_alias_routing.py Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
test_prompt_gateway.py Rename all arch references to plano (#745) 2026-02-13 15:16:56 -08:00
test_responses_api.py Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
test_streaming.py Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00
uv.lock Add mock-based E2E tests and gate live tests to main/nightly 2026-02-18 19:33:48 +00:00