Skip to content

fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498#969

Open
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x
Open

fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498#969
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux bot commented Jan 19, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/openshift-online/ocm-sdk-go v0.1.496 -> v0.1.498 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

openshift-online/ocm-sdk-go (github.com/openshift-online/ocm-sdk-go)

v0.1.498: Release 0.1.498

Compare Source

  • Update model to 0.0.453
    • Add OidcIssuerUrl field to ARO-HCP Azure type for workload identity federation
    • Add Visibility field and AzureKmsEncryptionVisibility type to AzureKmsEncryption

v0.1.497: Release 0.1.497

Compare Source

  • Update model to 0.0.452
    • Add the AvailableChannels method to the Version resource

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux
Copy link
Copy Markdown
Contributor Author

red-hat-konflux bot commented Jan 19, 2026

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/openshift-online/ocm-api-model/clientapi v0.0.451 -> v0.0.453
github.com/openshift-online/ocm-api-model/model v0.0.451 -> v0.0.453

@openshift-ci openshift-ci bot requested a review from rcampos2029 January 19, 2026 20:45
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Jan 19, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[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
Copy Markdown

coderabbitai bot commented Jan 19, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

OpenShift module dependencies in go.mod are upgraded: github.com/openshift-online/ocm-sdk-go from v0.1.488 to v0.1.497, and github.com/openshift-online/ocm-api-model/clientapi and .../model from v0.0.443 to v0.0.452. Indirect dependency entries updated; no exported/public declarations changed.

Changes

Cohort / File(s) Summary
Dependency Updates
go.mod
Bumped github.com/openshift-online/ocm-sdk-go v0.1.488 → v0.1.497; bumped github.com/openshift-online/ocm-api-model/clientapi and .../model v0.0.443 → v0.0.452. Indirect dependency entries updated (lines +3/-3).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title states version v0.1.498, but the actual update is to v0.1.497 according to both the raw summary and PR objectives. Update the PR title to 'fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.497' to match the actual dependency version being updated.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The PR description is related to the changeset, detailing dependency updates with release notes, configuration info, and links; it provides meaningful information about the changes.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x

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 Jan 19, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Jan 19, 2026

Hi @red-hat-konflux[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.

@rcampos2029 rcampos2029 added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jan 20, 2026
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.488 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 Jan 22, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from 0c13e33 to 4069f18 Compare January 22, 2026 00:45
@openshift-ci openshift-ci bot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jan 22, 2026
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 - autoclosed Jan 22, 2026
@red-hat-konflux red-hat-konflux bot closed this Jan 22, 2026
@red-hat-konflux red-hat-konflux bot deleted the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch January 22, 2026 12:56
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 - autoclosed fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 Jan 22, 2026
@red-hat-konflux red-hat-konflux bot reopened this Jan 22, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch 3 times, most recently from 715825a to b4975a9 Compare January 22, 2026 20:44
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.490 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.491 Jan 22, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from b4975a9 to 786db92 Compare January 23, 2026 16:47
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.491 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.492 Jan 23, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from 786db92 to 1499504 Compare January 25, 2026 16:52
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.492 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.493 Jan 25, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from 1499504 to ad7f9ea Compare February 3, 2026 20:47
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from ad7f9ea to 0c42876 Compare February 12, 2026 12:58
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.493 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.494 Feb 12, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from 0c42876 to b724c53 Compare February 23, 2026 13:03
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.494 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.495 Feb 23, 2026
Copy link
Copy Markdown

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 20: The SDK bump removed the methods ScheduleType, Schedule and NextRun
used by the upgrade-policy commands; locate every use of ScheduleType, Schedule
and NextRun (e.g. in the upgradepolicy create/list command implementations) and
replace them with the new SDK accessors per the v0.1.495 API: consult the SDK
release notes to determine the new getters/field names and call those instead
(update any nil checks and type conversions accordingly), adjust the surrounding
code in the functions that referenced ScheduleType/Schedule/NextRun so they
compile with the new method names, and run `go build`/tests to fix any further
call-site naming changes.

ℹ️ 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 0c42876 and b724c53.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

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.495
Copy link
Copy Markdown

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
# Search for usage of removed SDK fields in the codebase

echo "=== Checking for removed upgrade policy fields ==="
rg -n -C3 '\b(Schedule|ScheduleType|UpgradeType|NextRun|EnableMinorVersionUpgrades)\b' \
  --type=go \
  -g '!go.mod' -g '!go.sum' -g '!vendor/**' || echo "(no matches found)"

echo -e "\n=== Checking for ProvisionShard.Topology usage ==="
rg -n -C3 'ProvisionShard.*Topology|Topology.*ProvisionShard' \
  --type=go \
  -g '!go.mod' -g '!go.sum' -g '!vendor/**' || echo "(no matches found)"

echo -e "\n=== Checking for ProvisionShard struct usage ==="
rg -n -C3 '\bProvisionShard\b' \
  --type=go \
  -g '!go.mod' -g '!go.sum' -g '!vendor/**' | head -50 || echo "(no matches found)"

echo -e "\n=== Verify version v0.1.495 mentioned in go.mod ==="
grep "ocm-sdk-go" go.mod

Repository: openshift-online/ocm-cli

Length of output: 3256


This SDK update introduces breaking changes that will cause build failures.

The codebase actively uses methods that were removed in the updated SDK version:

  • ScheduleType(): Used in cmd/ocm/list/upgradepolicy/cmd.go:104, cmd/ocm/create/upgradepolicy/cmd.go:153,226
  • Schedule(): Used in cmd/ocm/create/upgradepolicy/cmd.go:154
  • NextRun(): Used in cmd/ocm/list/upgradepolicy/cmd.go:106, cmd/ocm/create/upgradepolicy/cmd.go:227

The upgrade from v0.1.488 to v0.1.495 removes these methods according to release notes (v0.1.494, v0.1.492, v0.1.491). The codebase must be updated to handle the new SDK API before this dependency can be merged.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 20, The SDK bump removed the methods ScheduleType, Schedule
and NextRun used by the upgrade-policy commands; locate every use of
ScheduleType, Schedule and NextRun (e.g. in the upgradepolicy create/list
command implementations) and replace them with the new SDK accessors per the
v0.1.495 API: consult the SDK release notes to determine the new getters/field
names and call those instead (update any nil checks and type conversions
accordingly), adjust the surrounding code in the functions that referenced
ScheduleType/Schedule/NextRun so they compile with the new method names, and run
`go build`/tests to fix any further call-site naming changes.

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from b724c53 to e0b2eba Compare February 24, 2026 21:03
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.495 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.496 Feb 24, 2026
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.496 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.497 Feb 26, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch 2 times, most recently from 2c97b00 to 4b65d12 Compare February 28, 2026 01:39
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.497 Update module github.com/openshift-online/ocm-sdk-go to v0.1.497 Mar 4, 2026
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/openshift-online/ocm-sdk-go to v0.1.497 Update module github.com/openshift-online/ocm-sdk-go to v0.1.498 Mar 11, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch from 4b65d12 to 798c4bf Compare March 11, 2026 19:59
@red-hat-konflux red-hat-konflux bot changed the title Update module github.com/openshift-online/ocm-sdk-go to v0.1.498 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498 Mar 25, 2026
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498 fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498 - autoclosed Mar 30, 2026
@red-hat-konflux red-hat-konflux bot closed this Mar 30, 2026
….1.498

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot changed the title fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498 - autoclosed fix(deps): update module github.com/openshift-online/ocm-sdk-go to v0.1.498 Mar 30, 2026
@red-hat-konflux red-hat-konflux bot reopened this Mar 30, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/github.com-openshift-online-ocm-sdk-go-0.x branch 2 times, most recently from 798c4bf to 63c077c Compare March 30, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant