Skip to content

test(combo): reconcile #4279 stop-guard test with #5249 advance policy - #5300

Merged
diegosouzapw merged 1 commit into
release/v3.8.40from
fix/reconcile-4279-5249-test
Jun 29, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.40from
fix/reconcile-4279-5249-test

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

Why

origin/release/v3.8.40 is currently red on the Unit 2/2 shard — tests/unit/combo-body-specific-400-stop-4279.test.ts fails. This blocks every open PR (the failure is inherited via the merge-with-base CI checkout), including #5294 and #5287.

Root cause

#5249 (merged) deliberately reversed the policy for a MODEL_CAPACITY 400 ("model X is not supported with this account"): it now advances to the next combo target instead of stopping, because a different model in the combo may be supported. #5249 added a regression test in combo-strategies.test.ts (16/16 green) but did not reconcile the pre-existing combo-body-specific-400-stop-4279.test.ts, which still asserted the old STOP behavior for that exact model-not-supported text. Two suite tests now asserted opposite behavior for the same 400 → release red. (#5249's note 'combo-strategies suite 16/16 green' only ran that one file, not the separate #4279 file.)

Fix (test-only)

Re-point the #4279 test at a genuinely body-specific malformed 400 ("invalid message format" → matches MALFORMED_REQUEST_PATTERNS), which still recurs identically on every target and must STOP. This preserves the #2101 anti-loop {ok,response} contract coverage, while the advance-on-model-400 path stays covered by combo-strategies.test.ts.

No production behavior change.

Validation

#5249 deliberately changed a MODEL_CAPACITY 400 ('model X not supported with
this account') from STOP to ADVANCE-to-next-combo-target, since a different
model in the combo may be supported. It added a regression test in
combo-strategies.test.ts but did not update the separate
combo-body-specific-400-stop-4279.test.ts, which still asserted the old STOP
behavior for that exact model-not-supported text — leaving the release branch
red on the Unit 2/2 shard (every PR inherited the failure).

Re-point the #4279 test at a genuinely body-specific malformed 400 ('invalid
message format'), which still recurs identically on every target and must STOP.
This preserves the #2101 anti-loop {ok,response} contract coverage while the
advance-on-model-400 path stays covered by combo-strategies.test.ts.

Test-only; no production behavior change.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@diegosouzapw
diegosouzapw merged commit 5ba5bcd into release/v3.8.40 Jun 29, 2026
6 of 7 checks passed
@diegosouzapw diegosouzapw mentioned this pull request Jun 29, 2026
@diegosouzapw
diegosouzapw deleted the fix/reconcile-4279-5249-test branch June 29, 2026 14:08
tkgo11 pushed a commit to tkgo11/OmniRoute that referenced this pull request Sep 23, 2026
…eaper-inference#5249 advance policy (cheaper-inference#5300)

cheaper-inference#5249 deliberately changed a MODEL_CAPACITY 400 ('model X not supported with
this account') from STOP to ADVANCE-to-next-combo-target, since a different
model in the combo may be supported. It added a regression test in
combo-strategies.test.ts but did not update the separate
combo-body-specific-400-stop-4279.test.ts, which still asserted the old STOP
behavior for that exact model-not-supported text — leaving the release branch
red on the Unit 2/2 shard (every PR inherited the failure).

Re-point the cheaper-inference#4279 test at a genuinely body-specific malformed 400 ('invalid
message format'), which still recurs identically on every target and must STOP.
This preserves the cheaper-inference#2101 anti-loop {ok,response} contract coverage while the
advance-on-model-400 path stays covered by combo-strategies.test.ts.

Test-only; no production behavior change.
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.

1 participant