#It seems to me learnings has no effect

1 messages · Page 1 of 1 (latest)

keen heron
#

I have different learnings with similar meanings, like this:
"Error handling with try-catch blocks is not required in Angular spec (test) files in this codebase."
And still get suggestions to use try-catch blocks.

Why is that?

shut cosmos
#

The learnings are only effective if there is a good similarity match with code being reviewed.

In this case, the path instructions would be a better fit. You can add those in the configuration, and that context will be used in every review.

lilac sparrow
#

@keen heron try to ask coderabbit to create path_instructions to you, based on your codebase

I made it on my repos and it's awesome!

#

example

stoic vale
#

very nice... If this could be an automated weekly PR by coderabbit itself..

exotic saddle
#

@stoic vale you mean automated PR to update the path instructions?