mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 10:37:11 +00:00
Restart code sandbox on crash in eval github workflow
This commit is contained in:
parent
01bc6d35dc
commit
9eb863e964
1 changed files with 2 additions and 1 deletions
3
.github/workflows/run_evals.yml
vendored
3
.github/workflows/run_evals.yml
vendored
|
@ -113,7 +113,8 @@ jobs:
|
|||
khoj --anonymous-mode --non-interactive &
|
||||
|
||||
# Start code sandbox
|
||||
npm run dev --prefix terrarium &
|
||||
npm install -g pm2
|
||||
pm2 start src/index.ts --interpreter ts-node --exp-backoff-restart-delay=100 --name sandbox --cwd terrarium
|
||||
|
||||
# Wait for server to be ready
|
||||
timeout=120
|
||||
|
|
Loading…
Reference in a new issue