You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Follow-ups from the #4117 review: Qwen Code still starts the Playwright MCP server on every turn, and the version-mismatch log compares the wrong values #4126
Root merged #4117 at 08:43:27Z as df5be3397 (from head 597865f92) while agent #2's review was running. Agent #2's post-merge source review (record 5967420579) finds one MEDIUM on main. It was found from the pinned bundle's source; nothing was executed.
MEDIUM: Qwen Code turns still start the real Playwright MCP server on every turn
The cause: the pinned Qwen Code 0.23.3 sends raw prompts/list and resources/list during discovery at the start of every turn, even to a server that doesn't advertise them.
The proxy's answer: its answered() returns False for any request it doesn't know (tale-playwright-mcp:247-250,305-307), so discovery itself starts mcp-server-playwright.
The effect: for Qwen, the PR saves nothing and adds the proxy on top.
Reach: all five Qwen golden configs mount Playwright, so the register row automation.md:192 ("a managed agent turn that never opens a browser never starts the Playwright MCP server") is false for Qwen.
Why the tests missed it: the unit test and the container check use a hand-written client that sends only initialize and tools/list.
LOW
The version-mismatch log compares the wrong values: the version the client asked for, not the one the manifest answered (:199,229,266-269). Every lazy start logs an untrue mismatch, while a real mismatch would go unlogged.
The manifest is keyed by arguments only, but the server's tool list also depends on PLAYWRIGHT_MCP_CAPS and PLAYWRIGHT_MCP_CONFIG. Start the server at once when any PLAYWRIGHT_MCP_* variable is set.
A session-installed @playwright/mcp is started, but the image's manifest is still served. Use the absolute path, or record the path in the manifest.
A server whose start hangs stalls the first tool call indefinitely. No deadline bounds the replayed initialize.
INFO:
the shebang resolves python3 from a PATH that begins with session-writable directories;
TALE_PLAYWRIGHT_MCP_EAGER isn't wired anywhere;
the argument-set test checks the export, not what buildMcpServers emits;
the container check covers argument set [0] only.
Acceptance
MEDIUM:prompts/list, resources/list and resources/templates/list are answered with the real server's -32601 Method not found when the manifest's capabilities lack them.
Test: a stand-in client sending Qwen's discovery sequence produces no started line.
The register row is true for every harness that mounts Playwright.
The log: compares the answered version, with a test.
The other LOWs: fixed with tests or recorded as explicit decisions.
Activity