Introduce heap balancer for the gRPC connection pool #998
Annotations
7 errors and 4 warnings
lint:
go/pkg/balancer/heap_test.go#L22
S1038: should use t.Fatalf(...) instead of t.Fatal(fmt.Sprintf(...)) (gosimple)
|
lint:
go/pkg/balancer/heap_test.go#L14
SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (staticcheck)
|
lint:
go/pkg/balancer/heap.go#L70
error returned from external package is unwrapped: sig: func (*google.golang.org/grpc.ClientConn).Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...google.golang.org/grpc.CallOption) error (wrapcheck)
|
lint:
go/pkg/balancer/heap.go#L80
error returned from external package is unwrapped: sig: func (*google.golang.org/grpc.ClientConn).NewStream(ctx context.Context, desc *google.golang.org/grpc.StreamDesc, method string, opts ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ClientStream, error) (wrapcheck)
|
lint:
go/pkg/balancer/heap.go#L98
error returned from external package is unwrapped: sig: func errors.Join(errs ...error) error (wrapcheck)
|
lint:
go/pkg/balancer/roundrobin.go#L43
error returned from external package is unwrapped: sig: func (*google.golang.org/grpc.ClientConn).Invoke(ctx context.Context, method string, args interface{}, reply interface{}, opts ...google.golang.org/grpc.CallOption) error (wrapcheck)
|
lint:
go/pkg/balancer/roundrobin.go#L48
error returned from external package is unwrapped: sig: func (*google.golang.org/grpc.ClientConn).NewStream(ctx context.Context, desc *google.golang.org/grpc.StreamDesc, method string, opts ...google.golang.org/grpc.CallOption) (google.golang.org/grpc.ClientStream, error) (wrapcheck)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|