Skip to content

Regenerate counterfeiter fakes with v6.12.2#3799

Open
rkoster wants to merge 1 commit into
mainfrom
regenerate-counterfeiter-fakes
Open

Regenerate counterfeiter fakes with v6.12.2#3799
rkoster wants to merge 1 commit into
mainfrom
regenerate-counterfeiter-fakes

Conversation

@rkoster

@rkoster rkoster commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • Runs go generate ./... to bring all generated fakes in sync with the counterfeiter version pinned in go.mod (v6.12.2)
  • The main change is that Invocations() no longer emits per-field RLock/RUnlock calls — this is the output of the newer counterfeiter version
  • 180 files changed, no functional difference — purely a codegen sync

Why

The fakes in main were generated with an older version of counterfeiter. This causes unrelated fake changes to show up in feature PRs that happened to run go generate. This PR cleans up main so future PRs only show fakes changes that are actually relevant to their interface changes.

Runs go generate ./... to bring all generated fakes in sync with the
counterfeiter version pinned in go.mod (v6.12.2). The main visible
change is that the generated Invocations() method no longer emits
per-field RLock/RUnlock calls, which is the output of the newer
counterfeiter version.
@rkoster rkoster requested a review from jcvrabo June 17, 2026 12:19

@jcvrabo jcvrabo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, basically doing what it states (removal of the extra locks for the invocations method)

@rkoster rkoster requested a review from prkalle June 17, 2026 12:32
@rkoster rkoster mentioned this pull request Jun 17, 2026
9 tasks
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.

2 participants