← Back to Pull requests

feat: support RHCOS marketplace image override for nodepools via experimental tag #6912

Open
unknown opened this pull request with 270 lines diff across 3 files
View on GitHub
unknown unknown commented on Sep 11, 2026 03:50 UTC
Author

Why

Testing preview/unreleased RHCOS builds on ARO-HCP node pools currently requires a custom Cluster Service deployment. This adds a supported path for pointing a node pool at a specific Azure Marketplace image, so preview marketplace offers can be validated end-to-end before they ship.

The override is deliberately narrow: it is gated behind the ExperimentalReleaseFeatures AFEC, exposed only via an experimental ARM tag rather than the public API surface, and immutable after node pool creation.

No tracking ticket exists for this yet (CONTRIBUTING.md rule 4) — this is exploratory enablement work. I'll link one before moving out of draft.

What

  • chore: bumps ocm-sdk-go to v0.1.510 / ocm-api-model to v0.0.466, picking up upstream AzureNodePoolImage and replacing the previously-needed SDK forks.

  • feat: adds the aro-hcp.experimental.nodepool.marketplace-image tag taking a publisher:offer:sku:version URN, a MarketplaceImage field on node pool service-provider properties, an admission mutator that validates the URN on CREATE only, and plumbing to Cluster Service in BuildCSNodePool.

  • test(e2e): adds a marketplace-image node pool test against a 5.0 cluster, plus node verifiers.

  • Docs at docs/testing-preview-marketplace-offer.md.
  • :warning: Draft — contains a DROP commit

    The tip commit pins Cluster Service to a personal ACR build (arohcpsvcdev.azurecr.io/bvesel-test/aro-hcp-clusters-service) so dev environments get a CS that understands AzureNodePoolImage. It must not merge. Upstream CS has since moved to quay.io/app-sre/aro-hcp-clusters-service; once that image carries the support, this commit gets dropped.

    internal/ocm/convert.go imports ocm-api-model/clientapi/arohcp/v1alpha1 directly for AzureNodePoolImage, since ocm-sdk-go hasn't generated an alias yet. Commented inline; remove once the SDK re-exports it.

    Testing

    Verified locally: internal, backend, frontend build clean, and go vet -tags E2Etests passes on test/e2e and test/util. Full make verify / make test not run locally — relying on CI.

    🤖 Generated with Claude Code

    Diff: 270 lines (+202 / -68) across 3 files Reviewer: JameelB Review duration: 117296m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.46) × (1 − Review Confidence (0.41)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 270 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%
    40%
    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.335
    Real PR Conversation Timeline
    1 comments
    "Review active on #6912"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 40.9% 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.4% (MEDIUM) · Higher = larger blast radius
    46.4%
    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: 40.9% · Lower = rushed or shallow review
    40.9%
    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: 27.4% · Safe to merge
    27.4%
    Repository