k6-docs
k6-docs copied to clipboard
Document k6 CLI exit codes
Related to: https://github.com/grafana/k6/issues/2804, https://github.com/grafana/k6/issues/870.
We have the k6 Cloud test status codes documented, but not the CLI exit codes.
Looking at https://github.com/grafana/k6/issues/2804, I think our specific use case is special in that we want to remove the possibility for certain types of failures e.g. threshold.
When running a smoke test, we're doing a single iteration and need to get as close to pass/fail as possible.
@jalevin I see. 🤔 I'm gonna keep this issue open to just focus on documenting the exit codes, but maybe it's worth opening a separate issue in the k6 repo for your use case to discuss this with the broader k6 team?