gh-128231: Use runcode() return value for failing early
#129488
Merged
runcode() return value for failing early
#129488