forked from NVIDIA/topograph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
62 lines (56 loc) · 2.14 KB
/
Copy path.coderabbit.yaml
File metadata and controls
62 lines (56 loc) · 2.14 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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
reviews:
profile: "assertive"
review_details: true
high_level_summary_in_walkthrough: true
auto_review:
enabled: true
auto_incremental_review: true
auto_pause_after_reviewed_commits: 0
drafts: false
base_branches:
- ".*"
tools:
golangci-lint:
enabled: true
config_file: ".golangci.yml"
ast-grep:
essential_rules: true
opengrep:
enabled: true
osvScanner:
enabled: true
gitleaks:
enabled: true
shellcheck:
enabled: true
yamllint:
enabled: true
path_instructions:
- path: "{cmd,pkg,internal}/**/*.go"
instructions: |
Focus on correctness, robustness, and failure paths:
- Check error handling and propagation, including whether callers
receive enough context to diagnose failures.
- Verify context propagation, cancellation, timeouts, resource cleanup,
and goroutine lifecycle.
- Look for races, deadlocks, unsafe shared state, leaks, and partial
updates that can leave state inconsistent.
- Check nil, empty, malformed, duplicate, boundary, and partial inputs.
- Verify deterministic and idempotent behavior where operations may be
retried or repeated.
- Preserve public contracts and the architectural boundaries documented
in AGENTS.md.
- Flag behavior changes that lack meaningful regression coverage.
- path: "charts/topograph/**"
instructions: |
- Check RBAC least privilege and Kubernetes API compatibility.
- ingress.enabled and gatewayAPI.enabled must remain mutually exclusive.
- HTTPRoute must contain only portable Gateway API v1 fields.
- Flag changes where values, schema, templates, NOTES, tests,
snapshots, documentation, or changelog become inconsistent.
- path: "**/*_test.go"
instructions: |
Flag missing negative, cancellation, concurrency, malformed-input,
boundary, and regression cases. Check that assertions would fail if
the behavior under test were broken.