Cloud goes down (plenty of 503 errors in all deployments) if using scheduleCommand in saga
Opened this issue · 0 comments
To Reproduce
Steps to reproduce the behavior:
Clone the TestCafe Dashboard from master
Execute
npm install
npm ci
set SCRIPT_BUNDLE_NAME=index.js
yarn resolve-cloud deploy -n saga-bug1 -c cloud-dev
yarn resolve-cloud environment set DEPLOY_ID1 JWT_SECRET=SOMESECRET
clone some big event store (11kk events) and link it to DEPLOY_ID1
add task-termination saga in cloud.app.ts file
yarn resolve-cloud deploy -n saga-bug2 -c cloud-dev
yarn resolve-cloud environment set DEPLOY_ID2 JWT_SECRET=SOMESECRET
link event-store to DEPLOY_ID2
reset sagas and read-models for both deploys
open DEPLOY_ID1.resolve.sh, login, create project, run some tests with testcafe dashboard
Expected behavior
Cloud is working.
Desktop (please complete the following information):
ReSolve Version 0.33.4
Please ask @pavsenin or @aleks-pro if you need any additional details.