Problem:
During running setup.py, in case there is an Exception in MongoDBBinaryStep: the current script stops executing immediately.
Same goes for TestStep which runs pnpm -C backend run test:ci command for running backend tests.
The backend tests always fail (see below image). But these errors do not occur during runtime. Also the setup shouldn't exit because these steps failed.
Importance of setup.py: This script is essential for getting started with development of ViBe. It installs node, npm, pnpm, firebase tools, configures .env file, installs critical project packages. Hence, the setup must run all the steps and should not exit due to TestSteps or MongoDBBinaryStep errors.
Steps to reproduce:
- Open terminal in root directory of repo.
- Delete old .vibe.json
- Run the setup script:
- Observe that setup.py exits after
pnpm -C backend test:ci step and prints ❌ Tests failed. Please fix and re-run the setup.
Expected Behaviour
If MongoDBBinaryStep or TestStep produced errors, the setup should continue with further steps and at the end should show warnings the user regarding the failed steps.
Actual behaviour
The TestStep step produces error output and setup exits immediately.
Image of setup.py output:
Environment
OS: Ubuntu 24.04.2 LTS
Command run: python setup.py
Python version: 3.12.3
Node version: v20.20.1
pnpm version: 10.12.1
I am currently working on a fix for this issue so please assign this issue to me.
Problem:
During running setup.py, in case there is an Exception in MongoDBBinaryStep: the current script stops executing immediately.
Same goes for TestStep which runs
pnpm -C backend run test:cicommand for running backend tests.The backend tests always fail (see below image). But these errors do not occur during runtime. Also the setup shouldn't exit because these steps failed.
Importance of setup.py: This script is essential for getting started with development of ViBe. It installs node, npm, pnpm, firebase tools, configures .env file, installs critical project packages. Hence, the setup must run all the steps and should not exit due to TestSteps or MongoDBBinaryStep errors.
Steps to reproduce:
pnpm -C backend test:cistep and prints❌ Tests failed. Please fix and re-run the setup.Expected Behaviour
If MongoDBBinaryStep or TestStep produced errors, the setup should continue with further steps and at the end should show warnings the user regarding the failed steps.
Actual behaviour
The TestStep step produces error output and setup exits immediately.
Image of setup.py output:
Environment
I am currently working on a fix for this issue so please assign this issue to me.