Skip to content

fix: refresh LLM failover test to Block-13 chain - #2

Merged
vowctminibro merged 1 commit into
mainfrom
fix/failover-test
Jun 15, 2026
Merged

fix: refresh LLM failover test to Block-13 chain#2
vowctminibro merged 1 commit into
mainfrom
fix/failover-test

Conversation

@vowctminibro

Copy link
Copy Markdown
Owner

Test-only fix for the red CI job. Asserts the current chat chain (Groq→Gemini→NIM, MiniMax excluded — paid-plan-leak guard) + includeMinimax backstop + real-host failover. No logic/core change. Local: 8/8 green.

CI's web LLM-failover job was red on a stale test that asserted the pre-Block-13
chain (MiniMax primary). Block 13 removed MiniMax from the chat chain
(paid-plan-leak fix, verified on prod). Test-only rewrite:

- assert chat chain == [groq, gemini, nvidia-nim] AND MiniMax not in it
  (regression guard for the leak fix);
- assert configuredProviders(true) appends minimax (import-extract backstop);
- failover cases re-pointed to real hosts (groq/gemini/nim/minimax): groq
  5xx/429/timeout → gemini → nim for complete() + streamComplete(),
  healthy-groq primary, all-down readable error, includeMinimax backstop.

Local: 8/8 green. No logic/core touched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vowctminibro
vowctminibro merged commit 1725ba8 into main Jun 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants