Thanks for working on Bencher!
We have bencher running on our PRs, and it posts a PR comment with the result. But unfortunately we have a couple of issues with PR comments:
- A PR comment with active alerts won't block merging the PR. GitHub checks do.
- On large PRs with many comments/review rounds, that comment (and any alerts) are less visible/can be missed. A failed check (because of alerts) is highly visible.
- We have a lot of benchmarks, so we end up with
⚠️ WARNING: Truncated view! The full continuous benchmarking report exceeds the maximum length allowed on this platform.
The documentation mentions posting to GitHub Checks, which would work perfectly for us. But looking at the code, it seems to be a fallback only if bencher is not able to post a comment to the PR.
Is there currently a way to override this behavior, and explicitly switch to GitHub checks instead?
If not, any thoughts/concerns on adding a flag like this? i.e. something like --github-checks
Thanks for working on Bencher!
We have bencher running on our PRs, and it posts a PR comment with the result. But unfortunately we have a couple of issues with PR comments:
⚠️ WARNING: Truncated view! The full continuous benchmarking report exceeds the maximum length allowed on this platform.The documentation mentions posting to GitHub Checks, which would work perfectly for us. But looking at the code, it seems to be a fallback only if bencher is not able to post a comment to the PR.
Is there currently a way to override this behavior, and explicitly switch to GitHub checks instead?
If not, any thoughts/concerns on adding a flag like this? i.e. something like
--github-checks