GH-55475: [Dev] Use merge button instead of merge script #55484
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 368 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.354
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #55484"
general
weight: 0.35
Reranko05
Rationale for this change
Committers currently need a GitHub personal access token and
dev/merge_arrow_pr.pyto merge pull requests. This change lets committers use GitHub's "Squash and merge" button directly while preserving automatic issue closure, milestone tracking, and release-note committer counts.What changes are included in this PR?
Automatic issue closure with partial-fix opt-out (
.github/boring-cyborg.yml,.github/pull_request_template.md): For PRs targetingmain, Boring Cyborg populatesGitHub Issue: Closes #XXX so GitHub natively closes and links the issue on merge. ChangingClosestoRefskeeps the issue open for partial fixes and is preserved by the bot. The non-blocking "PR Title" check no longer acceptsWIP:prefixes, and the template guidance lives inside the placeholder so nothing leaks into squash commit messages.Self-healing milestone assignment from the commit graph (
dev/archery/archery/release/,.github/workflows/dev_update_milestones.yml): Addsarchery release update-milestonesand runs it every 6 hours (plusworkflow_dispatch) to set milestones on closed, unmilestoned issues referenced byGH-XXXcommits since the last major release tag. Milestones are chosen from branch membership (maint-X.0.0vs. the next open major release), existing milestones are never overwritten, and missed cases (such as[skip ci]commits or manually closed issues) recover automatically.GitHub-based patch committer counting (
dev/archery/archery/release/,dev/archery/setup.py,dev/release/post-04-website.sh): Addsarchery release committersto count merged PRs via GitHub GraphQL instead ofSigned-off-by:commit trailers, and updatespost-04-website.shto loadGH_TOKENviautils-env.shand use it.Developer and release documentation (
dev/README.md,docs/source/developers/): Documents merging with the GitHub button, theCloses/Refsconvention, the scheduled milestone workflow, and runningarchery release update-milestonesbefore curating a release.dev/merge_arrow_pr.pyremains unchanged and usable during the transition.Are these changes tested?
Added unit tests in
dev/archery/archery/release/tests/test_release.pycoveringcount_committersandupdate_milestones(maintenance branch cuts, cherry-picks, partial-to-closing spans,NOT_PLANNED/open/existing-milestone/PR/NOT_FOUNDhandling,dry_run, and missing next major milestone).Verified both new Archery commands live against
apache/arrow(archery release update-milestones --dry-runandarchery release committers).Verified
dev/archerytests, linters, docs build, and release tests in CI.Are there any user-facing changes?
No.
Was AI used for this PR?
PR code and description written by:
Reviewed before submission by: