CNF-23393: mockgen deprecated: use uber-go/mock instead#214
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (27.77%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #214 +/- ##
=======================================
Coverage 65.03% 65.03%
=======================================
Files 23 23
Lines 1570 1570
=======================================
Hits 1021 1021
Misses 471 471
Partials 78 78
🚀 New features to boost your workflow:
|
|
/retest |
|
validation failed. Need update the base image |
c83bb42 to
628e576
Compare
628e576 to
4c21b20
Compare
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughReplace direct dependency on github.com/golang/mock with go.uber.org/mock (v0.6.0) and update mockgen import paths in code and tools to use go.uber.org/mock/mockgen. ChangesMock Module Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
4c21b20 to
814e018
Compare
|
/retest |
814e018 to
028fb07
Compare
|
@sebrandon1: This pull request references CNF-23393 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. |
028fb07 to
3e7f0cd
Compare
3e7f0cd to
34e2fe5
Compare
ce75e33 to
d1e0439
Compare
d1e0439 to
55e9cfa
Compare
55e9cfa to
40560c2
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 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 |
Migrate from the archived github.com/golang/mock to the maintained fork go.uber.org/mock. Regenerate all mock files with the new mockgen.
40560c2 to
f78b765
Compare
|
@sebrandon1: The following test failed, say
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. |
https://github.com/golang/mock is marked as archived as of
June 27, 2023. They recommend using go.uber.org/mock.This PR attempts to change the dependency to one that is maintained.
Tracking issue: redhat-best-practices-for-k8s/telco-bot#45
Summary by CodeRabbit