Skip to content

chore(deps): update non-k8s-go-dependencies (major)#216

Open
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/major-non-k8s-go-dependencies
Open

chore(deps): update non-k8s-go-dependencies (major)#216
red-hat-konflux[bot] wants to merge 1 commit intomainfrom
konflux/mintmaker/main/major-non-k8s-go-dependencies

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

@red-hat-konflux red-hat-konflux bot commented Mar 17, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/go-hclog v0.14.1v1.6.3 age confidence
github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6v1.2.0 age confidence
go.yaml.in/yaml/v2 v2.4.3v3.0.4 age confidence
gomodules.xyz/jsonpatch/v2 v2.5.0v3.0.1 age confidence
gopkg.in/evanphx/json-patch.v4 v4.13.0v5.9.11 age confidence

Warning

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


Release Notes

hashicorp/go-hclog (github.com/hashicorp/go-hclog)

v1.6.3: Optional JSON escaping

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v1.6.2...v1.6.3

v1.6.2: Fix level syncing

Compare Source

What's Changed

  • Conside if the level is to be used separately from if the levels should be calculated by @​evanphx in #​137

Full Changelog: hashicorp/go-hclog@v1.6.1...v1.6.2

v1.6.1: Fix forcing color

Compare Source

What's Changed

Full Changelog: hashicorp/go-hclog@v1.6.0...v1.6.1

v1.6.0: New level inheritance mode

Compare Source

This release adds the ability to have sub-loggers arrange themselves into a tree and sync the level changes downward in the tree.

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v1.5.0...v1.6.0

v1.5.0: Better color and sublogger mods

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v1.4.0...v1.5.0

v1.4.0: Add GetLevel

Compare Source

What it says on the tin, add GetLevel to the Logger interface.

What's Changed

Full Changelog: hashicorp/go-hclog@v1.3.1...v1.4.0

v1.3.1: Improved multi line output rendering

Compare Source

What's Changed

  • When rendering multiple line output, still quote the individual lines by @​evanphx in #​119

Full Changelog: hashicorp/go-hclog@v1.3.0...v1.3.1

v1.3.0: Field Colorization

Compare Source

This version adds the ability to colorize fields for improved readability.

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v1.2.2...v1.3.0

v1.2.2: Minor formatting fix

Compare Source

What's Changed

Full Changelog: hashicorp/go-hclog@v1.2.1...v1.2.2

v1.2.1: testify/go.yaml fix

Compare Source

This bumps the version of testify and go.yaml that are referenced by go-hclog to fix a security issue in go.yaml.

v1.2.0: More Restrained Color

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v1.1.0...v1.2.0

v1.1.0: Time and Infer improvements

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-hclog@v0.17...v1.1.0

v1.0.0: Stable Release

Compare Source

This release represents the stable API for go-hclog. It is being used across the fleet of HashiCorp projects and tools, as well as across the Go service landscape.

v0.16.2

Compare Source

IMPROVEMENTS

  • add Quote type to enable safe concise output of untrusted strings #​96

BUG FIXES

  • Fix slicing of WARN when detecting log levels #​94

v0.16.1: Add ability to remove wrappers from file:line

Compare Source

v0.16.0: Improve hclogvet and plaintext rendering

Compare Source

v0.15.0

Compare Source

  • Add new level Off, which provides a level for filtering all output.
  • Add LoggerOptions.IndependentLevels, allowing sub-loggers to set their level independently from the parent.
openshift/velero (github.com/openshift/velero)

v1.2.0

Compare Source

v1.1.0

Compare Source

yaml/go-yaml (go.yaml.in/yaml/v2)

v3.0.4

Compare Source

v3.0.3

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

v2.4.4

Compare Source

gomodules/jsonpatch (gomodules.xyz/jsonpatch/v2)

v3.0.1

Compare Source

This release uses our forked gomodules/orderedmap library. Our forked version has 2 major changes:

  • Uses *OrderedMap instead of OrderedMap inside nested orderedmaps.
  • I ported unstructured helpers from Kubernetes to work with orderedmaps.

v3.0.0

Compare Source

This release uses iancoleman/orderedmap to generate predictable patch. This is very useful if the generated patch is checked into a VCS like git.

evanphx/json-patch (gopkg.in/evanphx/json-patch.v4)

