Roo-Code/apps/web-evals/src
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
..
actions feat: add configurable timeout for evals (5-10 min) (#5865) 2025-07-19 22:20:23 -04:00
app feat: add configurable timeout for evals (5-10 min) (#5865) 2025-07-19 22:20:23 -04:00
components Move to Postgres for evals on roocode.com (#4520) 2025-06-11 14:17:53 -07:00
hooks Move to Postgres for evals on roocode.com (#4520) 2025-06-11 14:17:53 -07:00
lib feat: add configurable timeout for evals (5-10 min) (#5865) 2025-07-19 22:20:23 -04:00