-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Labels
Description
What happened?
Problem
If process-compose is configured with is_strict: true
and there is an issue in the process-compose.yaml
file, devbox services up
will fail to run, returning "exit status 1". However if you run the same file with process-compose up
you will get a helpful error message on why process-compose is refusing to run.
Suggestion
Devbox should propagate this helpful error message from process-compose to the user.
Steps to reproduce
devbox init
echo 'version: "0.5"
is_strict: true
processes:
foo:
commnad: echo "Hello, world!"
' > process-compose.yaml
devbox services up
- Here we can see the error message is not propagated
devbox add process-compose@1.24.2 # the version currently used by devbox
devbox run process-compose up
- Here we can see a helpful output from process-compose containing
FTL Failed to load project error="unknown key 'commnad' found in process 'foo'"
Command
services
devbox.json
Devbox version
0.14.0
Nix version
nix (Nix) 2.24.10
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response