qwen-code/integration-tests
易良 19a4259994
test(integration): deflake tool-control permission cases (#7725)
* 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>
2026-07-26 14:23:05 +00:00
..
baselines test(perf): add daemon baseline harness (#4175 Wave 1 PR 1) (#4205) 2026-05-17 00:41:26 +08:00
cli feat(web-shell): add read-only GitHub pull requests panel (#7683) 2026-07-25 02:44:50 +00:00
concurrent-runner refactor(tools): rename TodoWrite tool display name to TodoList (#5319) 2026-06-19 08:32:10 +08:00
fixtures feat(core): propagate trusted daemon invocation context (#7279) 2026-07-23 06:49:11 +00:00
hook-integration feat(hooks): Add HTTP Hook, Function Hook and Async Hook support (#2827) 2026-04-16 10:10:33 +08:00
interactive fix(integration): use lenient assertion and harden poll in interactive file-system test (#7113) 2026-07-18 05:05:08 +00:00
sdk-typescript test(integration): deflake tool-control permission cases (#7725) 2026-07-26 14:23:05 +00:00
terminal-bench Terminal Bench Integration Test (#521) 2025-09-05 17:02:03 +08:00
terminal-capture fix(cli): handle escaped dollars around inline math (#7741) 2026-07-26 13:58:01 +00:00
channel-plugin.test.ts fix(integration): use lenient assertion and harden poll in interactive file-system test (#7113) 2026-07-18 05:05:08 +00:00
fake-openai-server.test.ts test(e2e): make fake OpenAI reachable from Docker sandbox (#6302) 2026-07-04 11:06:53 +00:00
fake-openai-server.ts feat(core): Align GenAI content telemetry fields (#7667) 2026-07-24 18:42:48 +00:00
globalSetup.ts feat(core): support QWEN_HOME env var to customize config directory (#2953) 2026-05-09 15:51:52 +08:00
test-helper.ts fix(integration): use lenient assertion and harden poll in interactive file-system test (#7113) 2026-07-18 05:05:08 +00:00
test-mcp-server.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
tsconfig.json refactor(serve): 1 daemon = 1 workspace (#3803 §02) (#4113) 2026-05-15 12:44:36 +08:00
vitest.config.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
vitest.loadtest.config.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
vitest.terminal-bench.config.ts Fix E2E caused by Terminal Bench test (#529) 2025-09-08 10:51:14 +08:00