From 7e62efbc6fb687f52bb4e1c1e628cd427f761a97 Mon Sep 17 00:00:00 2001 From: Rafaela Soares Date: Thu, 19 Mar 2026 13:09:08 +0000 Subject: [PATCH] config: enable CodeRabbit Multi-Repo Analysis --- .coderabbit.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000..327ea035 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,12 @@ +inheritance: true +knowledge_base: + linked_repositories: + - repository: 'codeready-toolchain/toolchain-common' + instructions: > + toolchain-common contains shared controllers, utilities, and libraries used by registration-service. + + When reviewing registration-service changes: + - Check if registration-service is using deprecated or outdated patterns from toolchain-common when newer/better utilities exist. + - Verify behavioral assumptions — if registration-service expects specific return values or side effects from toolchain-common functions, check if that behavior is actually implemented. + - If registration-service duplicates logic that already exists in toolchain-common (pkg/cluster, pkg/condition, pkg/configuration, pkg/status), suggest using the shared implementation instead. + - Flag if registration-service is making assumptions about toolchain-common's internal state or behavior that isn't documented or guaranteed.