Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ reviews:
newly added test functions in that same file are considered covered.
The @pytest.mark.polarion decorator alone does NOT satisfy this requirement.

**Jira skip-marker enforcement:**
When a `Jira:` line appears in a test docstring for traceability, it MUST
Comment thread
rnetser marked this conversation as resolved.
also include `# <skip-jira-utils-check>` as an inline comment on the same line.
This is required so the project's jira-utils checker skips traceability references.
- Correct: `Jira: https://redhat.atlassian.net/browse/CNV-87822 # <skip-jira-utils-check>`
- Incorrect: `Jira: https://redhat.atlassian.net/browse/CNV-80580`
This does NOT apply to `STP:` or `RFE:` lines — only `Jira:` lines need the marker.
Flag a missing `# <skip-jira-utils-check>` on a `Jira:` line as HIGH severity.

Pass if no new test files and no new test functions are added in this PR.

# Auto-review configuration
Expand Down
2 changes: 1 addition & 1 deletion tests/observability/metrics/test_vms_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ class TestVmiSyncTotal:
"""
Tests for kubevirt_vmi_sync_total metric.

Jira: https://redhat.atlassian.net/browse/CNV-80580
Jira: https://redhat.atlassian.net/browse/CNV-80580 # <skip-jira-utils-check>

Preconditions:
- Running VM
Expand Down