Skip to content

Commit dd7ca13

Browse files
committed
Add CountWorkers API and regenerate protos
Update proto submodule and regenerate Go code for CountWorkers RPC. Keep existing mock library (github.com/golang/mock) for SDK compatibility. Also fix mockgen-fix tool for newer mockgen version. Made-with: Cursor
1 parent 5b42c72 commit dd7ca13

11 files changed

Lines changed: 1359 additions & 911 deletions

File tree

cmd/mockgen-fix/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func run() error {
4444

4545
// After the closing brace, we need to add the type assertion to ensure
4646
// interface conformance
47-
endBrace := structIndex + strings.Index(source[structIndex:], "}\n") + 2
47+
endBrace := structIndex + strings.Index(source[structIndex:], "\n}\n") + 3
4848
source = source[:endBrace] +
4949
fmt.Sprintf(
5050
"\nvar _ %v.%vServer = (*Mock%vServer)(nil)\n\n",

proxy/service.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalproto/openapi/openapiv2.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

temporalproto/openapi/openapiv3.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

workflowservice/v1/request_response.go-helpers.pb.go

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)