Skip to content

Introduce heap balancer for the gRPC connection pool #999

Introduce heap balancer for the gRPC connection pool

Introduce heap balancer for the gRPC connection pool #999

Triggered via pull request July 31, 2024 17:48
@mrahsmrahs
synchronize #589
mrahs:master
Status Success
Total duration 19s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/