Regression in force:source:push
failure JSON output; status
is zero when exitCode
is non-zero
#2079
Labels
breaking change
Pull request breaks existing functionality and can be merged only into a major version
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
regression
Issue that regresses existing functionality
I've had a few IC2 users reporting situations where
force:source:push
has actually failed but is being reported as successful by IC2. After digging in a bit, this seems to be because the JSON output now specifies astatus
value of0
whenexitCode
is non-zero, e.g.:In the past,
status
has been reliably non-zero on failure. Is this an expected/intentional change? I can (and likely will) update IC2 to use all of the available information to determine success vs. failure, butstatus
has been a reliable indicator pretty much all along until very recently, so my guess is that this is an unintentional/accidental regression.The text was updated successfully, but these errors were encountered: