Handle review requests from Forgejo #49
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Branch protection can block merges while
auto-reviewremains an outstanding requested reviewer. Today the gateway/orchestrator does not treat Forgejo review-request events as a review trigger, so requesting review fromauto-reviewcan leave a PR waiting even when CI and theauto_reviewstatus are green.Observed on PR #48: Forgejo showed
REQUEST_REVIEW by @auto-review; statuses were successful, but the PR was still not ready to merge because branch protection hasblock_on_official_review_requestsenabled.Desired behavior
When
auto-reviewis requested as a reviewer on a PR, auto_review should respond instead of leaving the request pending.Acceptance criteria
auto-reviewenqueues a semantic review job for the current PR head, or otherwise performs an explicit supported response that clears the pending reviewer state.Notes
Existing trigger paths are
pull_requestopened/synchronized/reopened, issue-comment chat mentions, and the new CI endpoint in PR #48. Review-request events are not currently handled.