Describe the bug
If an error happens deploying metadata using the deploy task and rest_deploy option, the task prints the error but then reports success and the flow (and metadeploy plan) happily continue.
This is because the Rest_Deploy.py class that handles it never throws errors for any reason, it catches and prints the error, but then returns success.
Reproduction steps
- Have a deploy task with rest_deploy: True
- Deploy source that will fail to deploy for any reason
- EXPECTED: task to fail and return with an error code
- ACTUAL: task reports success despite printing the error and flow or script will continue thinking it succeeded.
Your CumulusCI and Python versions
CumulusCI version: 4.6.0 (/usr/local/bin/cci)
Python version: 3.13.5 (/opt/pipx/venvs/cumulusci/bin/python)
Operating System
macOS 26.2
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response
Describe the bug
If an error happens deploying metadata using the deploy task and rest_deploy option, the task prints the error but then reports success and the flow (and metadeploy plan) happily continue.
This is because the Rest_Deploy.py class that handles it never throws errors for any reason, it catches and prints the error, but then returns success.
Reproduction steps
Your CumulusCI and Python versions
CumulusCI version: 4.6.0 (/usr/local/bin/cci)
Python version: 3.13.5 (/opt/pipx/venvs/cumulusci/bin/python)
Operating System
macOS 26.2
Windows environment
No response
CumulusCI installation method
pipx
Error Gist
No response
Additional information
No response