Restart code sandbox on crash in eval github workflow

This commit is contained in:
Debanjum 2024-12-12 11:28:54 -08:00
parent 01bc6d35dc
commit 9eb863e964

View file

@ -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