HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push#10751
HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push#10751peterxcli wants to merge 2 commits into
Conversation
|
Thanks @peterxcli for raising this concern.
|
actually I'm not really sure what would happend(all manually or review on opening) if the copilot is enable and review_on_push is disable
so keep it to review on demand would be the consensus.
I also have no idea.
good point, added it back
ok, the original "[1/2]" means this is the patch for the same HDDS-15692 ticket which #10705 is the first PR of it. |
jojochuang
left a comment
There was a problem hiding this comment.
apache's explanation: https://github.com/apache/infrastructure-asfyaml#copilot_code_review which basically maps to:
Github's explanation: https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/configure-automatic-review
|
Disabling on new pushes, definitely makes sense. I just checked my github profile: https://github.com/settings/copilot/features and it has 1500 AI credits as budget. But now I have a doubt, like if it working for me only or for all, because I saw this written there If only people with GitHub Copilot pro can use this and everyone else will be getting messages like above Maybe we need to reconsider this & make it manual only, like one who has credits can leverage that. I am having this for free, not sure if ASF gave it or from where. I was under the assumption that it would be project credits or so. I am even not sure if it is using individual person's credit, then is it fair to use their automatically. Hopefully it isn't any violation of policy or so @jojochuang can you help check/confirm around this |
@adoroszlai can you check here if it shows all repositories, I am just guessing that maybe a reason |
What changes were proposed in this pull request?
#10705 was trying to add the auto copilot review request on PR open, but turn out the the copilot is eagerly giving review of every push(even the pr is draft), which is noisy and annoying.
Also disable the review on push because sometime you might just accidentally pushed a broken commit then a fix checkstyle/pmd commit, but now it's really possible your pr page has two batch of the copilot review on almost the same snapshot of the code/patch, which is a mass.
#10751 (review) is also the reason why need this change.
What is the link to the Apache JIRA
issues.apache.org/jira/browse/HDDS-15692
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests, workflow run on the fork git repo.)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this.)