From 2db7a1ca6b6d73d8ff4f6259e2282e565bbe5f99 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Thu, 12 Dec 2024 14:32:03 -0800 Subject: [PATCH] Restart code sandbox on crash in eval github workflow (#1007) See https://github.com/khoj-ai/terrarium/commit/e3fed3750b4c9a766b2231bfc8c57a751ad0bd44 for corresponding change to use pm2 to auto-restart code sandbox --- .github/workflows/run_evals.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_evals.yml b/.github/workflows/run_evals.yml index c3a2da09..836d03b1 100644 --- a/.github/workflows/run_evals.yml +++ b/.github/workflows/run_evals.yml @@ -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