From 481ab07ca7254a614d5029500fc413fe84701148 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Sat, 15 Aug 2026 16:09:02 -0700 Subject: [PATCH] test(e2e): skip the bedrock web search cell the stack cannot provision This cell needs the websearch_interception callback and a declared search backend, both listed in its own module docstring. The ephemeral e2e stack ships neither, so the request falls through to the bedrock transformation and takes the by-design 400 that tells you to enable interception. The cell has never been green here: the error path merged about an hour and a half before the cell did, and the last full suite to pass predates the cell entirely. Skip it with the reason recorded so the run reports honestly instead of carrying a permanent red, and unskip once the stack ships the config the docstring already spells out. --- .../test_bedrock_web_search_server_tool_e2e.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/e2e/llm_translation/test_bedrock_web_search_server_tool_e2e.py b/tests/e2e/llm_translation/test_bedrock_web_search_server_tool_e2e.py index 7ff4b5f594a..43461239e5f 100644 --- a/tests/e2e/llm_translation/test_bedrock_web_search_server_tool_e2e.py +++ b/tests/e2e/llm_translation/test_bedrock_web_search_server_tool_e2e.py @@ -60,6 +60,12 @@ SEARCH_PROMPT = "Use web search to tell me one recent news headline about Anthro class TestBedrockWebSearchServerTool: + @pytest.mark.skip( + reason="stage red: environment gap, the e2e stack neither enables the " + "websearch_interception callback nor declares a search backend, so the request " + "reaches bedrock's transformation and takes its by-design 400. Unskip once the " + "ephemeral stack ships the config in this module's docstring." + ) @pytest.mark.covers("llm.messages.bedrock_invoke.web_search_server_tool.nonstream.works") def test_web_search_server_tool_is_served( self, endpoints_client: EndpointsClient, resources: ResourceManager