mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-02 21:04:32 +00:00
* fix(ci): deflake tool-control E2E and add autofix flake detection Migrate 5 flaky tool-control E2E cases from real model to fake-openai-server, eliminating timeout flakes caused by non-deterministic model tool-call behavior. Add a flake detection step to the autofix workflow that closes self-resolved CI failure issues before entering the expensive develop phase. Add a verification step to the triage workflow that surfaces the silent gap when the agent produces a summary but fails to post the stage comment. * fix(ci): harden flake and triage verification * fix(ci): tolerate flake issue lookup failures * test(ci): pin workflow closeout contracts * test(integration): narrow tool-control deflake scope * test(integration): exercise shell allow patterns * test(integration): use non-read-only commands for allowedTools pattern tests echo and ls are in READ_ONLY_ROOT_COMMANDS, so permission-manager auto-allows them before allowedTools is consulted. The 'auto-approve shell commands with pattern matching' test used echo test for the allow case, which never exercised allowedTools pattern matching. Switch to touch (non-read-only) so the allow path genuinely tests ShellTool(touch *) matching. Also replace inline model/env/authType blocks in two pre-existing tests with the fakeModelOptions helper for consistency with the migrated tests. --------- Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| baselines | ||
| cli | ||
| concurrent-runner | ||
| fixtures | ||
| hook-integration | ||
| interactive | ||
| sdk-typescript | ||
| terminal-bench | ||
| terminal-capture | ||
| channel-plugin.test.ts | ||
| fake-openai-server.test.ts | ||
| fake-openai-server.ts | ||
| globalSetup.ts | ||
| test-helper.ts | ||
| test-mcp-server.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.loadtest.config.ts | ||
| vitest.terminal-bench.config.ts | ||