Skip to content

Commit

Permalink
Restart code sandbox on crash in eval github workflow (#1007)
Browse files Browse the repository at this point in the history
See
khoj-ai/terrarium@e3fed37
for corresponding change to use pm2 to auto-restart code sandbox
  • Loading branch information
debanjum authored Dec 12, 2024
1 parent 12c976d commit 2db7a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_evals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
# Start code sandbox
npm install -g pm2
pm2 start src/index.ts --interpreter ts-node --exp-backoff-restart-delay=100 --name sandbox --cwd terrarium
npm run ci --prefix terrarium
# Wait for server to be ready
timeout=120
Expand Down

0 comments on commit 2db7a1c

Please sign in to comment.