Skip to content

Conversation

@sebrandon1
Copy link
Member

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

@openshift-ci openshift-ci bot requested review from Tafhim and devppratik November 13, 2025 18:03
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 13, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sebrandon1
Once this PR has been reviewed and has the lgtm label, please assign clcollins 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

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 75.00000% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.35%. Comparing base (db79ec6) to head (2d4374d).

Files with missing lines Patch % Lines
...kg/alertmanager/mocks/alertManagerSilenceClient.go 60.00% 8 Missing ⚠️
pkg/metrics/mocks/metrics.go 50.00% 8 Missing ⚠️
pkg/maintenance/mocks/maintenance.go 66.66% 4 Missing ⚠️
pkg/ocm/mocks/builder.go 0.00% 4 Missing ⚠️
pkg/ocm/mocks/client.go 75.00% 4 Missing ⚠️
pkg/ocmagent/mocks/builder.go 0.00% 4 Missing ⚠️
...upgradeconfigmanager/mocks/upgradeconfigmanager.go 0.00% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #561   +/-   ##
=======================================
  Coverage   54.35%   54.35%           
=======================================
  Files         123      123           
  Lines        6123     6123           
=======================================
  Hits         3328     3328           
  Misses       2592     2592           
  Partials      203      203           
Files with missing lines Coverage Δ
mocks/builder.go 0.00% <ø> (ø)
mocks/client.go 0.00% <ø> (ø)
pkg/alertmanager/alertManagerSilenceClient.go 0.00% <ø> (ø)
pkg/availabilitychecks/availabilitychecks.go 0.00% <ø> (ø)
...availabilitychecks/mocks/mockAvailabilityChecks.go 100.00% <ø> (ø)
pkg/clusterversion/mocks/mockClusterVersion.go 100.00% <100.00%> (ø)
.../clusterversion/mocks/mockClusterVersionBuilder.go 100.00% <ø> (ø)
pkg/configmanager/config.go 0.00% <ø> (ø)
pkg/configmanager/mocks/configmanager.go 100.00% <ø> (ø)
pkg/configmanager/mocks/configmanagerbuilder.go 100.00% <ø> (ø)
... and 34 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tkong-redhat
Copy link
Contributor

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 17, 2025

@sebrandon1: The following test 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/validate 2d4374d link true /test validate

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants