Skip to content

chore(deps): update github.com/vektra/mockery/v3 - #121

Open
scality-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/golang
Open

scality-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/golang

Conversation

@scality-renovate

@scality-renovate scality-renovate Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update Pending
github.com/vektra/mockery/v3 v3.8.0 → v3.9.0 age adoption passing confidence indirect minor v3.9.1
golangci/golangci-lint v2.14.0 → v2.15.0 age adoption passing confidence minor
golangci/golangci-lint 2.14.0 → 2.15.0 age adoption passing confidence minor

mockery changes: run go generate ./... and commit the mocks if they differ.

This repository is a library. If this PR raises the go directive, every consumer must build with that Go: check the lowest consumer first.

A new golangci-lint can report findings on existing code: fix them in a separate PR first.


Release Notes

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

v3.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.8.1...v3.9.0

v3.8.1

Compare Source

What's Changed

New Contributors

Full Changelog: vektra/mockery@v3.8.0...v3.8.1

golangci/golangci-lint

v2.15.0

Compare Source

Released on 2026-10-16

  1. Linters new features or changes
    • errcheck: from 1.20.0 to 1.30.0
    • exhaustive: from 0.13.0 to 0.15.0 (⚠️ changes)
    • gocognit: from 1.2.1 to 1.3.0
    • golines: from 0.15.0 to 0.16.0
    • govet-modernize: from 0.50.0 to 0.52.0
    • loggercheck: from 0.12.0 to 0.13.0
    • predeclared: from 0.2.2 to 0.3.0
    • wrapcheck: from 2.12.0 to 2.13.0
  2. Linters bug fixes
    • bidichk: from 0.3.3 to 0.3.4
    • canonicalheader: from a25c71c to e18e5c5
    • gofumpt: improve deprecation logs
    • gosec: improve concurrency default value
    • iface: from 1.5.1 to 1.5.3
    • paralleltest: from 1.0.15 to 1.0.16
    • revive: from 1.17.0 to 1.17.1
    • revive: the rules context-keys-type, errorf, modifies-value-receiver, range-val-address, string-of-int, time-equal, time-naming, unexported-return, unhandled-error, var-declaration are working (less randomly).
    • rowserrcheck: from c5f79b8 to e0740d5
    • staticcheck: from 0.8.1 to 0.8.2
  3. Bug fixes
    • fix: compute custom version hash with module versions
    • fix: env vars loading (related to revive)

⚠️ Changes of the exhaustive linter:

  • The replaced options still exists, and partially works, but they are deprecated.
  • The options explicit-exhaustive-switch and explicit-exhaustive-map have been replaced by explicit-exhaustive.
  • The check the value map has been replaced by mapliteral.
  • The option ignore-enum-members (string) has been replaced by ignore-constants (slice).
  • The option ignore-enum-types (string) has been replaced by ignore-types (slice).
  • New report messages.
  • The linter is a now a "slow" linter.

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@scality-renovate

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by minimumReleaseAge=7 days

Details:

Package Change
go 1.25.6 -> 1.26.0
golang.org/x/mod v0.40.0 -> v0.41.0
golang.org/x/sync v0.22.0 -> v0.23.0
golang.org/x/sys v0.47.0 -> v0.48.0
golang.org/x/tools v0.49.0 -> v0.51.0

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Dependency Bump Evaluation

Version change:

  • github.com/vektra/mockery/v3 v3.8.0 -> v3.9.0 (indirect, tool directive only)
  • golangci/golangci-lint v2.14.0 -> v2.15.0 (CI pre-merge.yaml + .devcontainer/Dockerfile)
  • Transitive: golang.org/x/tools v0.49.0 -> v0.51.0, x/mod v0.40.0 -> v0.41.0, x/sync v0.22.0 -> v0.23.0, x/sys v0.47.0 -> v0.48.0
  • go directive: 1.25.6 -> 1.26.0

Semver bump type: minor

Changes:

  • mockery 3.8.1/3.9.0: additive features (memprofile, resolve-internal-aliases, cascading replace-type, generate: false overrides all: true), migrate-tool fixes, and the x/tools bump needed for newer Go export data. Our .mockery.yml (testify template, 2 explicit interfaces, no all: true/replace-type) uses none of the changed options.
  • golangci-lint 2.15.0: linter upgrades. exhaustive 0.13 -> 0.15 renames options and changes its messages. revive rules context-keys-type, errorf, modifies-value-receiver, range-val-address, string-of-int, time-equal, time-naming, unexported-return, unhandled-error, var-declaration now run more reliably. Also upgrades errcheck, wrapcheck, staticcheck and gocognit.

Breaking changes: No API breaks in our code: mockery is only a dev tool, and the library imports nothing from it. But the go directive goes from 1.25.6 to 1.26.0. This is a library, so every consumer module must build with Go >= 1.26 after this merges. The new x/tools (pulled in by mockery 3.9.0) most likely forced this change.

Security concerns: None. No CVE fixes are listed. The new transitive versions are golang.org/x/* modules. Everything is dev tooling and does not ship in the library build.

Impact on codebase:

  • .golangci.yaml enables exhaustive with default settings, so the renamed options do not affect us. All the revive rules listed above are enabled with disabled: false, so the new lint version may report new findings on existing code.
  • mockery output drift: go generate ./... was not run during this evaluation. Check that pkg/implementation/raidcontroller/megaraid/mocks/{PathResolver,Runner}.go stay unchanged.
  • .devcontainer/Dockerfile still uses the devcontainers/go:1.25 base image. With go 1.26.0 it will rely on GOTOOLCHAIN auto-download.
  • scenario/go.mod is not updated in this PR.

Recommendation: REVIEW REQUIRED

Notes:

  1. Confirm that raising the minimum Go to 1.26.0 is OK for the oldest consumer of github.com/scality/raidmgmt. If not, hold this PR or pin mockery/x/tools.
  2. Wait for the golangci-lint and tests jobs, still in progress at evaluation time, on both modules. If golangci-lint 2.15.0 reports new findings, fix them in a separate PR first.
  3. Run go generate ./... and commit any mock diff.
  4. The PR is authored by scality-renovate[bot], not dependabot, so it was not auto-approved.

— Claude Code

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.

0 participants