fix: goroutine WaitGroup race in test #14
Annotations
10 errors and 1 warning
|
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
|
backend/direct_connection.go#L622
[staticcheck] reported by reviewdog 🐶
should use make([]byte, len(db) + 1) instead
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use make([]byte, len(db) + 1) instead","code":{"value":"S1019","url":"https://staticcheck.io/docs/checks#S1019"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/direct_connection.go","range":{"start":{"line":622,"column":23},"end":{"line":622,"column":32}}},"related_locations":[],"severity":"ERROR"}
|
|
backend/direct_connection.go#L607
[staticcheck] reported by reviewdog 🐶
this value of pos is never used
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of pos is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/direct_connection.go","range":{"start":{"line":607,"column":3},"end":{"line":607,"column":48}}},"related_locations":[],"severity":"ERROR"}
|
|
backend/direct_connection.go#L582
[staticcheck] reported by reviewdog 🐶
should use make([]byte, length) instead
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use make([]byte, length) instead","code":{"value":"S1019","url":"https://staticcheck.io/docs/checks#S1019"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/direct_connection.go","range":{"start":{"line":582,"column":23},"end":{"line":582,"column":29}}},"related_locations":[],"severity":"ERROR"}
|
|
backend/direct_connection.go#L277
[staticcheck] reported by reviewdog 🐶
redundant return statement
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"redundant return statement","code":{"value":"S1023","url":"https://staticcheck.io/docs/checks#S1023"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/direct_connection.go","range":{"start":{"line":277,"column":2},"end":{"line":277,"column":8}}},"related_locations":[],"severity":"ERROR"}
|
|
backend/connection_pool.go#L381
[staticcheck] reported by reviewdog 🐶
possible nil pointer dereference
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"possible nil pointer dereference","code":{"value":"SA5011","url":"https://staticcheck.io/docs/checks#SA5011"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":381,"column":11},"end":{"line":381,"column":13}}},"related_locations":[{"message":"this check suggests that the pointer can be nil","location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":382,"column":5},"end":{"line":382,"column":14}}}}],"severity":"ERROR"}
|
|
backend/connection_pool.go#L380
[staticcheck] reported by reviewdog 🐶
possible nil pointer dereference
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"possible nil pointer dereference","code":{"value":"SA5011","url":"https://staticcheck.io/docs/checks#SA5011"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":380,"column":5},"end":{"line":380,"column":7}}},"related_locations":[{"message":"this check suggests that the pointer can be nil","location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":382,"column":5},"end":{"line":382,"column":14}}}}],"severity":"ERROR"}
|
|
backend/connection_pool.go#L371
[staticcheck] reported by reviewdog 🐶
possible nil pointer dereference
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"possible nil pointer dereference","code":{"value":"SA5011","url":"https://staticcheck.io/docs/checks#SA5011"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":371,"column":11},"end":{"line":371,"column":13}}},"related_locations":[{"message":"this check suggests that the pointer can be nil","location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":372,"column":5},"end":{"line":372,"column":14}}}}],"severity":"ERROR"}
|
|
backend/connection_pool.go#L370
[staticcheck] reported by reviewdog 🐶
possible nil pointer dereference
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"possible nil pointer dereference","code":{"value":"SA5011","url":"https://staticcheck.io/docs/checks#SA5011"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":370,"column":5},"end":{"line":370,"column":7}}},"related_locations":[{"message":"this check suggests that the pointer can be nil","location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":372,"column":5},"end":{"line":372,"column":14}}}}],"severity":"ERROR"}
|
|
backend/connection_pool.go#L160
[staticcheck] reported by reviewdog 🐶
redundant return statement
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"redundant return statement","code":{"value":"S1023","url":"https://staticcheck.io/docs/checks#S1023"},"location":{"path":"/home/runner/work/Gaea/Gaea/backend/connection_pool.go","range":{"start":{"line":160,"column":2},"end":{"line":160,"column":8}}},"related_locations":[],"severity":"ERROR"}
|
|
|
The logs for this run have expired and are no longer available.
Loading