Skip to content

Commit c399c75

Browse files
committed
fix(ci): stabilize serena capability smoke
1 parent 697f44d commit c399c75

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format follows Keep a Changelog, and marketplace/plugin versions follow Sema
1212

1313
- Runtime pins updated to current stable upstream versions: Codex CLI `0.132.0`, Serena Agent `1.5.1`, and Chrome DevTools MCP `1.0.1`.
1414
- System Codex docs now clarify that the owner-selected `sandbox_mode = "danger-full-access"` remains the active runtime policy while `plugin_hooks` stays an explicit official Codex opt-in.
15+
- Serena MCP capability smoke now uses the deterministic `list_memories` safe call for Serena Agent `1.5.1` to avoid classifying variable configuration output as CI noise.
1516

1617
### Security
1718

scripts/smoke_mcp_capabilities.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
EXPECTED_TOOLS: dict[str, set[str]] = {
21-
"serena": {"initial_instructions", "get_current_config", "get_symbols_overview", "find_symbol", "read_memory"},
21+
"serena": {"initial_instructions", "onboarding", "list_memories", "get_symbols_overview", "find_symbol", "read_memory"},
2222
"sequential-thinking": {"sequentialthinking"},
2323
"playwright": {"browser_navigate", "browser_close", "browser_console_messages"},
2424
"chrome-devtools": {"new_page", "list_console_messages", "take_screenshot"},
@@ -79,10 +79,10 @@ def _content_len(result: Any) -> int:
7979

8080
async def _safe_call(name: str, session: ClientSession, missing_env: list[str]) -> str | None:
8181
if name == "serena":
82-
result = await session.call_tool("get_current_config", {})
82+
result = await session.call_tool("list_memories", {})
8383
if result.isError:
84-
raise ProbeFailure("get_current_config returned isError=true")
85-
return "get_current_config"
84+
raise ProbeFailure("list_memories returned isError=true")
85+
return "list_memories"
8686

8787
if name == "sequential-thinking":
8888
result = await session.call_tool(

0 commit comments

Comments
 (0)