Skip to content

Bump github.com/openshift-online/ocm-sdk-go from 0.1.488 to 0.1.494#1010

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.494
Closed

Bump github.com/openshift-online/ocm-sdk-go from 0.1.488 to 0.1.494#1010
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.494

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps github.com/openshift-online/ocm-sdk-go from 0.1.488 to 0.1.494.

Release notes

Sourced from github.com/openshift-online/ocm-sdk-go's releases.

Release 0.1.494

  • Update model to 0.0.449
    • Add ARO-HCP ControlPlaneUpgradePolicies resource to manage control plane upgrade policies
    • Add ARO-HCP NodePoolUpgradePolicies resource to manage node pool upgrade policies
    • Simplify ARO-HCP upgrade policy types by removing scheduling-related fields (Schedule, ScheduleType, UpgradeType, NextRun, EnableMinorVersionUpgrades)

Release 0.1.493

  • Update model to 0.0.448
    • Add VnetIntegrationSubnetResourceID field to ARO-HCP Azure type for SWIFT networking (Azure Container Networking Interface) support
    • Expose ARO-HCP cluster's provision shard subresource GET endpoint
    • Expose ARO-HCP provision shard global endpoints

Release 0.1.492

  • Update model to 0.0.447
    • Make Topology attribute of ARO-HCP ProvisionShard required and restrict its allowed value to shared
    • Expand EtcdEncryption attribute description for ROSA-HCP Clusters

Release 0.1.491

  • Update model to 0.0.446
    • Add AzureShard and ProvisionShardMaestroConfig to ARO-HCP ProvisionShard type
    • Remove HypershiftConfig, ManagementCluster, HiveConfig, AWSAccountOperatorConfig, GCPProjectOperator, AWSBaseDomain, AWSBaseDomain from ARO-HCP ProvisionShard type

Release 0.1.490

  • Update model to 0.0.444
    • Add ExcludedNamespaceSelectors to ingress type

Release 0.1.489

  • Update model to 0.0.443
    • Add Channel field to Cluster type for Y-stream update channel management
Changelog

Sourced from github.com/openshift-online/ocm-sdk-go's changelog.

0.1.494 Feb 12 2026

  • Update model to 0.0.449
    • Add ARO-HCP ControlPlaneUpgradePolicies resource to manage control plane upgrade policies
    • Add ARO-HCP NodePoolUpgradePolicies resource to manage node pool upgrade policies
    • Simplify ARO-HCP upgrade policy types by removing scheduling-related fields (Schedule, ScheduleType, UpgradeType, NextRun, EnableMinorVersionUpgrades)

0.1.493 Jan 25 2026

  • Update model to 0.0.448
    • Add VnetIntegrationSubnetResourceID field to ARO-HCP Azure type for SWIFT networking (Azure Container Networking Interface) support
    • Expose ARO-HCP cluster's provision shard subresource GET endpoint
    • Expose ARO-HCP provision shard global endpoints

0.1.492

  • Update model to 0.0.447
    • Make Topology attribute of ARO-HCP ProvisionShard required and restrict its allowed value to shared
    • Expand EtcdEncryption attribute description for ROSA-HCP Clusters

0.1.491

  • Update model to 0.0.446
    • Add AzureShard and ProvisionShardMaestroConfig to ARO-HCP ProvisionShard type
    • Remove HypershiftConfig, ManagementCluster, HiveConfig, AWSAccountOperatorConfig, GCPProjectOperator, AWSBaseDomain, AWSBaseDomain from ARO-HCP ProvisionShard type

0.1.490

  • Update model to 0.0.444
    • Add ExcludedNamespaceSelectors to ingress type

0.1.489

  • Update model to 0.0.443
    • Add Channel field to Cluster type for Y-stream update channel management
Commits
  • f9a302d Merge pull request #1137 from machi1990/prepare-release-0.1.494
  • 8ef1a7f chore: prepare next release 0.1.494
  • 2346f05 Merge pull request #1136 from machi1990/bump/model-to-0.0.449
  • 07833a8 chore: update ocm api model to v0.0.449
  • 05bcb7f Merge pull request #1134 from zgalor/release-0.1.493
  • 86d0037 chore: Release v0.1.493
  • 86d01eb Merge pull request #1133 from zgalor/update-ocmapimodel-v00448
  • 6ff9fa9 chore: update ocm api model to v0.0.448
  • 690e5d5 Merge pull request #1131 from miguelsorianod/release-0.1.492
  • a866bec chore: Release v0.1.492
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Feb 16, 2026
@openshift-ci openshift-ci bot requested a review from rcampos2029 February 16, 2026 08:55
@openshift-ci
Copy link

openshift-ci bot commented Feb 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign rcampos2029 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link

coderabbitai bot commented Feb 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting

📥 Commits

