Skip to content

feat: configAPI support return config version #379

feat: configAPI support return config version

feat: configAPI support return config version #379

Triggered via pull request December 24, 2025 02:28
Status Success
Total duration 2m 21s
Artifacts

revive.yml

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

Annotations

40 warnings
Run Revive Action (1.22.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/loadbalancer/consumer/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/route/metadata/consumer/main.go#L18
should have a package comment
Run Revive Action (1.22.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/ratelimit/provider-b/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/flow/registerstate/register_flow.go#L41
exported function NewRegisterStateManager should have comment or be unexported
Run Revive Action (1.22.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/provider-a/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/loadbalancer/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.19.x): api_config.go#L121
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.19.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/loadbalancer/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/loadbalancer/provider/main.go#L132
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.21.x): test/all_suite_test.go#L33
should not use dot imports
Run Revive Action (1.21.x): pkg/plugin/loadbalancer/util.go#L25
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.21.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/model/local/value.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.21.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.21.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.21.x): pkg/plugin/weightadjuster/proxy.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/route/metadata/consumer/main.go#L89
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): plugin/healthcheck/udp/config.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/healthcheck/tcp/config.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/loadbalancer/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/loadbalancer/consumer/main.go#L65
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/weightadjuster/proxy.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/ratelimiter/model.go#L18
should have a package comment