Skip to content

Regenerate counterfeiter fakes with v6.12.1#395

Merged
rkoster merged 1 commit intocloudfoundry:mainfrom
rkoster:chore/regenerate-fakes
Feb 2, 2026
Merged

Regenerate counterfeiter fakes with v6.12.1#395
rkoster merged 1 commit intocloudfoundry:mainfrom
rkoster:chore/regenerate-fakes

Conversation

@rkoster
Copy link
Contributor

@rkoster rkoster commented Feb 2, 2026

Summary

Regenerate all counterfeiter-generated fake files using counterfeiter v6.12.1 (current version in go.mod).

Changes

  • Remove per-method mutex locks from Invocations() methods (counterfeiter optimization)
  • Fix GetDefaultNetwork to properly capture IPProtocol argument
  • Update import alias from boship to ip for consistency

Context

This PR is a prerequisite for #394 (agent-managed firewall). The firewall PR ran go generate which updated all fakes, resulting in unrelated diffs. By merging this first, #394 can be rebased to contain only the feature-specific changes.

Testing

  • go build ./... passes
  • go test ./platform/... passes

Run go generate to update all counterfeiter-generated fake files.

Changes include:
- Remove per-method mutex locks from Invocations() methods
- Fix GetDefaultNetwork to properly capture IPProtocol argument
- Update import alias from boship to ip for consistency
@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Feb 2, 2026
@rkoster rkoster merged commit 0761dfb into cloudfoundry:main Feb 2, 2026
10 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants