-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
27 lines (27 loc) · 1.13 KB
/
.coderabbit.yaml
File metadata and controls
27 lines (27 loc) · 1.13 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
language: en
reviews:
auto_review:
enabled: true
base_branches:
- main
request_changes_workflow: false
path_instructions:
- path: "**/*.go"
instructions: |
Follow Kubernetes client-go patterns. Use interfaces for testability
(kubernetes.Interface, dynamic.Interface). Wrap errors with context.
Constructor injection for dependencies — no global state.
- path: "handlers/**"
instructions: |
Verify ownerReferences are set on all created Secrets and ConfigMaps.
Template rendering must use pageTemplate() — never inline ParseFiles.
Check that form field names match the env-/arg-/file-/configmap- conventions.
- path: "catalog/**"
instructions: |
Types should stay aligned with the MCP Registry standard. Verify JSON
tags match the expected wire format. K8s extensions live under _meta.
- path: "templates/**"
instructions: |
Each page template must define a content block. Verify htmx attributes
use correct endpoints and swap strategies. Check that the running-list
partial works both standalone and embedded.