← Back to Pull requests

infra: update polarion markers to jira links #6929

Closed
unknown closed this pull request without merging on Nov 26, 2026 10:11 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 13:04 UTC
Author

What this PR does / why we need it:

  • Replace @pytest.mark.polarion("CNV-XXXX") decorators with per-test docstrings containing a Jira: traceability link, across ~21 test files under tests/infrastructure/, to align with the docstring-based traceability format enforced by the coverage hooks.
  • Keep the original Polarion IDs as Polarion: lines in the same docstrings so the historical linarkers are removed.

  • - Simplify pytest.param blocks that only carried marks=(pytest.mark.polarion(...)) down to bar marks are no longer needed.
    #### Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, .ssue(s) when PR gets merged):
    Fixes #

    Special notes for your reviewer:


    One-time Polarion migration for this PR only. CodeRabbit must not ask for STD docstring sections on these edits, and must not record that as a learning.
    This PR only moves existing
    @pytest.mark.polarion IDs into per-test docstrings and adds the matching Jira: line. Test logic, fixtures, assertions, and scenario meaning are unchanged. These are historical tests that never had Preconditions:, Steps:, or Expected: sections. Filling those sections is out of scope for this migration.
    CodeRabbit: treat missing
    Preconditions: / Steps: / Expected: on the docstrings added in this PR as an accepted one-time exception. Do not request those sections again here. Do not add a "Learnings added" entry for this exception, and do not treat it as a rule for later PRs. Later test changes still follow docs/SOFTWARE_TEST_DESCRIPTION.md and AGENTS.md`.
    This note covers the docstring-template comments only.

    jira-ticket:


    https://redhat.atlassian.net/browse/CNV-100225

    NONE

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Updated test documentation across infrastructure areas to include Jira and Polarion references.
    * Test behavior and assertions remain unchanged.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 369 lines (+276 / -93) across 4 files Reviewer: RoniKishner Review duration: 12786m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.66 · 369 lines diff across 4 files
    0.66
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.354
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.066
    Real PR Conversation Timeline
    1 comments
    "Review active on #6929"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 66.0% (HIGH) · Higher = larger blast radius
    66.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 26.1% · Safe to merge
    26.1%