Roo-Code/packages/evals/src/cli
roomote[bot] c96b399dd7
feat: add configurable timeout for evals (5-10 min) (#5865)
* feat: add configurable timeout for evals (5-10 min)

- Add timeout field to CreateRun schema with min 5, max 10, default 5
- Add timeout slider UI component to /runs/new page
- Update database schema to include timeout column in runs table
- Create migration to add timeout column with default value of 5
- Update runTask.ts to use configurable timeout from run settings
- Pass timeout parameter through the createRun action

* fix: remove unused EVALS_TIMEOUT import

* fix: add timeout field to createRun calls in copyRun test

- Added timeout: 5 to both createRun calls in copyRun.spec.ts
- This fixes the test failure caused by the new required timeout field in the runs schema
- The timeout field was added in the configurable timeout feature but the test was not updated

* fix: use configurable timeout for Redis key expiration in registerRunner

- Updated registerRunner function to accept timeoutSeconds parameter
- Modified call in runTask.ts to pass configurable timeout instead of hardcoded EVALS_TIMEOUT
- Removed unused EVALS_TIMEOUT import from redis.ts
- Ensures Redis keys remain valid for the entire duration of task execution (up to 10 minutes)

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: hannesrudolph <hrudolph@gmail.com>
2025-07-19 22:20:23 -04:00
..
index.ts GHA evals (#4472) 2025-06-10 11:01:54 -07:00
redis.ts feat: add configurable timeout for evals (5-10 min) (#5865) 2025-07-19 22:20:23 -04:00
runCi.ts GHA evals (#4472) 2025-06-10 11:01:54 -07:00
runEvals.ts Minor fixes for local (non-Docker) evals (#5604) 2025-07-11 12:15:21 -07:00
runTask.ts feat: add configurable timeout for evals (5-10 min) (#5865) 2025-07-19 22:20:23 -04:00
runUnitTest.ts GHA evals (#4472) 2025-06-10 11:01:54 -07:00
utils.ts GHA evals (#4472) 2025-06-10 11:01:54 -07:00