Skip to content

Commit 23e81e2

Browse files
authored
config: enable CodeRabbit Multi-Repo Analysis (#521)
* enable CodeRabbit Multi-Repo Analysis * improve * clean
1 parent 52d9242 commit 23e81e2

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
inheritance: true
2+
knowledge_base:
3+
linked_repositories:
4+
- repository: 'codeready-toolchain/api'
5+
instructions: >
6+
api contains the shared API types consumed by toolchain-common.
7+
8+
When reviewing toolchain-common changes:
9+
- Check if toolchain-common is using deprecated or outdated fields or types from api - suggest migrating to the recommended alternatives.
10+
- Verify assumptions — if toolchain-common expects specific constants (condition types, reasons, labels) or type structures from api, check if those match the actual api definitions.
11+
- If toolchain-common duplicates constants or type definitions that already exist in api, suggest using the api definitions instead.
12+
- Flag if toolchain-common is making assumptions about api's internal state or behavior that isn't documented or guaranteed.
13+
- Check if changes in toolchain-common (especially in pkg/cluster, pkg/condition, pkg/configuration, pkg/status) align with api patterns and conventions.
14+

0 commit comments

Comments
 (0)