Reviewing files that changed from the base of the PR and between b981af0 and 3474c9d.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
🚧 Files skipped from review as they are similar to previous changes (1)
  • go.mod

Walkthrough

go.mod dependency bumps: github.com/openshift-online/ocm-sdk-go from v0.1.496 to v0.1.497, and github.com/openshift-online/ocm-api-model/clientapi and .../model from v0.0.451 to v0.0.452. No other files or public signatures changed.

Changes

Cohort / File(s) Summary
Dependency Updates
go.mod
Bumped github.com/openshift-online/ocm-sdk-go v0.1.496 → v0.1.497 and github.com/openshift-online/ocm-api-model/clientapi, github.com/openshift-online/ocm-api-model/model v0.0.451 → v0.0.452. No other edits.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title states the bump is from 0.1.488 to 0.1.494, but the actual changes show bumps to 0.1.497 for ocm-sdk-go and 0.0.452 for related dependencies, not 0.1.494. Update the title to accurately reflect the actual dependency versions changed (ocm-sdk-go to v0.1.497 and related dependencies to v0.0.452).
Description check ⚠️ Warning The description discusses bumping ocm-sdk-go from 0.1.488 to 0.1.494 with detailed release notes, but the actual changes show versions bumped to 0.1.497 and 0.0.452, indicating a mismatch between description and implementation. Update the description to reflect the actual dependency versions being bumped (v0.1.497 for ocm-sdk-go and v0.0.452 for model dependencies).
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dependabot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.494

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 16, 2026
@openshift-ci
Copy link

