Skip to content

chore(deps): update module github.com/vektra/mockery/v2 to v3 - #76

Open
scality-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-vektra-mockery-v2-3.x
Open

chore(deps): update module github.com/vektra/mockery/v2 to v3#76
scality-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-vektra-mockery-v2-3.x

Conversation

@scality-renovate

@scality-renovate scality-renovate Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/vektra/mockery/v2 v2.53.6v3.7.2 age confidence

Release Notes

vektra/mockery (github.com/vektra/mockery/v2)

v3.7.2

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.7.1...v3.7.2

v3.7.1

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.7.0...v3.7.1

v3.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.6.4...v3.7.0

v3.6.4

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.6.3...v3.6.4

v3.6.3

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.6.2...v3.6.3

v3.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.6.1...v3.6.2

v3.6.1

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.6.0...v3.6.1

v3.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.5.5...v3.6.0

Misc

This release fixes a bug in auto-generated code detection. If mockery fails to generate mocks for auto-generated files that it previously had, please use include-auto-generated: true in your config.

v3.5.5

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.5.4...v3.5.5

v3.5.4

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.5.3...v3.5.4

v3.5.3

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.5.2...v3.5.3

v3.5.2

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.5.1...v3.5.2

v3.5.1

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.5.0...v3.5.1

v3.5.0

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.4.0...v3.5.0

v3.4.0

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.3.6...v3.4.0

v3.3.6

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.3.5...v3.3.6

v3.3.5

Compare Source

v3.3.4

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.3.2...v3.3.4

v3.3.3

Compare Source

v3.3.2

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.3.1...v3.3.2

v3.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.3.0...v3.3.1

v3.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.2.5...v3.3.0

v3.2.5

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.2.4...v3.2.5

v3.2.4

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.2.3...v3.2.4

v3.2.3

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.2.2...v3.2.3

v3.2.2

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.2.1...v3.2.2

v3.2.1

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.2.0...v3.2.1

v3.2.0

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.0.2...v3.1.0

v3.0.2

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.0.1...v3.0.2

v3.0.1

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.0.0...v3.0.1

v3.0.0

Compare Source

What's Changed

Full Changelog: vektra/mockery@v3.0.0-beta.11...v3.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on monday"
  • 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

This PR has been generated by Mend Renovate.

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Dependency Bump Evaluation

Version change: github.com/vektra/mockery/v3 v3.7.1 -> v3.7.2 (patch)

Note: The PR title says "update mockery/v2 to v3" but this is misleading. The actual change only bumps the existing mockery/v3 dependency from v3.7.1 to v3.7.2. The mockery/v2 v2.53.6 dependency is untouched.

Changes (v3.7.2):

  • FAQ: highlight that package path errors can be due to case mismatch
  • Fix: correct typos in comments and docs
  • Match interface{} as well as any in mock generation

Breaking changes: None

Security concerns: None — mockery is a dev-time code generation tool with no runtime footprint

Impact on codebase: No impact. The mockery/v3 module is listed as a direct dependency in go.mod but nothing in the codebase imports it:

  • tools.go blank-imports mockery/v2, not v3
  • All generated mocks were created by mockery v2.53.3
  • No .mockery.yaml config file exists for v3
  • CI does not install or invoke mockery

CI status: Some checks still in progress (golangci-lint, tests) at time of review — verify CI is green before merging.

Recommendation: SAFE TO MERGE

Notes:

  • The mockery/v3 dependency appears to be unused/phantom. Consider running go mod tidy to clean it up, or completing the v2-to-v3 migration (update tools.go import, create .mockery.yaml, regenerate mocks).
  • PR authored by renovate (not dependabot), so posting as comment rather than approval.

— Claude Code

@ezekiel-alexrod

Copy link
Copy Markdown
Contributor

On hold — not mergeable as-is, despite the green CI:

  • The resulting go.mod lists mockery/v3 twice (side effect of chore(deps): update module github.com/vektra/mockery/v2 to v3 #56, which added v3 without removing v2).
  • megaraid/tools.go still imports mockery/v2, and the go:generate directives use v2 CLI syntax (--name/--output), removed in v3. Mock regeneration would silently break — CI can't see it (tools build tag).

Mockery v3 needs a real migration (.mockery.yml, updated go:generate, regenerated mocks, go mod tidy). Since the affected code lives in megaraid, we'll fold this into the planned refactor of the lib (megaraid v1 into the hexagonal architecture, aligning with the clean architecture used in our recent repos) rather than doing it piecemeal here.

Keeping this PR open as a reminder; it will become a no-op once the refactor lands.

@scality-renovate
scality-renovate Bot force-pushed the renovate/github.com-vektra-mockery-v2-3.x branch from 48523a6 to cf75bc7 Compare July 31, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant