← Back to Pull requests

fix: resolve async-upload RPMs against its pinned base image #2450

Closed
unknown closed this pull request without merging on Nov 19, 2026 17:43 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 17:22 UTC
Author

Human Description


This PR https://github.com/red-hat-data-services/model-registry/pull/2446
Broke the build odh-model-registry-job-async-upload-v2-25-on-push-7tlmc

This used to work by chance because the base image Dockerfile.konflux used the same RPMs as the base image of jobs/async-upload/Dockerfile.konflux. This is no longer the case and we must specify the correct Dockerfile.

Description

Fix the async-upload Konflux build failing to resolve libgcc >= 11.5.0-17.el9_9 and libstdc++ = 11.5.0-17.el9_9 when installing GCC.

Set the RPM lockfile context to jobs/async-upload/Dockerfile.konflux and refresh the lockfile against its pinned Python base image. The lockfile now includes the required compiler runtime upgrades on all four architectures and omits packages already supplied by that base image.

The root model-registry image does not install RPMs or use RPM prefetching, so its dependency resolution is unaffected.

How Has This Been Tested?

  • git diff --check passed.

  • Parsed both YAML files and verified the configured base-image context and all four target architectures.

  • Verified every architecture includes matching gcc, gcc-c++, libgcc, and libstdc++ versions (11.5.0-17.el9_9) and required package metadata.

  • Full hermetic build validation remains pending in Konflux. No application tests were added because this change only updates RPM dependency configuration and generated metadata.
  • Merge criteria

  • All commits are signed off.

  • The commits have meaningful messages.

  • Konflux builds pass on all four architectures.
  • Diff: 225 lines (+168 / -57) across 2 files Reviewer: pboyd Review duration: 4340m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 225 lines diff across 2 files
    0.37
    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.324
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2450"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 36.9% (MEDIUM) · Higher = larger blast radius
    36.9%
    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: 14.6% · Safe to merge
    14.6%