openshift-ci bot commented Feb 16, 2026

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a openshift-online member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@go.mod`:
- Line 20: The code calls removed/changed SDK fields (ScheduleType(), NextRun(),
Schedule(), UpgradeType(), EnableMinorVersionUpgrades(), ProvisionShard(),
HiveConfig(), ManagementCluster(), HypershiftConfig(),
AWSAccountOperatorConfig(), GCPProjectOperator(), AWSBaseDomain()) and must be
updated to the new ocm‑sdk-go API; replace usages of those getters with the new
equivalents from v0.1.494 (use the new UpgradePolicy/ProvisionShard struct
fields or accessors provided by the SDK), remove or guard code that relied on
removed fields, and ensure ProvisionShard.Topology is set to or validated as
"shared" per the new required constraint; update the call sites that referenced
ScheduleType()/NextRun() and the ProvisionShard related methods to use the SDK's
current methods/fields and add necessary nil/variant checks so the code compiles
against v0.1.494.

go.mod Outdated
github.com/onsi/gomega v1.38.3
github.com/openshift-online/ocm-common v0.0.34
github.com/openshift-online/ocm-sdk-go v0.1.488
github.com/openshift-online/ocm-sdk-go v0.1.494
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# 1. Check the go.mod file around the mentioned lines
echo "=== go.mod dependencies ==="
cat -n go.mod | sed -n '15,30p'
echo ""
echo "=== Lines 120-130 for indirect dependencies ==="
cat -n go.mod | sed -n '120,130p'

Repository: openshift-online/ocm-cli

Length of output: 1664


🏁 Script executed:

#!/bin/bash
# 2. Run the verification script to scan for usage of removed fields
rg -n -C3 --type=go -g '!**/vendor/**' \
  -e '\bScheduleType\b|\bUpgradeType\b|\bNextRun\b|\bEnableMinorVersionUpgrades\b' \
  -e '\bHypershiftConfig\b|\bManagementCluster\b|\bHiveConfig\b|\bAWSAccountOperatorConfig\b|\bGCPProjectOperator\b|\bAWSBaseDomain\b' \
  -e '\bProvisionShard\b|\bAzureShard\b|\bProvisionShardMaestroConfig\b'

Repository: openshift-online/ocm-cli

Length of output: 3036


🏁 Script executed:

#!/bin/bash
# 3. Check repository structure and look for any codebase that imports ocm-sdk
echo "=== Repository structure ==="
ls -la
echo ""
echo "=== Looking for Go files that might use ocm-sdk ==="
fd --type f '\.go$' -g '!vendor' | head -20

Repository: openshift-online/ocm-cli

Length of output: 1636


🏁 Script executed:

#!/bin/bash
# Check git history to understand context of this dependency bump
echo "=== Recent commits mentioning ocm-sdk ==="
git log --oneline --all -20 | grep -i "sdk\|upgrade\|provision"
echo ""
echo "=== Check if there's any migration or adaptation in recent commits ==="
git log --oneline -p -- "cmd/ocm/create/upgradepolicy/cmd.go" "pkg/cluster/describe.go" | head -100

Repository: openshift-online/ocm-cli

Length of output: 3244


🌐 Web query:

ocm-sdk-go v0.1.494 release notes changelog removals

💡 Result:

ocm-sdk-go v0.1.494 release notes (released Feb 12, 2026) include the following removals:

  • ARO-HCP upgrade policy types: removed scheduling-related fields: Schedule, ScheduleType, UpgradeType, NextRun, EnableMinorVersionUpgrades (as part of “Simplify ARO-HCP upgrade policy types”). [1]

Source: GitHub release “Release 0.1.494”. [1]

References


🌐 Web query:

ocm-sdk-go v0.1.489 to v0.1.494 breaking changes ScheduleType NextRun ProvisionShard

💡 Result:

Between ocm-sdk-go v0.1.489 → v0.1.494, the breaking changes related to ScheduleType / NextRun / ProvisionShard are:

  • v0.1.494 (Feb 12, 2026): breaking removal of scheduling fields from ARO-HCP upgrade policy types

    • Removed scheduling-related fields: Schedule, ScheduleType, UpgradeType, NextRun, EnableMinorVersionUpgrades.
    • If your code referenced any of these fields on the ARO-HCP upgrade policy types, you must delete/update those references. [1]
  • v0.1.492: ProvisionShard now requires Topology and restricts its value

    • ProvisionShard.Topology became required, and allowed value is restricted to shared.
    • If you construct ProvisionShard objects, ensure you always set Topology (and to shared). [1]
  • v0.1.491: ProvisionShard field removals (ARO-HCP)

    • Removed from ARO-HCP ProvisionShard: HypershiftConfig, ManagementCluster, HiveConfig, AWSAccountOperatorConfig, GCPProjectOperator, AWSBaseDomain (listed twice in changelog).
    • Added: AzureShard and ProvisionShardMaestroConfig. [1]

Non-breaking but relevant:

  • v0.1.493 added/exposed ARO-HCP provision shard GET endpoints (subresource + global endpoints). [1]

Source: ocm-sdk-go CHANGES.md. [1]


Code uses fields removed/changed in ocm-sdk-go v0.1.494—this will fail to compile.

Release notes confirm breaking removals:

  • v0.1.494 removed upgrade policy fields: ScheduleType, NextRun, Schedule, UpgradeType, EnableMinorVersionUpgrades
  • v0.1.491 removed ProvisionShard fields: HiveConfig, ManagementCluster, HypershiftConfig, AWSAccountOperatorConfig, GCPProjectOperator, AWSBaseDomain
  • v0.1.492 made ProvisionShard.Topology required (restricted to "shared")

Codebase actively references these removed fields:

  • cmd/ocm/create/upgradepolicy/cmd.go lines 153, 226–227 call ScheduleType() and NextRun()
  • cmd/ocm/list/upgradepolicy/cmd.go lines 104, 106 call ScheduleType() and NextRun()
  • pkg/cluster/describe.go lines 111–116 call ProvisionShard(), HiveConfig(), and line 372 calls ManagementCluster()

Update all call sites to use the updated SDK API before merging.

🤖 Prompt for AI Agents
In `@go.mod` at line 20, The code calls removed/changed SDK fields
(ScheduleType(), NextRun(), Schedule(), UpgradeType(),
EnableMinorVersionUpgrades(), ProvisionShard(), HiveConfig(),
ManagementCluster(), HypershiftConfig(), AWSAccountOperatorConfig(),
GCPProjectOperator(), AWSBaseDomain()) and must be updated to the new ocm‑sdk-go
API; replace usages of those getters with the new equivalents from v0.1.494 (use
the new UpgradePolicy/ProvisionShard struct fields or accessors provided by the
SDK), remove or guard code that relied on removed fields, and ensure
ProvisionShard.Topology is set to or validated as "shared" per the new required
constraint; update the call sites that referenced ScheduleType()/NextRun() and
the ProvisionShard related methods to use the SDK's current methods/fields and
add necessary nil/variant checks so the code compiles against v0.1.494.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 27, 2026
@openshift-merge-robot
Copy link
Collaborator

rebase

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Bumps [github.com/openshift-online/ocm-sdk-go](https://github.com/openshift-online/ocm-sdk-go) from 0.1.488 to 0.1.494.
- [Release notes](https://github.com/openshift-online/ocm-sdk-go/releases)
- [Changelog](https://github.com/openshift-online/ocm-sdk-go/blob/main/CHANGES.md)
- [Commits](openshift-online/ocm-sdk-go@v0.1.488...v0.1.494)

---
updated-dependencies:
- dependency-name: github.com/openshift-online/ocm-sdk-go
  dependency-version: 0.1.494
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.494 branch from b981af0 to 3474c9d Compare February 27, 2026 22:44
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 27, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 2, 2026

Superseded by #1026.

@dependabot dependabot bot closed this Mar 2, 2026
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/openshift-online/ocm-sdk-go-0.1.494 branch March 2, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant