Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
175 lines (153 loc) · 7.4 KB
/
Copy path.coderabbit.yaml
File metadata and controls
175 lines (153 loc) · 7.4 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
167
168
169
170
171
172
173
174
175
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
language: en-US
tone_instructions: |
Be direct, technical, brief. No praise, emojis, headings, or collapsible menus.
Start each comment with one prefix:
- suggestion: optional improvement;
- important: must-fix/high-impact risk;
- critical: blocking correctness/security/data-loss.
reviews:
profile: chill
high_level_summary: true
high_level_summary_in_walkthrough: true
poem: false
in_progress_fortune: false
sequence_diagrams: false
estimate_code_review_effort: false
collapse_walkthrough: true
# Reduce noisy status/details sections.
request_changes_workflow: false
review_status: false
review_details: false
enable_prompt_for_ai_agents: false
auto_review:
enabled: true
drafts: false
base_branches:
- "^main$"
- "^branch/[0-9]+\\.[0-9]+\\.x$"
ignore_usernames: ["copy-pr-bot", "dependabot[bot]", "github-actions[bot]", "nv-automation-bot"]
tools:
gitleaks:
enabled: true
markdownlint:
enabled: true
shellcheck:
enabled: true
# Keep Autofix available, but disable the other finishing touch actions.
finishing_touches:
docstrings:
enabled: false
unit_tests:
enabled: false
simplify:
enabled: false
pre_merge_checks:
docstrings:
mode: "off"
title:
mode: "off"
description:
mode: "off"
issue_assessment:
mode: "off"
custom_checks: []
path_instructions:
- path: "libcudacxx/**/*"
instructions: |
Focus on correctness, ABI/API stability, standard-library conformance, host/device availability,
NVRTC compatibility, supported C++ standards, tests, and portability across supported CUDA toolchains.
For tests, use .agent/skills/cccl-test/SKILL.md as test context. Avoid style comments unless the
requirement is explicitly mentioned in the cccl-style skill or in the coding_conventions.rst.
- path: "cudax/**/*"
instructions: |
Focus on correctness, lifetime/resource ownership, stream ordering, host/device annotations, experimental
API clarity, tests, and compatibility with the supported CUDA toolchains. Avoid style comments unless
the requirement is explicitly mentioned in the cccl-style skill or in the coding_conventions.rst.
- path: "cub/**/*"
instructions: |
Focus on algorithm correctness, temporary-storage protocol, dispatch/policy selection, stream behavior,
CUDA error handling, synchronization, memory access safety, performance regressions, and test coverage.
When a pull request changes or adds a block or warp primitive under cub/cub/block or cub/cub/warp,
check that it also updates python/cuda_coop_cutlass, its tests and docs/python/coop_cutlass where the
change affects them, following python/cuda_coop_cutlass/AGENTS.md.
- path: "thrust/**/*"
instructions: |
Use docs/thrust/developer/systems.rst for execution policy and backend dispatch context. Focus on
correctness, API compatibility, dispatch behavior, synchronization, iterator/system interactions, and
regressions.
- path: "c/**/*"
instructions: |
Focus on C API/ABI stability, error/status handling, lifetime ownership, runtime policy handling,
build-result caching, C/C++ boundary behavior, and coverage for public C parallel APIs.
- path: "python/cuda_cccl/**/*"
instructions: |
Focus on Python API stability, CUDA array interoperability, memory ownership, JIT/NVRTC/nvJitLink
behavior, package boundaries, user-defined operator correctness, tests, and examples. Avoid style-only
comments that are already covered by pre-commit.
- path: "python/cuda_coop_cutlass/**/*"
instructions: |
Follow python/cuda_coop_cutlass/AGENTS.md. Check whether changed API behavior or compiler paths
require updates to public docstrings, runnable examples, guide sections, or diagrams. Flag concrete
mismatches even when only implementation files changed; require updates only to affected material.
- path: "**/benchmarks/**/*"
instructions: |
Use docs/cub/benchmarking.rst for benchmark conventions. Check that benchmark changes measure meaningful
workloads, keep axes comparable, avoid excessive runtime, and preserve useful comparison data.
- path: "docs/**/*"
instructions: |
For documentation changes, focus on technical accuracy, buildable examples, API/version consistency,
migration impact, and whether public API changes have matching documentation updates.
For docs/python/coop_cutlass/, docs/_static/coop-*, and docs/_ext/coop_visualization.py, follow
python/cuda_coop_cutlass/AGENTS.md. Check consistency with implementation, runnable examples,
compiler diagrams, and operation visualizations; require updates only to affected material.
- path: "ci/**/*"
instructions: |
For CI and build scripts, focus on matrix correctness, targeted build/test behavior, cache/artifact
handling, environment setup, GPU availability assumptions, clear failures, and avoiding unnecessary
expensive jobs.
- path: "ci/bench.yaml"
instructions: |
Treat benchmark requests as intentional temporary PR configuration. Accept
template differences in filters, GPUs, and optional fields. CI branch protections
enforce resets before merge. Do not request resets or repeat reset requirements
in comments or summaries, even when headers require them. Report errors that
disrupt the requested benchmarks.
- path: "ci/matrix.yaml"
instructions: |
Treat non-empty workflows.override entries as intentional temporary CI
configuration. Do not request resets or flag reduced coverage or merge blocks.
CI branch protections enforce resets; omit reminders from comments and summaries.
Report errors that prevent requested jobs. Review permanent changes for
correctness and coverage.
- path: ".github/**/*"
instructions: |
For GitHub workflows and repository automation, focus on permissions, event triggers, matrix generation,
status/check behavior, security boundaries, and avoiding unnecessary CI fanout.
knowledge_base:
opt_out: false
code_guidelines:
filePatterns:
- "AGENTS.md"
- files: "python/cuda_coop_cutlass/AGENTS.md"
applyTo: "python/cuda_coop_cutlass/**, docs/python/coop_cutlass/**, docs/_static/coop-*, docs/_ext/coop_visualization.py"
- ".agent/skills/cccl-review/SKILL.md"
- ".agent/skills/cccl-style/SKILL.md"
- ".agent/skills/cccl-test/SKILL.md"
- ".agent/skills/cccl-test/references/common.md"
- ".agent/skills/cccl-test/references/libcudacxx.md"
- "docs/contributors/index.rst"
- "docs/cccl/config_macros.rst"
- "docs/cccl/development/macro.rst"
- "docs/cccl/development/visibility.rst"
- "docs/cccl/development/testing.rst"
- "docs/cccl/development/coding_conventions.rst"
- "docs/cccl/development/review_checks.md"
- "docs/cub/developer_overview.rst"
- "docs/cub/developer/*.rst"
- "docs/cub/benchmarking.rst"
- "docs/thrust/developer/systems.rst"
- "docs/python/compute/index.rst"
- "docs/python/compute/developer_overview.rst"
- "cudax/README.md"