qwen-code/integration-tests
Ryan Gabriel 6420d69d14
test(acp-cron): kill whole process tree on cleanup to stop ENOTEMPTY flakes (#9815)
* test(acp-cron): kill whole process tree on cleanup to stop ENOTEMPTY flakes

The recurring cron job under QWEN_CODE_TEST_CRON_FAST can drop a fresh
file into the fake QWEN_HOME while rmSync walks it, failing cleanup
with ENOTEMPTY. The direct agent.kill() only signals the CLI process;
grandchildren spawned by the CLI keep running and can still write.

Spawn the CLI in its own process group and signal the group during
cleanup (taskkill /T on Windows). Also widen the rmSync retry window.

Same flake tracked by #9766, #9643 and #9555.

* test(acp-cron): kill whole process tree on cleanup to stop ENOTEMPTY flakes

The recurring cron job under QWEN_CODE_TEST_CRON_FAST can drop a fresh
file into the fake QWEN_HOME while rmSync walks it, failing cleanup
with ENOTEMPTY. The direct agent.kill() only signals the CLI process;
grandchildren spawned by the CLI keep running and can still write.

Spawn the CLI in its own process group and signal the group during
cleanup (taskkill /T on Windows). Replace the widened rmSync built-in
retries with fresh-walk retry attempts.

Same flake tracked by #9766, #9643 and #9555.
2026-08-24 08:23:33 +00:00
..
baselines test(perf): add daemon baseline harness (#4175 Wave 1 PR 1) (#4205) 2026-05-17 00:41:26 +08:00
cli test(acp-cron): kill whole process tree on cleanup to stop ENOTEMPTY flakes (#9815) 2026-08-24 08:23:33 +00:00
concurrent-runner refactor(tools): rename TodoWrite tool display name to TodoList (#5319) 2026-06-19 08:32:10 +08:00
fixtures feat(web-shell): add transcript contract prevalidation (#9388) 2026-08-19 14:13:12 +00:00
hook-integration fix(integration-tests): make the project typecheckable and fix what that found (#8693) 2026-08-08 16:32:31 +00:00
interactive fix(tests): avoid blocking integration test cleanup (#8688) 2026-08-08 02:17:17 +00:00
sdk-typescript feat(core): make list_directory opt-in (disabled by default) (#9424) 2026-08-21 07:24:05 +00:00
terminal-bench fix(integration-tests): make the project typecheckable and fix what that found (#8693) 2026-08-08 16:32:31 +00:00
terminal-capture fix(integration-tests): make the project typecheckable and fix what that found (#8693) 2026-08-08 16:32:31 +00:00
channel-plugin.test.ts fix(integration-tests): make the project typecheckable and fix what that found (#8693) 2026-08-08 16:32:31 +00:00
chat-transcript-contract.test.ts feat(web-shell): add transcript contract prevalidation (#9388) 2026-08-19 14:13:12 +00:00
fake-openai-server.test.ts fix(test): Restore first-output benchmark measurement validity and correct its artifact schema (#7820) 2026-07-28 06:51:03 +00:00
fake-openai-server.ts feat(core): add ARMS session user ID (#7921) 2026-07-28 11:10:38 +00:00
globalSetup.ts refactor(core): make utils/ a leaf layer (#9778) 2026-08-24 07:43:01 +00:00
test-helper.test.ts fix(tests): avoid blocking integration test cleanup (#8688) 2026-08-08 02:17:17 +00:00
test-helper.ts fix(integration-tests): make the project typecheckable and fix what that found (#8693) 2026-08-08 16:32:31 +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: centralize cross-package contracts (#9497) 2026-08-20 06:24:41 +00:00
vitest.config.ts feat(web-shell): add transcript contract prevalidation (#9388) 2026-08-19 14:13:12 +00:00
vitest.firstoutput.config.ts fix(test): Restore first-output benchmark measurement validity and correct its artifact schema (#7820) 2026-07-28 06:51:03 +00: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