CCO-837: Replace deprecated golang/mock with go.uber.org/mock - #1069
CCO-837: Replace deprecated golang/mock with go.uber.org/mock#1069ericahinkleRH wants to merge 1 commit into
Conversation
|
@ericahinkleRH: This pull request references CCO-837 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThe module migrates from legacy GoMock to Uber GoMock, updates generated mocks and tests, changes one ordered-call helper type, and refreshes Go, gRPC, Envoy, Google, protobuf, and OpenTelemetry dependencies. ChangesGoMock migration and dependency refresh
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ericahinkleRH The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1069 +/- ##
=======================================
Coverage 47.30% 47.30%
=======================================
Files 97 97
Lines 12614 12614
=======================================
Hits 5967 5967
Misses 5987 5987
Partials 660 660
🚀 New features to boost your workflow:
|
|
/retest-required |
- Migrate from deprecated github.com/golang/mock to go.uber.org/mock - Update go.mod dependencies - Update toolchain to Go 1.26.5 for security fixes - Update google.golang.org/grpc to v1.82.1 for security vulnerabilities - Regenerate mocks using mockgen v0.5.0 Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
866edd0 to
4363f6f
Compare
|
/test e2e-gcp-manual-oidc |
1 similar comment
|
/test e2e-gcp-manual-oidc |
|
@ericahinkleRH: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
Replace deprecated
golang/mockwithgo.uber.org/mockas the maintained fork.The golang/mock repository is no longer maintained and recommends migrating to go.uber.org/mock.
Changes
[]anyinstead of[]*gomock.Call)Testing
Jira
https://redhat.atlassian.net/browse/CCO-837
Notes
This PR is independent and does NOT depend on CCO-834 (K8s 1.36 upgrade).
Summary by CodeRabbit