mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Restart code sandbox on crash in eval github workflow
This commit is contained in:
3
.github/workflows/run_evals.yml
vendored
3
.github/workflows/run_evals.yml
vendored
@@ -113,7 +113,8 @@ jobs:
|
|||||||
khoj --anonymous-mode --non-interactive &
|
khoj --anonymous-mode --non-interactive &
|
||||||
|
|
||||||
# Start code sandbox
|
# 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
|
# Wait for server to be ready
|
||||||
timeout=120
|
timeout=120
|
||||||
|
|||||||
Reference in New Issue
Block a user