← Back to Pull requests

ROSAENG-8272 | build: bump ocm-sdk-go to v0.1.509 #3463

Closed
unknown closed this pull request without merging on Aug 12, 2026 17:46 UTC
View on GitHub
unknown unknown commented on Aug 12, 2026 17:11 UTC
Author

PR Summary


Bump github.com/openshift-online/ocm-sdk-go to v0.1.509 and regenerate the vendored dependency snapshot.
This lets the follow-on HCP Spot CLI work use the latest generated builder surface without depending on direct clientapi imports.

Detailed Description of the Issue


The HCP Spot CLI branch needed direct ocm-api-model/clientapi imports because the currently vendored OCM SDK did not expose the builder surface we wanted to use through the usual SDK package. Updating the SDK first keeps that dependency change isolated and gives the feature PR a cleaner API surface.

Related Issues and PRs


  • Jira: ROSAENG-8272

  • Fixes: N/A

  • Related PR(s): openshift/rosa#3457

  • Related design/docs: N/A
  • Type of Change


  • feat - adds a new user-facing capability.

  • fix - resolves an incorrect behavior or bug.

  • docs - updates documentation only.

  • style - formatting or naming changes with no logic impact.

  • refactor - code restructuring with no behavior change.

  • test - adds or updates tests only.

  • chore - maintenance work (tooling, housekeeping, non-product code).

  • build - changes build system, packaging, or dependencies for build output.

  • ci - changes CI pipelines, jobs, or automation workflows.

  • perf - improves performance without changing intended behavior.
  • Previous Behavior


    The repo was pinned to ocm-sdk-go v0.1.507, which forced the HCP Spot CLI branch to reach into ocm-api-model/clientapi for generated builder helpers.

    Behavior After This Change


    The repo uses ocm-sdk-go v0.1.509 with the updated vendored model artifacts, so follow-on work can target the newer SDK surface directly.

    How to Test (Step-by-Step)


    Preconditions


  • No special environment is required beyond the normal ROSA contributor toolchain.
  • Test Steps


    1. Check out this branch.
    2. Run make pre-push-checks.
    3. Confirm the repo builds and tests pass with the bumped SDK and vendored modules.

    Expected Results


    The dependency bump should validate cleanly without behavior changes outside the updated vendored SDK/model surface.

    Proof of the Fix


  • Screenshots: N/A

  • Videos: N/A

  • Logs/CLI output: make pre-push-checks

  • Other artifacts: Updated go.mod, go.sum, and vendor/
  • Breaking Changes


  • No breaking changes

  • Yes, this PR introduces a breaking change (describe impact and migration plan below)
  • Breaking Change Details / Migration Plan


    N/A

    Developer Verification Checklist


  • Commit subject/title follows [JIRA-TICKET] | [TYPE]: <MESSAGE>.

  • PR description clearly explains both what changed and why.

  • Relevant Jira/GitHub issues and related PRs are linked.

  • make install-hooks has been run in this clone.

  • Tests were added/updated where appropriate.

  • I manually tested the change.

  • make test passes.

  • make lint passes.

  • make rosa passes.

  • Documentation or repo-local agent guidance was added/updated where appropriate.

  • Any risk, limitation, or follow-up work is documented.
  • [ROSAENG-8272]: https://redhat.atlassian.net/browse/ROSAENG-8272?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

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

    Summary by CodeRabbit

    Chores
    Updated OpenShift OCM API model and SDK components to newer versions.
    * Includes the latest available API definitions and SDK updates.

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

    Diff: 456 lines (+342 / -114) across 5 files Reviewer: davidleerh Review duration: 35m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 456 lines diff across 5 files
    0.46
    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.366
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3463"
    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: 45.5% (MEDIUM) · Higher = larger blast radius
    45.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: 18.0% · Safe to merge
    18.0%
    Repository