← Back to Pull requests

Replace pinned_gpu_operator with unified gpu_operator_versions field #867

Open
unknown opened this pull request with 373 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 30, 2026 07:15 UTC
Author

Summary

Replaces the pinned_gpu_operator field with a unified gpu_operator_versions field in settings.json that supports two forms:

  • List ["26.3"] — test exactly these versions (maintenance OCP versions)

  • String constraint ">=26.7" — open-ended minimum version filter (active OCP versions)
  • This prevents GPU Operator 26.3 tests from being generated for OCP 5.0 (where 26.3 is not available in the certified-operators catalog), while being future-proof: when new GPU operator versions like 26.8 or 27.0 are released, they are automatically included without updating settings.json.

    Changes

    1. settings.json — Unified version specification

  • Renamed pinned_gpu_operator to gpu_operator_versions for all maintenance OCP versions (4.14–4.17)

  • Added OCP 5.0 entry with "gpu_operator_versions": ">=26.7" (open-ended constraint)
  • 2. update_versions.py — Constraint parsing and filtering

  • Renamed normalize_pinned_gpu_operator to normalize_gpu_operator_versions

  • Added parse_version_tuple() for numeric version comparison

  • Added filter_gpu_versions_by_constraint() to handle >=X.Y constraints

  • Added is_version_constraint() to detect string constraints vs. list values

  • Updated handle_ocp_version_changes and handle_gpu_operator_changes to use the unified field

  • Removed excluded_gpu_operator handling (superseded by this approach)
  • 3. tests/test_update_versions.py — New tests

  • Added TestVersionConstraint class with 8 unit tests for constraint parsing and filtering

  • Added 6 integration tests for constraint behavior in TestCreateTestsMatrix

  • Updated existing tests to use gpu_operator_versions instead of pinned_gpu_operator
  • 4. manual_notes.json — Dashboard note

    Adds a note for OCP 5.0 documenting that only GPU Operator versions 26.7 and later are supported.

    Context

  • Failing CI job: 5.0-stable-nvidia-gpu-operator-e2e-26-3-x on PR #866

  • Addresses review feedback to unify pinned/excluded into a generic approach

  • Companion PR: openshift/release#89602 (removes existing 26-3-x jobs from 5.0-stable config)
  • ---
    AI-generated. Review for accuracy.

    @empovit requested from Slack

    Chai persona: NVIDIA

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

    Summary by CodeRabbit

    Updates
    OpenShift 5.0 is active, with support for GPU Operator 26.7 and later.
    OpenShift 4.14–4.17 remain in maintenance with GPU Operator 26.3.
    Version constraints select compatible GPU Operator releases and exclude OpenShift versions below a specified threshold.
    OpenShift 5.0 requires an explicitly specified RHEL 10-compatible driver image in ClusterPolicy; GPU Operator 26.3 is unavailable in its operator catalog.
    Documentation
    * Updated configuration examples to reflect the current version settings and constraint options.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 373 lines (+279 / -94) across 4 files Reviewer: redhat-chai-bot Review duration: 489m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 373 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #867"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    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: 42.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 22.8% · Safe to merge
    22.8%