Skip to content

refactor:重构grpc-go-polaris的相关版本设计 #131

refactor:重构grpc-go-polaris的相关版本设计

refactor:重构grpc-go-polaris的相关版本设计 #131

Triggered via pull request June 20, 2024 11:19
Status Failure
Total duration 58s
Artifacts

testing.yml

on: pull_request
Matrix: build
Matrix: golangci-lint
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 57 warnings
build (1.17): logger.go#L25
exported type LogLevel should have comment or be unexported
build (1.17): logger.go#L29
exported const LogDebug should have comment (or a comment on this block) or be unexported
build (1.17): logger.go#L35
exported type Logger should have comment or be unexported
build (1.17): resolver.go#L38
exported type ResolverContext should have comment or be unexported
build (1.17): resolver.go#L52
comment on exported function RegisterResolverInterceptor should be of the form "RegisterResolverInterceptor ..."
build (1.17): server_option.go#L135
exported function WithSDKContext should have comment or be unexported
build (1.17): server_option.go#L275
comment on exported function WithServerPolarisContext should be of the form "WithServerPolarisContext ..."
build (1.17): server_option.go#L282
comment on exported function WithPolarisRateLimit should be of the form "WithPolarisRateLimit ..."
build (1.17): test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
build (1.17)
Process completed with exit code 1.
build (1.16)
The job was canceled because "_1_17" failed.
build (1.16): logger.go#L25
exported type LogLevel should have comment or be unexported
build (1.16): logger.go#L29
exported const LogDebug should have comment (or a comment on this block) or be unexported
build (1.16): logger.go#L35
exported type Logger should have comment or be unexported
build (1.16): resolver.go#L38
exported type ResolverContext should have comment or be unexported
build (1.16): resolver.go#L52
comment on exported function RegisterResolverInterceptor should be of the form "RegisterResolverInterceptor ..."
build (1.16): server_option.go#L135
exported function WithSDKContext should have comment or be unexported
build (1.16): server_option.go#L275
comment on exported function WithServerPolarisContext should be of the form "WithServerPolarisContext ..."
build (1.16): server_option.go#L282
comment on exported function WithPolarisRateLimit should be of the form "WithPolarisRateLimit ..."
build (1.16): test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
build (1.16)
Process completed with exit code 1.
build (1.15)
The job was canceled because "_1_17" failed.
build (1.15): logger.go#L25
exported type LogLevel should have comment or be unexported
build (1.15): logger.go#L29
exported const LogDebug should have comment (or a comment on this block) or be unexported
build (1.15): logger.go#L35
exported type Logger should have comment or be unexported
build (1.15): resolver.go#L38
exported type ResolverContext should have comment or be unexported
build (1.15): resolver.go#L52
comment on exported function RegisterResolverInterceptor should be of the form "RegisterResolverInterceptor ..."
build (1.15): server_option.go#L135
exported function WithSDKContext should have comment or be unexported
build (1.15): server_option.go#L275
comment on exported function WithServerPolarisContext should be of the form "WithServerPolarisContext ..."
build (1.15): server_option.go#L282
comment on exported function WithPolarisRateLimit should be of the form "WithPolarisRateLimit ..."
build (1.15): test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
build (1.15)
Process completed with exit code 1.
build (1.18)
The job was canceled because "_1_17" failed.
build (1.18): logger.go#L25
exported type LogLevel should have comment or be unexported
build (1.18): logger.go#L29
exported const LogDebug should have comment (or a comment on this block) or be unexported
build (1.18): logger.go#L35
exported type Logger should have comment or be unexported
build (1.18): resolver.go#L38
exported type ResolverContext should have comment or be unexported
build (1.18): resolver.go#L52
comment on exported function RegisterResolverInterceptor should be of the form "RegisterResolverInterceptor ..."
build (1.18): server_option.go#L135
exported function WithSDKContext should have comment or be unexported
build (1.18): server_option.go#L275
comment on exported function WithServerPolarisContext should be of the form "WithServerPolarisContext ..."
build (1.18): server_option.go#L282
comment on exported function WithPolarisRateLimit should be of the form "WithPolarisRateLimit ..."
build (1.18): test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
build (1.18)
Process completed with exit code 1.
golangci-lint (1.18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3.2.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (1.18.x)
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/
golangci-lint (1.18.x)
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/
golangci-lint (1.16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3.2.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (1.16.x)
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/
golangci-lint (1.16.x)
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/
golangci-lint (1.15.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3.2.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (1.15.x)
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/
golangci-lint (1.15.x)
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/
golangci-lint (1.17.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3.2.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (1.17.x)
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/
golangci-lint (1.17.x)
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/
Run Revive Action (1.15.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.15.x): examples/routing/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/routing/provider/main.go#L50
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): examples/ratelimit/provider/main.go#L39
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
Run Revive Action (1.15.x): test/server_test.go#L45
parameter 'c' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): test/server_test.go#L68
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): test/server_test.go#L61
parameter 'c' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.18.x): examples/circuitbreak/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/circuitbreak/provider/main.go#L42
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/routing/provider/main.go#L50
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/circuitbreak/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/quickstart/provider/main.go#L41
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/routing/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/routing/consumer/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/ratelimit/provider/main.go#L39
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.16.x): examples/circuitbreak/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/circuitbreak/provider/main.go#L42
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): test/tools/tools_vet.go#L18
should have a package comment
Run Revive Action (1.16.x): test/server_test.go#L45
parameter 'c' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/ratelimit/provider/main.go#L39
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): test/mock/naming.go#L74
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): test/server_test.go#L61
parameter 'c' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): examples/quickstart/provider/main.go#L41
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.17.x): examples/circuitbreak/provider/main.go#L42
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): examples/circuitbreak/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/circuitbreak/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): logger.go#L25
exported type LogLevel should have comment or be unexported
Run Revive Action (1.17.x): examples/routing/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/routing/provider/main.go#L50
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.17.x): server_option.go#L135
exported function WithSDKContext should have comment or be unexported
Run Revive Action (1.17.x): test/tools/tools_vet.go#L18
should have a package comment
Run Revive Action (1.17.x): resolver.go#L38
exported type ResolverContext should have comment or be unexported
build (1.17)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.