Skip to content

refactor: stream api #5453

refactor: stream api

refactor: stream api #5453

Triggered via pull request February 6, 2025 07:19
Status Failure
Total duration 56s
Artifacts

pr-check.yml

on: pull_request
compliant
46s
compliant
golangci-lint
25s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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)