[IUO] add Jira requirement links to test docstrings #6935
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 310 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6935"
general
weight: 0.35
hmeir
##### What this PR does / why we need it:
Adds Jira requirement traceability lines to test function docstrings:
Jira: https://redhat.atlassian.net/browse/<ID> # <skip-jira-utils-check>line(s) added to each test docstring (after any existingJira:lines, otherwise at the top).@pytest.mark.polarion("CNV-XXXX")decorators into the docstring asPolarion: CNV-XXXXlines; the decorators are removed.#comments above the test body become docstring text, and single-line docstrings are expanded to multi-line.marks=pytest.mark.polarion(...)entries are stripped.pytest) are cleaned up by the repo's pre-commit hooks (ruff).Test-to-requirement traceability now lives in the code itself (code-first test management): each test links directly to its Jira requirement, resolved from the test's Polarion linkage. Polarion IDs are kept in the docstring so the existing Polarion linkage stays visible during the migration.
##### Which issue(s) this PR fixes:
NONE
##### Special notes for reviewer:
##### jira-ticket:
NONE
<!-- This PR is not tracked by a single Jira ticket — it adds requirement links to many Jiras; the requirement links live in the test docstrings. -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Updated test descriptions with Jira and Polarion references across installation, upgrade, security, configuration, and diagnostic coverage.
* Test scenarios, assertions, and execution behavior remain unchanged.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->