← Back to Pull requests

Generate release userspace and host-kernel support matrix #71

Open
unknown opened this pull request with 265 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 14, 2026 18:07 UTC
Author

Release userspace component versions and host-kernel guidance currently have no generated source in sig-release. Add releases/userspace-support-matrix.md, generated from the launcherbase RPM dependencies and default CentOS Stream configuration at exact KubeVirt release tags, with links to the source commits.

The tracked snapshots cover v1.7.4, v1.8.4, v1.9.1, and v1.10.0-rc.0 across x86_64, aarch64, and s390x. Prerelease snapshots are explicitly labeled. The generator preserves RPM epochs, handles architecture-specific firmware and absent components, and selects the default build when both CentOS Stream 9 and 10 dependencies are present. Host guidance identifies the matching distribution kernel family.

Track release tags in releases/userspace-releases.json, provide a read-only --check mode, and add refresh instructions to the GA and patch release checklist and release tracker template. The user-guide can link to the generated matrix instead of maintaining a separate component table.

Validation:

  • go test ./...

  • go vet ./...

  • go run ./cmd/userspace-matrix-generator --kubevirt-path ../kubevirt --check

  • git diff --check
  • Follow-up for the Bazel 9 / Bzlmod migration:

  • Add support for the RPM label layout introduced by kubevirt/kubevirt#19610 before tracking releases that contain it. Labels change from @PACKAGE//rpm to @kubevirt-rpms//PACKAGE, and RPM pins move from WORKSPACE into rpms.json. Retain support for the legacy layout used by existing release tags.

  • Cover both layouts with regression checks for CS9 and CS10 across x86_64, aarch64, and s390x, preserving component versions, epochs, architecture differences, and exact-commit source links.
  • The current generator rejects that PR's head (25e36f1) with launcherbase_aarch64_cs9 has nonliteral RPM dependencies. Existing snapshots, including v1.10.0-rc.0, remain valid. The migration preserves KUBEVIRT_CENTOS_STREAM_VERSION, provider auto-detection, and builder overrides; it does not change the default userspace from CS9 to CS10.

    Fixes #69

    Diff: 265 lines (+198 / -67) across 3 files Reviewer: fossedihelm Review duration: 67562m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.46) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 265 lines diff across 3 files
    0.46
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    44%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.334
    Real PR Conversation Timeline
    1 comments
    "Review active on #71"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.7% 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: 46.3% (MEDIUM) · Higher = larger blast radius
    46.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: 44.7% · Lower = rushed or shallow review
    44.7%
    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: 25.6% · Safe to merge
    25.6%