Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to fail on empty results #41

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

ngehrsitz
Copy link
Contributor

Description of changes:
I am running cob as part of a CI pipeline and we encountered the issue that our benchmarks sometimes produced malformed logs that could not be parsed. But since these logs did not contain any results and thus no slowdowns cob failed quietly and the pipeline did not get blocked.
To prevent such issues I added the -fail-without-results flag which will cause it to error out in such cases. I would even argue that this could be the default, but that would then be a breaking change.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@knqyf263 knqyf263 merged commit b3c7ff1 into knqyf263:master Oct 26, 2023
@ngehrsitz
Copy link
Contributor Author

Thanks! Could you please tag v0.0.8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants