mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-07 07:45:54 +00:00
* feat(cron): add deterministic test seam for cron-interactive E2E Add forceFireJob(id) method and QWEN_CODE_TEST_CRON_FAST env var to CronScheduler. When enabled, newly created session-only jobs auto-fire after 5s (configurable via QWEN_CODE_TEST_CRON_DELAY_MS) instead of waiting up to 60s for the wall-clock minute boundary. This removes the timing-flakiness from cron-interactive.test.ts without changing any production behavior (seam is env-gated and inactive by default). Refs #6982 * test(cron): use QWEN_CODE_TEST_CRON_FAST seam, reduce timeouts to 30s Enable the CronScheduler test seam in cron-interactive tests via QWEN_CODE_TEST_CRON_FAST=1 in makeEnv(). This makes newly created cron jobs auto-fire after 5s instead of waiting for the wall-clock minute boundary. Reduce all waitForScreen timeouts from 90s to 30s since the fire is now deterministic (~5s after job creation + model round-trip). Refs #6982 |
||
|---|---|---|
| .. | ||
| context-compress-interactive.test.ts | ||
| cron-interactive.test.ts | ||
| ctrl-c-exit.test.ts | ||
| file-system-interactive.test.ts | ||
| hooks-command.test.ts | ||
| interactive-session.ts | ||
| mixed-input-crash.test.ts | ||
| protocol-tags-interactive.test.ts | ||