Skip to content

fix: routinegroup & etcd watch goroutine leak #4605

fix: routinegroup & etcd watch goroutine leak

fix: routinegroup & etcd watch goroutine leak #4605

Re-run triggered January 22, 2025 05:38
Status Success
Total duration 2m 5s
Artifacts

reviewdog.yml

on: pull_request
runner / staticcheck
1m 55s
runner / staticcheck
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
runner / staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/zeromicro/go-zero/core/discov core/discov/subscriber.go:23:3: key redeclared core/discov/subscriber.go:20:3: other declaration of key Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/zeromicro/go-zero/core/discov\ncore/discov/subscriber.go:23:3: key redeclared\n\tcore/discov/subscriber.go:20:3: other declaration of key","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/zeromicro/go-zero/core/discov [github.com/zeromicro/go-zero/core/discov.test] core/discov/subscriber.go:23:3: key redeclared core/discov/subscriber.go:20:3: other declaration of key Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/zeromicro/go-zero/core/discov [github.com/zeromicro/go-zero/core/discov.test]\ncore/discov/subscriber.go:23:3: key redeclared\n\tcore/discov/subscriber.go:20:3: other declaration of key","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck
[staticcheck] reported by reviewdog 🐶 # github.com/zeromicro/go-zero/core/discov/internal [github.com/zeromicro/go-zero/core/discov/internal.test] core/discov/internal/registry_test.go:334:17: undefined: endpoints core/discov/internal/registry_test.go:344:4: no new variables on left side of := core/discov/internal/registry_test.go:345:40: undefined: endpoints core/discov/internal/registry_test.go:346:62: undefined: endpoints core/discov/internal/registry_test.go:347:26: undefined: endpoints core/discov/internal/registry_test.go:348:62: undefined: endpoints Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/zeromicro/go-zero/core/discov/internal [github.com/zeromicro/go-zero/core/discov/internal.test]\ncore/discov/internal/registry_test.go:334:17: undefined: endpoints\ncore/discov/internal/registry_test.go:344:4: no new variables on left side of :=\ncore/discov/internal/registry_test.go:345:40: undefined: endpoints\ncore/discov/internal/registry_test.go:346:62: undefined: endpoints\ncore/discov/internal/registry_test.go:347:26: undefined: endpoints\ncore/discov/internal/registry_test.go:348:62: undefined: endpoints","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
runner / staticcheck
Unexpected input(s) 'fail_level', valid inputs are ['github_token', 'workdir', 'level', 'reporter', 'filter_mode', 'fail_on_error', 'reviewdog_flags', 'target', 'staticcheck_flags']