From e02d5a990c86c5ca78990cf1a25de72ea18567a4 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 12:59:56 -0700 Subject: [PATCH] fix(e2e): route credential, cost map, and UI login calls to the control plane (#42506) * fix(e2e): route credential, cost map, and UI login calls to the control plane * test(e2e): stop pinning the upstream model name in the credential-backed messages test * test(e2e): drop the harness unit test, the split stack run proves the routing live --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> --- tests/e2e/llm_translation/test_credential_messages_e2e.py | 1 + tests/e2e/transport.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/e2e/llm_translation/test_credential_messages_e2e.py b/tests/e2e/llm_translation/test_credential_messages_e2e.py index 52306ce3a7a..58e17f20bb8 100644 --- a/tests/e2e/llm_translation/test_credential_messages_e2e.py +++ b/tests/e2e/llm_translation/test_credential_messages_e2e.py @@ -49,5 +49,6 @@ class TestCredentialBackedMessages: extra_body=NO_PROXY_CACHE, ) assert message.role == "assistant", f"unexpected role: {message.role!r}" + assert message.usage.output_tokens > 0, f"/v1/messages billed no output tokens: {message.usage!r}" text = "".join(block.text for block in message.content if block.type == "text") assert text.strip(), f"/v1/messages returned no text: {message.content!r}" diff --git a/tests/e2e/transport.py b/tests/e2e/transport.py index 4f3953f68b2..87aad0d08de 100644 --- a/tests/e2e/transport.py +++ b/tests/e2e/transport.py @@ -312,8 +312,10 @@ CONTROL_PLANE_PREFIXES: tuple[str, ...] = ( "/global", "/config", "/guardrails", + "/credentials", "/router/settings", "/audit", + "/public", "/v2/login", "/openapi.json", )