v5.9.11

Compare Source

What's Changed

Full Changelog: evanphx/json-patch@v5.9.10...v5.9.11

v5.9.10

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.9.0...v5.9.10

v5.9.0

Compare Source

What's Changed

Full Changelog: evanphx/json-patch@v5.8.1...v5.9.0

v5.8.1: Fix API breakage

Compare Source

This PR fixes Operation containing a reference to internal/json and breaking the ability to manually compose one. This restores that ability using a type alias.

Full Changelog: evanphx/json-patch@v5.8.0...v5.8.1

v5.8.0: Blargh Phixs and Empathyprovements

Compare Source

This release fixes a few stray panics, addresses large number accuracy, and improves performance!

What's Changed

Full Changelog: evanphx/json-patch@v5.7.0...v5.8.0

v5.7.0: The 2023 Release

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.6.0...v5.7.0

v5.6.0: Bug fixes

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.5.0...v5.6.0

v5.5.0: Better null handling

Compare Source

This incorporates a few fixes related to how nulls are handles in array's and objects.

v5.3.0: Fix zero sized document crash

Compare Source

This fixes a crash bug where submitted an empty slice as the document would panic.

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.0: Proper Go modules release

Compare Source

This release has a proper /v5 directory, unlike the previous releases that did not have a /v4 dir. Thanks to @​BenTheElder for getting this sorted out!


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 red-hat-konflux bot added area/ci-tooling ok-to-test Indicates a non-member PR verified by an org member that is safe to test. labels Mar 17, 2026
@red-hat-konflux
Copy link
Copy Markdown
Contributor Author

red-hat-konflux bot commented Mar 17, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: downloading go1.25.8 (linux/amd64)
go: downloading github.com/openshift/velero v1.2.0
go: downloading github.com/openshift/hypershift/api v0.0.0-20260317154635-8eaac177f1b0
go: downloading github.com/openshift/hive/apis v0.0.0-20241220022629-3f49f26197ff
go: downloading github.com/openshift/custom-resource-status v1.1.3-0.20220503160415-f2fdb4999d87
go: downloading github.com/openshift/api v0.0.0-20260120150926-4c643a652d54
go: downloading go.yaml.in/yaml/v2 v2.4.3
go: downloading github.com/google/gnostic-models v0.7.0
go: downloading github.com/go-openapi/jsonreference v0.21.0
go: downloading github.com/go-openapi/swag v0.23.1
go: downloading github.com/go-openapi/jsonpointer v0.21.1
go: downloading github.com/mailru/easyjson v0.9.0
go: downloading github.com/prometheus/procfs v0.16.1
go: downloading github.com/josharian/intern v1.0.0
go: downloading golang.org/x/oauth2 v0.35.0
go: downloading golang.org/x/time v0.14.0
go: downloading github.com/emicklei/go-restful/v3 v3.12.2
go: downloading google.golang.org/grpc v1.77.0
go: downloading github.com/hashicorp/go-plugin v1.6.0
go: downloading github.com/kopia/kopia v0.10.7
go: downloading github.com/hashicorp/yamux v0.1.1
go: downloading github.com/oklog/run v1.0.0
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20251103181224-f26f9409b101
go: github.com/openshift/hypershift-oadp-plugin/pkg/common imports
	github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1: cannot find module providing package github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: aebb14a5-9776-46c9-97fe-f6afe8510763

📥 Commits

Reviewing files that changed from the base of the PR and between d8fda2e and 4b81c97.

📒 Files selected for processing (1)
  • go.mod
🚧 Files skipped from review as they are similar to previous changes (1)
  • go.mod

Walkthrough

Updated Go module dependency declarations in go.mod: migrated YAML v2 → v3, replaced json-patch modules with v3/v5 variants, upgraded indirect github.com/hashicorp/go-hclog, and changed a replace to github.com/openshift/velero v1.2.0. No public API changes.

Changes

Cohort / File(s) Summary
Dependency updates
go.mod
Switched YAML indirect from go.yaml.in/yaml/v2go.yaml.in/yaml/v3 v3.0.4; replaced gomodules.xyz/jsonpatch/v2 & gopkg.in/evanphx/json-patch.v4 with gomodules.xyz/jsonpatch/v3 v3.0.1 and gopkg.in/evanphx/json-patch.v5 v5.9.11; bumped indirect github.com/hashicorp/go-hclog to v1.6.3; updated replace to map github.com/vmware-tanzu/velerogithub.com/openshift/velero v1.2.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/major-non-k8s-go-dependencies

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

