github-codebuild-logs icon indicating copy to clipboard operation
github-codebuild-logs copied to clipboard

Change `DeletePreviousComment` to an int

Open msaroufim opened this issue 3 years ago • 0 comments

Context

Hi I'm one of the maintainers of torchserve at PyTorch which we comaintain with AWS and we use codebuild and your bot to be able to share with community members issues with their PRs. We can't share the codebuild links directly since they're internal to AWS.

When we run our CI we need to pass on both linux-cpu, linux-gpu and windows so there's a total 3 of comments that need to show and not just 1

https://github.com/pytorch/serve/pulls

Problem

However often our CI is flaky or it takes a few commits for people to get their PR right so we end up with with dozens of comments from a bot which drown out the useful comments like reviews. And we can't set DeletePreviousComment because we need 3 comments to show at a time at a minimum from each of the distributions

Proposed solution

So if we could instead the number of previous comments to be something like 3 or 6 it makes the discussions on github PRs much more readable.

Screen Shot 2022-02-18 at 2 18 25 PM

msaroufim avatar Feb 18 '22 22:02 msaroufim