coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.55k stars 297 forks source link

Add ability to disable the summary #271

Closed xSAVIKx closed 1 year ago

xSAVIKx commented 1 year ago

Hey, thx for the awesome GH action.

We have a use case where we don't really want the summary but want only the per-file review. It'd be great to be able to disable the summary with an option.

harjotgill commented 1 year ago

This is going to be tricky in the current implementation.

The summary comment has hidden state (within markdown comment blocks) to track -

  1. Commit Ids reviewed so far
  2. Raw summary for incremental reviews
  3. Short summary for interactive chat with the bot and file reviews

In addition, summary stage classifies trivial changes and skips review if needed.

xSAVIKx commented 1 year ago

Is it maybe possible to add an option to hide the whole comment under a summary/details block?

Also, just as an idea, I know GH actions/apps use Wiki pages to store their state when smth like you mentioned is done, maybe that can be an option?

harjotgill commented 1 year ago

That can be done but personally I won't have cycles to implement this. Reopening this issue in case you (or someone else) wants to implement this feature.

harjotgill commented 1 year ago

This can't be done in the current design. Closing ticket.