fix(review): clear stale AR change requests after clean re-review #52
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review#52
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
PR #48 could not be merged even though the latest Auto Review run reported no blocking findings and both required status checks were green.
The merge blocker was stale Forgejo review state:
mainbranch protection hasblock_on_rejected_reviews=trueandblock_on_official_review_requests=true.auto-reviewas a requested reviewer.751REQUEST_CHANGESofficial: truestale: truedismissed: false753COMMENTofficial: falseAs a result, Forgejo continued to block merge despite the latest AR result and commit status being successful.
Expected behavior
When Auto Review re-runs on a newer head SHA and finds no blocking issues after a previous AR
REQUEST_CHANGES, it should clear its prior blocking review state. Acceptable behavior may be one of:APPROVEDreview for the latest head;REQUEST_CHANGESreview if Forgejo permits that via API;auto-reviewfrom requested reviewers once the clean review is posted;Observed evidence from PR #48
869e3677e9f89ea35e937609a1f76ec4831630batruesuccessCI / Nix flake check (pull_request)auto_reviewREQUEST_CHANGESremained active.Impact
Users can be unable to merge a PR after addressing all Auto Review findings unless they manually dismiss stale AR review state or clear requested reviewers. This makes clean re-reviews misleading and undermines the CI-triggered review workflow.