Commit graph

4 commits

Author SHA1 Message Date
易良
667a25adf9
fix(ci): restore release integration env controls (#5121) 2026-06-15 15:56:29 +08:00
Yufeng He
5689d29b58
test: stabilize simple MCP integration check (#5072) 2026-06-15 00:45:57 +08:00
tanzhenxin
fa6f664a6f
test(integration): pin simple-mcp-server to legacy MCP discovery path (#4164)
The progressive-MCP rollout (#3994) regressed non-interactive MCP tool
visibility on the first `--prompt` request — the model never sees the
configured MCP tool and answers from its own knowledge, so the test's
`waitForToolCall('mcp__addition-server__add')` assertion times out on
all three retries. Reproduced locally: 167s 3/3-fail without the
rollback flag, 22s pass with it.

Set `QWEN_CODE_LEGACY_MCP_BLOCKING=1` in the test's `beforeAll` so the
spawned CLI uses the pre-#3994 synchronous discovery path. Scoped to
this single test rather than the workflow env so other integration
tests keep exercising the new progressive-MCP code path.

Temporary workaround. Remove once #4163 is fixed.
2026-05-15 11:35:17 +08:00
tanzhenxin
ded89618ec refactor(tests): reorganize integration tests by execution mode
Move non-interactive tests to cli/, interactive tests to interactive/.
Add cron-interactive.test.ts wrapping terminal-capture E2E in vitest.
Update npm scripts and release workflow for new directory layout.
2026-03-29 05:49:17 +00:00
Renamed from integration-tests/simple-mcp-server.test.ts (Browse further)