|
| 1 | +# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +language: en-US |
| 5 | +tone_instructions: | |
| 6 | + Be direct, technical, brief. No praise, emojis, headings, or collapsible menus. |
| 7 | + Start each comment with one prefix: |
| 8 | + - suggestion: optional improvement; |
| 9 | + - important: must-fix/high-impact risk; |
| 10 | + - critical: blocking correctness/security/data-loss. |
| 11 | +
|
| 12 | +reviews: |
| 13 | + profile: chill |
| 14 | + |
| 15 | + high_level_summary: true |
| 16 | + high_level_summary_in_walkthrough: true |
| 17 | + poem: false |
| 18 | + in_progress_fortune: false |
| 19 | + sequence_diagrams: false |
| 20 | + estimate_code_review_effort: false |
| 21 | + collapse_walkthrough: true |
| 22 | + |
| 23 | + # Reduce noisy status/details sections. |
| 24 | + request_changes_workflow: false |
| 25 | + review_status: false |
| 26 | + review_details: false |
| 27 | + enable_prompt_for_ai_agents: false |
| 28 | + |
| 29 | + auto_review: |
| 30 | + enabled: true |
| 31 | + drafts: false |
| 32 | + base_branches: |
| 33 | + - "^main$" |
| 34 | + ignore_usernames: |
| 35 | + - "copy-pr-bot[bot]" |
| 36 | + - "dependabot[bot]" |
| 37 | + - "github-actions[bot]" |
| 38 | + |
| 39 | + tools: |
| 40 | + gitleaks: |
| 41 | + enabled: false |
| 42 | + markdownlint: |
| 43 | + enabled: false |
| 44 | + shellcheck: |
| 45 | + enabled: false |
| 46 | + |
| 47 | + # Keep Autofix available, but disable the other finishing touch actions. |
| 48 | + finishing_touches: |
| 49 | + docstrings: |
| 50 | + enabled: false |
| 51 | + unit_tests: |
| 52 | + enabled: false |
| 53 | + simplify: |
| 54 | + enabled: false |
| 55 | + |
| 56 | + pre_merge_checks: |
| 57 | + docstrings: |
| 58 | + mode: "off" |
| 59 | + title: |
| 60 | + mode: "off" |
| 61 | + description: |
| 62 | + mode: "off" |
| 63 | + issue_assessment: |
| 64 | + mode: "off" |
| 65 | + custom_checks: [] |
| 66 | + |
| 67 | + path_instructions: |
| 68 | + - path: "cuda_bindings/**/*" |
| 69 | + instructions: | |
| 70 | + Focus on Cython binding correctness, API and ABI stability, error-code propagation, |
| 71 | + resource ownership and reference counting, GIL handling, cross-platform behavior. |
| 72 | + Avoid style-only comments already covered by pre-commit. |
| 73 | +
|
| 74 | + - path: "cuda_core/**/*" |
| 75 | + instructions: | |
| 76 | + Focus on Python API stability, stream ordering, CUDA resource lifetime and ownership, CUDA Array Interface |
| 77 | + compatibility, host/device memory semantics, error translation, and free-threading correctness. Check that |
| 78 | + public behavior changes have corresponding tests, documentation and release notes. Avoid style-only comments |
| 79 | + already covered by pre-commit. |
| 80 | +
|
| 81 | + - path: "cuda_pathfinder/**/*" |
| 82 | + instructions: | |
| 83 | + Focus on deterministic path resolution across Linux and Windows, wheel and conda layouts, dynamic-library |
| 84 | + loading and cache semantics, and explicit behavior when the CUDA Toolkit is missing or partially installed. |
| 85 | + Check that errors preserve the package's public exception contracts. |
| 86 | +
|
| 87 | + - path: "cuda_python/**/*" |
| 88 | + instructions: | |
| 89 | + Focus on metapackage correctness, dependency and version pins, wheel and sdist contents, and documentation |
| 90 | + aggregation. Keep runtime functionality in the component packages and verify that packaging changes preserve |
| 91 | + compatibility among cuda-python, cuda-bindings, cuda-core, and cuda-pathfinder. |
| 92 | +
|
| 93 | + - path: "benchmarks/**/*" |
| 94 | + instructions: | |
| 95 | + Check that benchmark changes measure meaningful workloads, keep comparison axes and benchmark identifiers |
| 96 | + comparable, avoid excessive runtime, and preserve useful comparison data. |
| 97 | +
|
| 98 | + - path: "ci/**/*" |
| 99 | + instructions: | |
| 100 | + For CI and build scripts, focus on matrix correctness, the GPU-versus-CPU job split, targeted build and test |
| 101 | + behavior, cache and artifact handling, environment setup, clear failure modes, and avoiding unnecessary |
| 102 | + expensive jobs. |
| 103 | +
|
| 104 | + - path: ".github/**/*" |
| 105 | + instructions: | |
| 106 | + For GitHub workflows and repository automation, focus on least-privilege permissions, event triggers, matrix |
| 107 | + generation, status and check behavior, security boundaries, and avoiding unnecessary CI fanout. |
| 108 | +
|
| 109 | + - path: "**/*.pyx" |
| 110 | + instructions: | |
| 111 | + Focus on typed-memoryview safety, GIL and nogil correctness, exception specifications, fused-type behavior, |
| 112 | + Python reference ownership, and consistency with related declarations and generated type stubs. |
| 113 | +
|
| 114 | + - path: "**/*.pxd" |
| 115 | + instructions: | |
| 116 | + Focus on declaration and implementation consistency, typed-memoryview safety, GIL and nogil correctness, |
| 117 | + exception specifications, fused-type behavior, and API or ABI impact on Cython consumers. |
| 118 | +
|
| 119 | +knowledge_base: |
| 120 | + opt_out: false |
| 121 | + code_guidelines: |
| 122 | + filePatterns: |
| 123 | + - "AGENTS.md" |
| 124 | + - "CONTRIBUTING.md" |
| 125 | + - "cuda_bindings/AGENTS.md" |
| 126 | + - "cuda_core/AGENTS.md" |
| 127 | + - "cuda_core/tests/AGENTS.md" |
| 128 | + - "cuda_pathfinder/AGENTS.md" |
| 129 | + - "cuda_python/AGENTS.md" |
| 130 | + - "benchmarks/cuda_bindings/AGENTS.md" |
| 131 | + - "benchmarks/cuda_core/AGENTS.md" |
| 132 | + - "cuda_bindings/README.md" |
| 133 | + - "cuda_core/README.md" |
| 134 | + - "cuda_pathfinder/DESCRIPTION.rst" |
| 135 | + - "cuda_python/DESCRIPTION.rst" |
| 136 | + - "cuda_bindings/docs/source/contribute.rst" |
| 137 | + - "cuda_core/docs/source/contribute.rst" |
| 138 | + - "cuda_core/docs/source/concurrency.rst" |
| 139 | + - "cuda_core/docs/source/error_handling.rst" |
| 140 | + - "cuda_pathfinder/docs/source/contribute.rst" |
| 141 | + - "cuda_bindings/docs/source/release.rst" |
| 142 | + - "cuda_core/docs/source/release.rst" |
| 143 | + - "cuda_pathfinder/docs/source/release.rst" |
| 144 | + - "cuda_python/docs/source/release.rst" |
0 commit comments