← Back to Pull requests

GH-52357: [CI] Disable automatic GitHub Copilot reviews #55736

Closed
unknown closed this pull request without merging on Nov 25, 2026 02:49 UTC
View on GitHub
unknown unknown commented on Nov 23, 2026 14:50 UTC
Author

Automatic Copilot reviews consume the pull request author's Copilot quota. Disable them so that Copilot reviews are only requested explicitly by maintainers.

What changes are included in this PR?

Set github.copilot_code_review.enabled to false in .asf.yaml. This disables the Copilot Code Review repository ruleset that ASF infra manages for us.
Remove the review_drafts and review_on_push options, which no longer matter once the feature is disabled.
Add a comment explaining why the feature is off and pointing to this issue.

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

Are these changes tested?

No. The .asf.yaml configuration is applied by ASF infrastructure only after the change is merged to main. I did check that the file still parses as valid YAML.

Are there any user-facing changes?

No for users of Arrow. Contributors will stop getting automatic Copilot reviews on their pull requests (and stop being charged for them). Maintainers can still request one manually.

Was AI used for this PR?

In accordance to the AI generation guidelines, please disclose below whether and how AI was used in this PR.

PR code and description written by:

  • Human

  • AI
  • Reviewed before submission by:

  • Human

  • AI

  • Not reviewed
  • GitHub Issue: #52357

    Diff: 179 lines (+134 / -45) across 2 files Reviewer: Sumdiboii Review duration: 2159m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.41) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 179 lines diff across 2 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.311
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #55736"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.5% (MEDIUM) · Higher = larger blast radius
    40.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16% · Safe to merge
    16%
    Repository