Restart code sandbox on crash in eval github workflow (#1007)
Some checks failed
dockerize / Publish Khoj Docker Images (push) Has been cancelled
build and deploy github pages for documentation / deploy (push) Has been cancelled
pre-commit / Setup Application and Lint (push) Has been cancelled
pypi / Publish Python Package to PyPI (push) Has been cancelled
test / Run Tests (push) Has been cancelled
dockerize / manifest (push) Has been cancelled

See
e3fed3750b
for corresponding change to use pm2 to auto-restart code sandbox
This commit is contained in:
Debanjum 2024-12-12 14:32:03 -08:00 committed by GitHub
parent 12c976dcb2
commit 2db7a1ca6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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