Skip to content

GH-50022: [Dev] Enable auto GitHub Copilot review#50023

Merged
raulcd merged 1 commit into
apache:mainfrom
kou:dev-enable-auto-github-copilot-review
May 25, 2026
Merged

GH-50022: [Dev] Enable auto GitHub Copilot review#50023
raulcd merged 1 commit into
apache:mainfrom
kou:dev-enable-auto-github-copilot-review

Conversation

@kou
Copy link
Copy Markdown
Member

@kou kou commented May 22, 2026

Rationale for this change

GitHub Copilot may reduce required review resource by committers.

What changes are included in this PR?

Add a configuration to .asf.yaml.

See also: https://github.com/apache/infrastructure-asfyaml#copilot_code_review

Are these changes tested?

No.

Are there any user-facing changes?

No.

@kou kou requested a review from assignUser as a code owner May 22, 2026 22:07
Copilot AI review requested due to automatic review settings May 22, 2026 22:07
@kou kou requested a review from raulcd as a code owner May 22, 2026 22:07
@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #50022 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label May 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Enables automated GitHub Copilot code review for this repository via the ASF .asf.yaml GitHub integration configuration, aligning with the ASF asfyaml copilot_code_review feature referenced in GH-50022.

Changes:

  • Add github.copilot_code_review configuration with enabled: true.
  • Enable reviewing draft PRs (review_drafts: true) and reviewing on push (review_on_push: true).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

From my understanding this will review all PRs without asking for it now, right? We can try it and see whether it helps.

@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels May 25, 2026
@kou
Copy link
Copy Markdown
Member Author

kou commented May 25, 2026

Right.

@raulcd raulcd merged commit 4ea1ad2 into apache:main May 25, 2026
10 checks passed
@raulcd raulcd removed the awaiting merge Awaiting merge label May 25, 2026
@AlenkaF
Copy link
Copy Markdown
Member

AlenkaF commented May 25, 2026

Some feedback that might be useful:

  • I suggest we share the new auto review setup via Zulip (I bugged @raulcd when a PR of mine got reviewed as I missed this change)
  • I appreciate the gesture to help us with the maintenance burden! I think for lots of PRs that are waiting to get reviewed this is quite helpful.
  • On the other hand this feels too noisy for me. I would suggest turning off the auto AI review on draft PRs. Also, is there a possibility that the AI review is not triggered on every commit? Not sure how that would work, but I tend to split my changes into multiple commits for visibility reasons.
  • Is there any option of making the review less verbose? 😊

I am not against per se, but will need to get used to :)

@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 4ea1ad2.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

@kou kou deleted the dev-enable-auto-github-copilot-review branch May 25, 2026 20:13
@kou
Copy link
Copy Markdown
Member Author

kou commented May 25, 2026

Sorry for not announcing this configuration widely!

I've started a discussion thread for this on dev@ (not Zulip) for broader visibility: https://lists.apache.org/thread/thq0dz19shxbrjypb81q5ltx8h0w54ob

Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
### Rationale for this change

GitHub Copilot may reduce required review resource by committers.

### What changes are included in this PR?

Add a configuration to `.asf.yaml`.

See also: https://github.com/apache/infrastructure-asfyaml#copilot_code_review

### Are these changes tested?

No.

### Are there any user-facing changes?

No.
* GitHub Issue: apache#50022

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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.

4 participants