From 2e05b97ba4edfa969437fb64120dda54adcd4846 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 15 Sep 2026 03:14:19 -0700 Subject: [PATCH] fix(ci): filter the renamed deployment-selection log line in test_async_fallbacks 398300c4e7 reworded the simple-shuffle INFO line from "get_available_deployment for model: ..." to "Selected deployment for model ...", so the noise filter in test_router_debug_logs.py stopped dropping it and the last three captured records no longer matched the expected fallback sequence. Add the new wording next to the old one, which router.py still emits on other paths --- tests/local_testing/test_router_debug_logs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/local_testing/test_router_debug_logs.py b/tests/local_testing/test_router_debug_logs.py index 0fce5c824c7..b3c26a7689f 100644 --- a/tests/local_testing/test_router_debug_logs.py +++ b/tests/local_testing/test_router_debug_logs.py @@ -86,6 +86,7 @@ def test_async_fallbacks(caplog): if "Task exception was never retrieved" not in log and "Task was destroyed but it is pending" not in log and "get_available_deployment" not in log + and "Selected deployment for model" not in log and "in the Langfuse queue" not in log and "Unclosed client session" not in log and "Unclosed connector" not in log