mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 10:37:11 +00:00
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
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:
parent
12c976dcb2
commit
2db7a1ca6b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/run_evals.yml
vendored
2
.github/workflows/run_evals.yml
vendored
|
@ -114,7 +114,7 @@ jobs:
|
||||||
|
|
||||||
# Start code sandbox
|
# Start code sandbox
|
||||||
npm install -g pm2
|
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
|
# Wait for server to be ready
|
||||||
timeout=120
|
timeout=120
|
||||||
|
|
Loading…
Reference in a new issue