← Back to Pull requests

build: remove unused cloudimg entries and schema #3384

Open
shubhamrai9122-creator opened this pull request with 124 lines diff across 4 files
View on GitHub
shubhamrai9122-creator shubhamrai9122-creator commented on Oct 10, 2026 18:54 UTC
Author

Description


Fixes #3351

Problem


As observed in #3351, since migrating to generic ubuntu-based runners, the cloudimg entries in versions.yaml and their corresponding variables (_IMAGE_URL and _IMAGE_CHECKSUM) in Makefile.defaults are no longer used anywhere in the codebase.
Furthermore, querying these 12 unused entries via $(call query,...) in Makefile.defaults introduced unnecessary yq overhead on make invocations.

Solution


  • Removed the unused cloudimg section from src/cloud-api-adaptor/versions.yaml.

  • Removed cloudimg and unused #//imageSource from src/cloud-api-adaptor/versions.schema.json.

  • Removed unused ubuntu_RELEASE, rhel_RELEASE, alinux_RELEASE, and cloudimg image URL/checksum variables from src/cloud-api-adaptor/Makefile.defaults.

  • Validated with ./hack/versions.py -c versions.schema.json (passes with ok).
  • Signed-off-by: shubhamrai9122-creator <shubhamrai9122@gmail.com>

    Diff: 124 lines (+49 / -75) across 4 files Reviewer: mkulke Review duration: 2033m
    All Vouch review confidence checks passed
    Residual risk 0.12 = Change Risk (0.36) × (1 − Review Confidence (0.68)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 124 lines diff across 4 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.35 · 1 substantive comment(s)
    0.35
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    67%
    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.289
    Real PR Conversation Timeline
    1 item
    "Review active on #3384"
    general weight: 0.35
    Reviewers
    Assignees
    shubhamrai9122-creator shubhamrai9122-creator
    Labels
    risk: low confidence: 67.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.3% (MEDIUM) · Higher = larger blast radius
    36.3%
    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: 67.5% · Lower = rushed or shallow review
    67.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: 11.8% · Safe to merge
    11.8%