From e3050c552c75ae3585c9f3a96a4cc2b074a08323 Mon Sep 17 00:00:00 2001 From: yuneng-berri Date: Sun, 4 Oct 2026 09:20:54 +0000 Subject: [PATCH 1/2] test(routing): expect the recorded method and api key in the stale cost map observation --- tests/integration/routing/test_stale_cost_map_boot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/routing/test_stale_cost_map_boot.py b/tests/integration/routing/test_stale_cost_map_boot.py index d2eeb2bdc6c..127e46402a1 100644 --- a/tests/integration/routing/test_stale_cost_map_boot.py +++ b/tests/integration/routing/test_stale_cost_map_boot.py @@ -82,5 +82,7 @@ def test_config_deployment_dropped_by_stale_boot_cost_map_is_restored_after_relo "path": "/v1/chat/completions", "authorization": "Bearer sk-upstream", "body": {"model": model, "messages": [{"role": "user", "content": "stale cost map control"}]}, + "method": "POST", + "api_key": "", } ] From 1ee6d6fbaabd1ddbbc1d82979f5781e1d106855f Mon Sep 17 00:00:00 2001 From: yuneng-berri Date: Tue, 6 Oct 2026 08:57:26 +0000 Subject: [PATCH 2/2] test(routing): keep main's copy of the stale cost map observation main pins method and api_key on the recorded request itself, so the merge resolution that kept both copies left duplicate keys in the literal. --- tests/integration/routing/test_stale_cost_map_boot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/integration/routing/test_stale_cost_map_boot.py b/tests/integration/routing/test_stale_cost_map_boot.py index 85326880e78..13b3d777587 100644 --- a/tests/integration/routing/test_stale_cost_map_boot.py +++ b/tests/integration/routing/test_stale_cost_map_boot.py @@ -84,7 +84,5 @@ def test_config_deployment_dropped_by_stale_boot_cost_map_is_restored_after_relo "method": "POST", "api_key": "", "body": {"model": model, "messages": [{"role": "user", "content": "stale cost map control"}]}, - "method": "POST", - "api_key": "", } ]