← Back to Pull requests

Add multiarch support for golden image boot source tests #5662

Closed
unknown closed this pull request without merging on Jul 29, 2026 20:53 UTC
View on GitHub
unknown unknown commented on Jul 16, 2026 08:33 UTC
Author

##### What this PR does / why we need it:

Add multiarch support for golden image and boot source tests

  • Add data_import_cron_matrix and auto_update_data_source_matrix per

  • architecture in global_config_multiarch
  • Propagate per-arch DIC and auto-update matrices in

  • update_cpu_arch_related_config for multiarch clusters
  • Create arch-aware fedora_boot_source_data_source fixture replacing

  • hardcoded fedora_data_source
  • Use ArchImages for per-arch Fedora registry URL in imported_fedora_dv

  • Filter RHEL DICs by architecture suffix in test_updated_rhel_image

  • Add architecture parameter to template_labels helper

  • Append cpu_arch label to template selector in get_template_by_labels

  • Add arm64 marker to boot source VM and opt-out tests

  • Remove unused Cirros.RAW_IMG_XZ override from arm64 config

  • Update unit tests for multiarch DIC and auto-update matrix propagation
  • ##### Which issue(s) this PR fixes:

    ##### Special notes for reviewer:

    ##### jira-ticket:
    https://redhat.atlassian.net/browse/CNV-68645

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

    Summary by CodeRabbit

    Bug Fixes
    Improved multi-architecture handling for Fedora and RHEL boot sources, templates, and data imports.
    Ensured template selection matches the configured CPU architecture.
    Added architecture-specific data import and automatic update configurations for AMD64 and ARM64.

    Tests
    Expanded ARM64 coverage for boot source, data import, and template scenarios.
    * Updated validation to account for architecture-specific data sources and labels.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 211 lines (+158 / -53) across 2 files Reviewer: geetikakay Review duration: 19459m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 211 lines diff across 2 files
    0.36
    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.320
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5662"
    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.5% (MEDIUM) · Higher = larger blast radius
    36.5%
    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.4% · Safe to merge
    14.4%