-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Make PR comments more customizable #28
Comments
I agree on these features. Reusing the comment on a very active PR means that you will find test results at the very top of the PR page, or is the comment moving down when edited by codecov? |
Yes, unfortunately the comment is staying on the very top in codecov. I still like this better than having dozens of bot comments across the PR. Maybe automatically deleting the old comment could be an option? But I guess this would show delete messages like the one below and it would probably notify everyone who subscribed to the PR. If that were possible, codecov would have probably implemented it. Edit: Maybe the best way would be to add these options:
Choosing last option would make the comment always stay at the bottom but disable double posts by the bot and make it only comment again if someone else commented the PR since the last test. |
I agree with option 1. and 2. What about this alternative to option 3. as the default: Currently, when a branch gets rebased and commits are no longer part of the branch, then the bot hides all test results for those commits. For an example, see horovod/horovod#2373. This behaviour could be extended to always hide earlier comments. On your 3. option: Since every commit will make the latest result comment move upward, it might eventually move out of sight. And an active PR involves review comments. So I see the third option a niche where it will almost always comment anyway. I think hiding is the best option to make it less polluted. What do you think? Deleting is not an option as you pointed out, as it does leave a hint about the deleted comment. So this does not clean up the PR. |
I agree, third option to stay the latest comment makes sense. I will create three separate issue to track them individually. Thanks for the ideas and discussion, this is a really great improvement. |
I really like the feature to have the test results in PR comments. However I think these comments can get out of hand on very active PRs.
I would really like to see an option to make the bot only comment once and edit the comment for every new test run like the codecov bot does. This way active PRs wouldn't be full of bot comments.
PR comments should probably also be optional and one should be able to turn them off in the GitHub workflow. I couldn't find anything like this in the readme.
The text was updated successfully, but these errors were encountered: