-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
166 lines (157 loc) · 5.86 KB
/
.coderabbit.yaml
File metadata and controls
166 lines (157 loc) · 5.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# CodeRabbit Configuration
# Full reference: https://docs.coderabbit.ai/reference/configuration
# ---------------------------------------------------------------------------
# General
# ---------------------------------------------------------------------------
language: en-US
tone_instructions: "Act as senior engineer: professional, constructive feedback only. Serious about runbook accuracy, alert verification, and dashboard quality. Flag issues with file/line references. End positively."
early_access: false
enable_free_tier: true
# ---------------------------------------------------------------------------
# Reviews > General
# ---------------------------------------------------------------------------
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: false
high_level_summary_in_walkthrough: false
auto_title_placeholder: ""
review_status: false
review_details: false
commit_status: false
fail_commit_status: false
collapse_walkthrough: true
changed_files_summary: false
sequence_diagrams: false
estimate_code_review_effort: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: false
auto_apply_labels: false
suggested_reviewers: false
auto_assign_reviewers: false
in_progress_fortune: false
poem: false
enable_prompt_for_ai_agents: true
path_filters:
- "!**/vendor/**"
path_instructions:
- path: "docs/runbooks/**"
instructions: "Follow docs/review_guidelines/runbooks.md"
- path: "docs/**"
instructions: "Follow docs/review_guidelines/docs.md"
- path: "dashboards/**"
instructions: "Follow docs/review_guidelines/dashboards.md"
abort_on_close: true
disable_cache: false
slop_detection:
enabled: false
# ---------------------------------------------------------------------------
# Reviews > Auto Review
# ---------------------------------------------------------------------------
auto_review:
enabled: true
auto_incremental_review: true
auto_pause_after_reviewed_commits: 10
ignore_title_keywords:
- "WIP"
labels:
- "!do-not-merge/work-in-progress"
drafts: false
# ---------------------------------------------------------------------------
# Reviews > Finishing Touches
# ---------------------------------------------------------------------------
finishing_touches:
docstrings:
enabled: false
unit_tests:
enabled: false
simplify:
enabled: false
# ---------------------------------------------------------------------------
# Reviews > Pre-merge Checks
# ---------------------------------------------------------------------------
pre_merge_checks:
override_requested_reviewers_only: false
docstrings:
mode: "off"
title:
mode: "off"
description:
mode: "off"
issue_assessment:
mode: "off"
# ---------------------------------------------------------------------------
# Review Tools: all enabled by default (markdownlint, yamllint, shellcheck, gitleaks, etc.)
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Chat
# ---------------------------------------------------------------------------
chat:
art: true
allow_non_org_members: true
auto_reply: true
integrations:
jira:
usage: disabled
linear:
usage: disabled
# ---------------------------------------------------------------------------
# Knowledge Base
# ---------------------------------------------------------------------------
knowledge_base:
opt_out: false
web_search:
enabled: true
code_guidelines:
enabled: true
filePatterns:
- "docs/review_guidelines/runbooks.md"
learnings:
scope: global
issues:
scope: global
jira:
usage: disabled
linear:
usage: disabled
pull_requests:
scope: global
mcp:
usage: disabled
# Linked repositories — alert definitions live in these operator repos.
linked_repositories:
- repository: "kubevirt/kubevirt"
instructions: "Core virtualization platform. Search here for alert definitions, PromQL expressions, metrics registration, and recording rules."
- repository: "kubevirt/containerized-data-importer"
instructions: "CDI operator. Search here for CDI* alert definitions, metrics, and recording rules."
- repository: "kubevirt/hyperconverged-cluster-operator"
instructions: "HCO meta-operator. Search here for HCO* alert definitions and metrics."
- repository: "kubevirt/ssp-operator"
instructions: "SSP operator. Search here for SSP* alert definitions and metrics."
- repository: "kubevirt/cluster-network-addons-operator"
instructions: "CNAO operator. Search here for network-related alert definitions and metrics."
- repository: "kubevirt/hostpath-provisioner-operator"
instructions: "HPP operator. Search here for HPP* alert definitions and metrics."
- repository: "kubevirt/hostpath-provisioner"
instructions: "Hostpath provisioner. Search here for HPP storage-related alert definitions and metrics."
- repository: "kubevirt/application-aware-quota"
instructions: "AAQ operator. Search here for AAQ* alert definitions and metrics."
- repository: "kubevirt/monitoring"
instructions: "This repo itself. Use for cross-referencing between branches, past PRs, and existing runbooks."
# Non-kubevirt org
- repository: "k8snetworkplumbingwg/kubemacpool"
instructions: "KubeMacPool. Search here for MAC pool related alert definitions and metrics."
# ---------------------------------------------------------------------------
# Issue Enrichment
# ---------------------------------------------------------------------------
issue_enrichment:
auto_enrich:
enabled: false
planning:
enabled: false
auto_planning:
enabled: false
labeling:
auto_apply_labels: false