← Back to Pull requests

Align the DW ITS with the trainer ITS and deploy ITS into redhat-ods-applications #4379

Closed
unknown closed this pull request without merging on Nov 11, 2026 14:22 UTC
View on GitHub
unknown unknown commented on Nov 11, 2026 11:14 UTC
Author

Summary


  • DW ITS migration to the TEST_IMAGES interface: the distributed-workloads integration test now uses the shared wait-for-builds and resolve-built-images tasks from odh-konflux-central (#781 extends the latter with the pr-tag parameter and the optional authenticated quay-credentials workspace). The DW ITS passes the midstream on-pr-<PR number> tag and binds rhoai-quay-secret to resolve the PR-built universal runtime images from the private quay.io/rhoai, handing them to make test-integration-rhai via TEST_IMAGES/TEST_IMAGE_ENVS_FILE, with the DW repository pre-cloned at the PR revision via DW_SOURCE_DIR. The old ODH_TH_TORCH_*_IMAGE / TRAINER_OPERATOR_SOURCE_URL interface no longer exists in the trainer repository's Makefile.rhai. The universal-runtime-image-repos parameter is dropped — the shared task selects the components from the snapshot, so the IntegrationTestScenario no longer needs to pass version-suffixed component names.

  • ITS namespace fix: the trainer-operator renders manifests, ImageStreams and the controller into the Trainer CR's appNamespace, which deploy-trainer-operator now aligns with APPLICATIONS_NAMESPACE (opendatahub-io/trainer#332). All three downstream ITS pipelines (DW, trainer PR, trainer upgrade) now pass APPLICATIONS_NAMESPACE=redhat-ods-applications, matching the pull-secret steps and must-gathers; the trainer must-gather namespaces were aligned accordingly.

  • Trainer upgrade ITS: added the missing configure-additional-pull-secret step — it deploys private quay.io/rhoai Lake images that cannot be pulled or imported without it.
  • Depends on opendatahub-io/odh-konflux-central#781 (pr-tag + quay-credentials in the shared resolve-built-images task) and opendatahub-io/trainer#332 (Makefile.rhai appNamespace alignment), both landing and syncing downstream.

    Test plan


  • DW ITS runs on a distributed-workloads PR that rebuilds the universal runtime images: builds are awaited, images resolve from the on-pr-<N> tags, deployment and tests land in redhat-ods-applications

  • DW ITS on a test-only PR (no image rebuild) deploys manifest-default images

  • Trainer PR and upgrade ITS deploy into redhat-ods-applications with private image pulls and ImageStream imports working
  • 🤖 Generated with Claude Code

    Diff: 296 lines (+222 / -74) across 3 files Reviewer: sutaakar Review duration: 187m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 296 lines diff across 3 files
    0.63
    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.341
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #4379"
    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: 63.2% (MEDIUM) · Higher = larger blast radius
    63.2%
    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: 24.9% · Safe to merge
    24.9%