Skip to content

feat: request review from original author on manual backports - #421

Merged
dsanders11 merged 2 commits into
mainfrom
manual-backport-review-request
Aug 19, 2026
Merged

feat: request review from original author on manual backports#421
dsanders11 merged 2 commits into
mainfrom
manual-backport-review-request

Conversation

@claude

@claude claude Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Requested by David Sanders · Slack thread

Before: when a maintainer manually backports a PR on behalf of someone else, the original PR's author is not requested for review on the backport PR — only the default backport review team is tagged.

After: the original PR's author is also requested for review on manual backports, when they have write access to the repo — matching what trop already does for automatic backports.

How: updateManualBackport already fetches the original PR when a new manual backport is opened, so its call to tagBackportReviewers now passes the original PR author's login as user, the same way the automatic backport path does. tagBackportReviewers already guards on checkUserHasWriteAccess, so authors without write access are still skipped. Since GitHub rejects requesting a review from a PR's own author, the author is not passed when they opened the manual backport themselves.


Generated by Claude Code

@dsanders11
dsanders11 marked this pull request as ready for review August 18, 2026 23:02
@dsanders11
dsanders11 requested a review from a team as a code owner August 18, 2026 23:02
@dsanders11
dsanders11 merged commit 7ca2f22 into main Aug 19, 2026
6 checks passed
@dsanders11
dsanders11 deleted the manual-backport-review-request branch August 19, 2026 00:22
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.

3 participants