@openshift-ci openshift-ci bot requested review from csrwng and sjenning March 17, 2026 21:42
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 17, 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 kaovilai 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

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 17, 2026

Hi @red-hat-konflux[bot]. Thanks for your PR.

I'm waiting for a openshift 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
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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
go.mod (3)

6-6: ⚠️ Potential issue | 🔴 Critical

Version mismatch for external-snapshotter client.

The package github.com/kubernetes-csi/external-snapshotter/client/v8 appears with two different versions:

  • Line 6: v8.2.0 (direct dependency)
  • Line 27: v8.4.0 (indirect dependency)

This inconsistency will cause confusion during dependency resolution. Run go mod tidy to reconcile the versions, or explicitly update the direct dependency to match the intended version.

🔧 Recommended fix
 require (
-	github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0
+	github.com/kubernetes-csi/external-snapshotter/client/v8 v8.4.0
 	github.com/onsi/gomega v1.39.0

Then run go mod tidy to clean up the indirect entries.

Also applies to: 27-27

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

In `@go.mod` at line 6, The go.mod has a version mismatch for
github.com/kubernetes-csi/external-snapshotter/client/v8 (v8.2.0 vs v8.4.0);
update the direct dependency line for
github.com/kubernetes-csi/external-snapshotter/client/v8 to the intended version
(e.g., v8.4.0) or remove the explicit entry, then run `go mod tidy` to reconcile
indirect entries and ensure the dependency graph is consistent.

20-20: ⚠️ Potential issue | 🟠 Major

Remove or update the unused gopkg.in/evanphx/json-patch.v5 dependency.

Two different import paths for the same json-patch package are listed in go.mod:

  • Line 20: github.com/evanphx/json-patch/v5 v5.9.11
  • Line 40: gopkg.in/evanphx/json-patch.v5 v5.9.11

The modern path (github.com/evanphx/json-patch/v5) is actively used in the codebase, but the legacy gopkg.in path is not imported or referenced anywhere. Since both are marked as indirect dependencies, the gopkg.in entry likely comes from older transitive dependencies. Remove this entry or update the transitive dependencies to eliminate the unused import path and reduce unnecessary binary bloat.

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

In `@go.mod` at line 20, Remove the legacy gopkg.in import entry from go.mod:
identify the indirect dependency line referencing gopkg.in/evanphx/json-patch.v5
v5.9.11 and delete it (or run `go mod tidy` to drop unused transitive entries),
ensuring only the modern github.com/evanphx/json-patch/v5 v5.9.11 remains;
verify builds and `go list -m all` to confirm the old gopkg.in path is no longer
present.

6-6: ⚠️ Potential issue | 🟡 Minor

Address the external-snapshotter version conflict between direct and vendored dependencies.

The codebase has a significant version mismatch: pkg/common/scheme.go directly imports github.com/kubernetes-csi/external-snapshotter/client/v8, while the vendored Velero (v1.2.0 fork) internally uses client/v7. Both versions are present in go.sum, creating a potential schema registration conflict when both call AddToScheme() on the same runtime scheme.

The other dependencies listed (go.yaml.in/yaml, gomodules.xyz/jsonpatch, go-hclog) are indirect dependencies with no direct usage in the codebase's core logic, making them lower priority.

Ensure that:

  • The CustomScheme in pkg/common/scheme.go correctly handles both v7 and v8 volumesnapshot APIs if both are transitively required
  • If only v8 is intended, verify that the Velero fork has been updated to use v8 or that the v7 import is not needed
  • Run integration tests covering snapshot-related operations to confirm there are no schema conflicts
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 6, pkg/common/scheme.go currently registers only one snapshot
client version which causes conflicts when both v7 and v8 are present; update
CustomScheme to explicitly handle both versions by importing the Velero-fork's
client/v7 and the direct client/v8 under distinct aliases (e.g., snapshotv7,
snapshotv8) and invoke snapshotv7.AddToScheme(CustomScheme) and
snapshotv8.AddToScheme(CustomScheme) (or, if the project should only use v8,
update the Velero fork/dependency to v8 or remove the v7 import so only
snapshotv8.AddToScheme is called); after making the change run integration tests
covering snapshot operations to verify no schema registration conflicts remain.
🤖 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`:
- Around line 36-37: The go.mod contains a duplicate indirect requirement for
the module go.yaml.in/yaml/v3 (v3.0.4) — remove one of the identical lines
declaring go.yaml.in/yaml/v3 v3.0.4 and then run `go mod tidy` to re-evaluate
and clean up dependency metadata; look for the duplicate module entry
"go.yaml.in/yaml/v3" in go.mod to locate and delete the redundant line.

---

Outside diff comments:
In `@go.mod`:
- Line 6: The go.mod has a version mismatch for
github.com/kubernetes-csi/external-snapshotter/client/v8 (v8.2.0 vs v8.4.0);
update the direct dependency line for
github.com/kubernetes-csi/external-snapshotter/client/v8 to the intended version
(e.g., v8.4.0) or remove the explicit entry, then run `go mod tidy` to reconcile
indirect entries and ensure the dependency graph is consistent.
- Line 20: Remove the legacy gopkg.in import entry from go.mod: identify the
indirect dependency line referencing gopkg.in/evanphx/json-patch.v5 v5.9.11 and
delete it (or run `go mod tidy` to drop unused transitive entries), ensuring
only the modern github.com/evanphx/json-patch/v5 v5.9.11 remains; verify builds
and `go list -m all` to confirm the old gopkg.in path is no longer present.
- Line 6: pkg/common/scheme.go currently registers only one snapshot client
version which causes conflicts when both v7 and v8 are present; update
CustomScheme to explicitly handle both versions by importing the Velero-fork's
client/v7 and the direct client/v8 under distinct aliases (e.g., snapshotv7,
snapshotv8) and invoke snapshotv7.AddToScheme(CustomScheme) and
snapshotv8.AddToScheme(CustomScheme) (or, if the project should only use v8,
update the Velero fork/dependency to v8 or remove the v7 import so only
snapshotv8.AddToScheme is called); after making the change run integration tests
covering snapshot operations to verify no schema registration conflicts remain.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bf20e9c1-21c4-4327-9d80-14b2df77bcbb

📥 Commits

Reviewing files that changed from the base of the PR and between faa7cf8 and b31746b.

📒 Files selected for processing (1)
  • go.mod

Comment on lines +36 to 37
go.yaml.in/yaml/v3 v3.0.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
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

Remove duplicate entry for go.yaml.in/yaml/v3.

Lines 36 and 37 are identical, both declaring go.yaml.in/yaml/v3 v3.0.4 as an indirect dependency. Remove one of the duplicate entries and run go mod tidy to clean up the file.

🔧 Recommended fix
 	github.com/x448/float16 v0.8.4 // indirect
 	go.yaml.in/yaml/v3 v3.0.4 // indirect
-	go.yaml.in/yaml/v3 v3.0.4 // indirect
 	golang.org/x/sync v0.19.0 // indirect
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
go.yaml.in/yaml/v3 v3.0.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/sync v0.19.0 // indirect
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 36 - 37, The go.mod contains a duplicate indirect
requirement for the module go.yaml.in/yaml/v3 (v3.0.4) — remove one of the
identical lines declaring go.yaml.in/yaml/v3 v3.0.4 and then run `go mod tidy`
to re-evaluate and clean up dependency metadata; look for the duplicate module
entry "go.yaml.in/yaml/v3" in go.mod to locate and delete the redundant line.

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/major-non-k8s-go-dependencies branch from b31746b to b796450 Compare March 18, 2026 13:46
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 26, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/major-non-k8s-go-dependencies branch from b796450 to d8fda2e Compare March 27, 2026 01:33
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 27, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main/major-non-k8s-go-dependencies branch from d8fda2e to 4b81c97 Compare March 27, 2026 17:37
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 27, 2026

@red-hat-konflux[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit 4b81c97 link true /test unit
ci/prow/verify 4b81c97 link true /test verify
ci/prow/build 4b81c97 link true /test build

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci-tooling 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.

0 participants