Skip to content

feat: support load nearby routes from cache files #375

feat: support load nearby routes from cache files

feat: support load nearby routes from cache files #375

Triggered via pull request December 15, 2025 12:22
Status Success
Total duration 1m 7s
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): plugin/loadbalancer/hash/config.go#L18
should have a package comment
Run Revive Action (1.22.x): pkg/algorithm/rand/scalable_rand_test.go#L51
parameter 't' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.22.x): examples/loadbalancer/consumer/main.go#L65
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.22.x): examples/ratelimit/provider-a/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.22.x): examples/configuration/group/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): examples/activehealthcheck/main.go#L129
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.20.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/instance/longpull/main.go#L88
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/service/notify/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/watch/service/longpull/main.go#L77
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.20.x): examples/watch/service/longpull/main.go#L52
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
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/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/activehealthcheck/main.go#L129
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x): pkg/plugin/healthcheck/healthcheck.go#L78
comment on exported method DetectResultImp.GetCode should be of the form "GetCode ..."
Run Revive Action (1.19.x): pkg/plugin/location/location.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/plugin/localregistry/localregistry.go#L18
should have a package comment
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.19.x): pkg/plugin/events/eventReporter.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/plugin/configfilter/configfilter.go#L19
should have a package comment
Run Revive Action (1.21.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.21.x): api_config.go#L121
comment on exported function NewConfigGroupAPIByConfig should be of the form "NewConfigGroupAPIByConfig ..."
Run Revive Action (1.21.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.21.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.21.x): pkg/model/pb/metric/v2/code.go#L22
exported type Code should have comment or be unexported
Run Revive Action (1.21.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.21.x): examples/activehealthcheck/main.go#L129
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.21.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.21.x): examples/configuration/fallback/main.go#L18
should have a package comment