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 CLI.

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Dependency Bump Evaluation

Version change: v3.7.1 -> v3.7.2 (patch)

Note: The PR title suggests a v2->v3 major bump, but the actual diff is a patch bump within v3. The main branch already carries both mockery/v2 v2.53.6 (used by legacy go:generate directives) and mockery/v3; this PR only updates the v3 line.

Changes (v3.7.2):

  • FAQ documentation improvement for package path case mismatch errors
  • Typo corrections in comments and docs
  • Match interface{} as well as any (compatibility improvement)

Breaking changes: None

Security concerns: None - all changes are documentation, typo fixes, and a minor compatibility improvement

Impact on codebase: The project currently uses mockery v2 for mock generation (pkg/implementation/raidcontroller/megaraid/tools.go still imports mockery/v2 and uses v2-style --name flags). The v3 dependency is present but not yet actively used for generation. This patch bump has no effect on existing code.

CI status: Some checks still in progress (golangci-lint, tests) at time of evaluation

Recommendation: SAFE TO MERGE (once CI is green)

-- 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
@scality-renovate
scality-renovate Bot force-pushed the renovate/github.com-vektra-mockery-v2-3.x branch from cf75bc7 to f443c2d Compare August 17, 2026 04:10
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