Skip to content

feat: 限流-CPU使用率自适应限流 #258

feat: 限流-CPU使用率自适应限流

feat: 限流-CPU使用率自适应限流 #258

Re-run triggered December 19, 2023 07:32
Status Success
Total duration 48s
Artifacts

revive.yml

on: pull_request
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Run Revive Action (1.15.x): pkg/plugin/register/plugins.go#L18
should have a package comment
Run Revive Action (1.15.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/stat/plugin/plug.go#L18
should have a package comment
Run Revive Action (1.15.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/servicerouter/zeroprotect/zeroprotect.go#L34
exported const MetadataInstanceLastHeartbeatTime should have comment (or a comment on this block) or be unexported
Run Revive Action (1.16.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/model/pb/metric/code.go#L28
exported const ExecuteSuccess should have comment (or a comment on this block) or be unexported
Run Revive Action (1.19.x): pkg/plugin/metrics/proxy.go#L18
should have a package comment
Run Revive Action (1.19.x): plugin/configfilter/crypto/aes/aes.go#L19
should have a package comment
Run Revive Action (1.19.x): pkg/stat/plugin/plug.go#L29
type name will be used as plugin.PluginAPI by other packages, and that stutters; consider calling this API
Run Revive Action (1.19.x): pkg/plugin/location/proxy.go#L26
exported type Proxy should have comment or be unexported
Run Revive Action (1.17.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.17.x): api.go#L162
exported type CircuitBreakerAPI should have comment or be unexported
Run Revive Action (1.17.x): api.go#L134
exported type GetConfigFileRequest should have comment or be unexported
Run Revive Action (1.17.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/stat/loadbalance/lb.go#L27
type name will be used as loadbalance.LoadBalanceGauge by other packages, and that stutters; consider calling this Gauge
Run Revive Action (1.17.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/stat/plugin/plug.go#L29
type name will be used as plugin.PluginAPI by other packages, and that stutters; consider calling this API
Run Revive Action (1.17.x): pkg/stat/plugin/plug.go#L32
exported const MethodReportAlarm should have comment (or a comment on this block) or be unexported
Run Revive Action (1.17.x): pkg/stat/plugin/plug.go#L104
type name will be used as plugin.PluginAPIDelayRange by other packages, and that stutters; consider calling this APIDelayRange
Run Revive Action (1.20.x): api_config.go#L127
comment on exported function NewConfigGroupAPIByFile should be of the form "NewConfigGroupAPIByFile ..."
Run Revive Action (1.20.x): api_config.go#L116
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.20.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.20.x): api_config.go#L138
comment on exported function NewConfigGroupAPIByContext should be of the form "NewConfigGroupAPIByContext ..."
Run Revive Action (1.20.x): benchmark/benchsimple/main.go#L89
comment on exported type Durations should be of the form "Durations ..." (with optional leading article)
Run Revive Action (1.20.x): pkg/plugin/ratelimiter/model.go#L57
exported type AmountInfo should have comment or be unexported
Run Revive Action (1.20.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/circuitbreaker/composite/trigger/counter.go#L30
comment on exported type StatusChangeHandler should be of the form "StatusChangeHandler ..." (with optional leading article)
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): api_config.go#L116
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.18.x): plugin/servicerouter/dstmeta/router.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/location/location.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.18.x): test/common/constant.go#L18
should have a package comment
Run Revive Action (1.18.x): plugin/location/remotehttp/remotehttp.go#L18
should have a package comment
Run Revive Action (1.18.x): benchmark/benchmain/main.go#L18
should have a package comment