Fix incremental compare-diff request for CI-triggered reviews #71
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review#71
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
CI-triggered reviews are now reaching
POST /reviews/ci, but the orchestrator logs show incremental compare-diff lookup failing before falling back to the full PR diff:The fallback lets the review complete, but it defeats incremental review efficiency and creates noisy logs.
Expected behavior
When both previous and current review SHAs are valid PR head commits, incremental compare-diff should fetch the relevant diff without falling back.
Direction
Investigate how
ar-orchestratorbuilds the Forgejo compare-diff request for incremental reviews. Verify whether it is using an invalid Forgejo compare API shape, wrong owner/repo context, raw.diffpath construction, or a head/base ordering issue.Acceptance
Notes
Observed while validating PR #70 / issue #43. Review still posted successfully via fallback (
review_id=796,findings=1).