← Back to Pull requests

fix(ci): forward image merge strategy #3434

Closed
unknown closed this pull request without merging on Sep 04, 2026 12:39 UTC
View on GitHub
unknown unknown commented on Sep 04, 2026 07:43 UTC
Author

Summary

  • forward IMG_MERGE_STRATEGY to dd-pkg publish-image

  • add a focused CI regression test for the shared argument builder
  • Root cause

    publish_redhat_public_tag in pipeline 135374301 failed because the dd-pkg migration stopped forwarding the configured IMG_MERGE_STRATEGY=index_oci value.

    With the value missing, the downstream publisher used its default strategy and produced a Docker manifest list containing OCI child manifests. Red Hat Quay rejected that mixed manifest as MANIFEST_INVALID. All three downstream attempts failed identically, so the failure was deterministic rather than transient.

    This PR restores the missing --merge-strategy index_oci argument.

    Verification

    The focused regression test shadows dd-pkg and verifies that the inherited publishing script passes --merge-strategy index_oci. It does not contact a registry.

    The fix was also tested end-to-end using the exact v1.30.0-rc.3 amd64 and arm64 source images from the failed release. Red Hat Quay accepted the image in the private partner repository, and an authenticated read-back verified the stored manifest:

    quay.io/redhat-isv-containers/5e7c8ebc1c86a3163d1a69be:merge-strategy-135414526-7525534a

  • Successful Red Hat publish job

  • Successful authenticated manifest verification
  • {
      "schemaVersion": 2,
      "mediaType": "application/vnd.oci.image.index.v1+json",
      "manifests": [
        {
          "mediaType": "application/vnd.oci.image.manifest.v1+json",
          "digest": "sha256:dbc814e11f020034fad42263da89c7ad16d7753fea6ae7b93458d4b7027caeaf",
          "platform": {"architecture": "amd64", "os": "linux"}
        },
        {
          "mediaType": "application/vnd.oci.image.manifest.v1+json",
          "digest": "sha256:15b8f106ee96d9529540436cf573256830fba72df5f29fe0ff9eac087cd46e25",
          "platform": {"architecture": "arm64", "os": "linux"}
        }
      ]
    }
    

    Additional checks:

  • local positive test observed --merge-strategy index_oci

  • negative control without the forwarding line failed as expected

  • GitLab CI lint API accepted the configuration
  • The temporary end-to-end test PR was used only to gather this evidence and was closed without merging.

    Diff: 290 lines (+217 / -73) across 3 files Reviewer: Mathew-Estafanous Review duration: 295m
    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 · 290 lines diff across 3 files
    0.40
    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.339
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3434"
    general weight: 0.35
    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: 39.9% (MEDIUM) · Higher = larger blast radius
    39.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: 15.7% · Safe to merge
    15.7%