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.
This commit is contained in:
Yuneng Jiang 2026-08-15 16:09:02 -07:00
parent bf93483b95
commit 481ab07ca7
No known key found for this signature in database

View file

@ -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