refactor: stream api #5363
pr-check.yml
on: pull_request
compliant
49s
golangci-lint
23s
Annotations
10 errors and 1 warning
golangci-lint:
pkg/endpoint/client/endpoint.go#L6
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
pkg/endpoint/server/endpoint.go#L6
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
pkg/rpcinfo/remoteinfo/remoteInfo.go#L24
"github.com/cloudwego/kitex/internal" imported and not used (typecheck)
|
golangci-lint:
internal/client/option.go#L29
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
golangci-lint:
internal/client/option.go#L52
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
internal/server/option.go#L31
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
golangci-lint:
internal/mocks/remote/servicesearcher.go#L34
declared and not used: svcInfo (typecheck)
|
golangci-lint:
pkg/remote/trans/streamx/server_handler.go#L184
declared and not used: reqArgs (typecheck)
|
golangci-lint:
pkg/remote/trans/streamx/server_handler.go#L185
declared and not used: resArgs (typecheck)
|
golangci-lint:
client/stream.go#L24
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
compliant
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|