Skip to content
Discussion options

You must be logged in to vote

You are not missing anything: /review has no per commit mode. It always reviews a diff of the MR, either the whole thing or, with -i, the commits added since the last review. There is no option that walks the commits one by one and reviews each diff against its own message.

What exists today:

1. Incremental review: /review -i

-i is parsed in PRReviewer.parse_incremental. On GitLab, get_incremental_commits finds the previous review note and limits the diff to commits pushed after it (gitlab_provider.py#L820-L860). If no earlier review exists, it falls back to a full review. Tuning knobs are under [pr_reviewer] (minimal_commits_for_incremental_review, minimal_minutes_for_incremental_review, r…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Hi-Angel
Comment options

@abhiramshaji-cyber
Comment options

@Hi-Angel
Comment options

@abhiramshaji-cyber
Comment options

Answer selected by Hi-Angel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants