Skip to content

HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push#10751

Open
peterxcli wants to merge 2 commits into
apache:masterfrom
peterxcli:infra/turn-auto-copilot-review-off
Open

HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push#10751
peterxcli wants to merge 2 commits into
apache:masterfrom
peterxcli:infra/turn-auto-copilot-review-off

Conversation

@peterxcli

@peterxcli peterxcli commented Jul 14, 2026

Copy link
Copy Markdown
Member

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.)

Copilot AI review requested due to automatic review settings July 14, 2026 04:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @peterxcli for raising this concern.

@peterxcli peterxcli changed the title HDDS-15692. Enable GitHub Copilot code review [1/2] HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push [1/2] Jul 14, 2026
@peterxcli peterxcli changed the title HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push [1/2] HDDS-15692. Keep GitHub Copilot code review enable but disable review_on_push Jul 14, 2026
Copilot AI review requested due to automatic review settings July 14, 2026 07:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@peterxcli

Copy link
Copy Markdown
Member Author

If we remove review_on_push: true, we get initial review, but need to request follow-up manually. Why not make all reviews manual in that case?

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

I also find copilot review annoying, so I would be totally fine removing it completely. But others find it useful and discussed using it.

so keep it to review on demand would be the consensus.

I did not get any copilot review on my PRs (#10730, #10738, #10739). Not sure why, maybe it needs to be enabled in personal settings?

I also have no idea.

In any case, we should keep review_drafts: true, to avoid unnecessary CI.

good point, added it back

Please make sure to reflect the change in the title. Also, what does [1/2] mean?

ok, the original "[1/2]" means this is the patch for the same HDDS-15692 ticket which #10705 is the first PR of it.

@peterxcli
peterxcli requested a review from adoroszlai July 14, 2026 07:15
@adoroszlai
adoroszlai requested review from ayushtkn and smengcl July 14, 2026 09:26

@jojochuang jojochuang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ayushtkn

Copy link
Copy Markdown
Member

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

GitHub Copilot Pro is active for your account

If only people with GitHub Copilot pro can use this and everyone else will be getting messages like above

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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

@ayushtkn

Copy link
Copy Markdown
Member

Not sure why, maybe it needs to be enabled in personal settings?

@adoroszlai can you check here if it shows all repositories, I am just guessing that maybe a reason
https://github.com/settings/copilot/coding_agent

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.

5 participants