feat: handshake code #83
lint.yml
on: push
GolangCI-Lint
32s
NilAway (non blocking)
42s
Annotations
2 errors and 8 warnings
|
GolangCI-Lint
issues found
|
|
GolangCI-Lint:
ui/embed.go#L9
pattern all:dist: no matching files found (typecheck)
|
|
NilAway:
.#L0
- gomock/controller.go:239:9: unassigned variable `rets` returned from `Call()` in position 0
|
|
NilAway:
.#L0
/home/runner/work/counterspell/counterspell/internal/agent/mock_llm_caller.go:47:13: error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
|
NilAway:
.#L0
(Same nil source could also cause potential nil panic(s) at 5 other place(s): agent/llm_caller.go:111:5, agent/llm_caller.go:112:46, agent/llm_caller.go:277:30, agent/llm_caller.go:282:5, and agent/llm_caller.go:283:46.)
|
|
NilAway:
.#L0
- `client.Do(...)` to `resp` at agent/llm_caller.go:100:2
|
|
NilAway:
.#L0
- agent/llm_caller.go:106:30: result 0 of `Do()` accessed field `Body` via the assignment(s):
|
|
NilAway:
.#L0
- http/client.go:587:9: result 0 of `do()` returned from `Do()` in position 0
|
|
NilAway:
.#L0
- http/client.go:643:12: unassigned variable `resp` returned from `do()` in position 0
|
|
NilAway:
.#L0
/home/runner/work/counterspell/counterspell/internal/agent/llm_caller.go:106:30: error: Potential nil panic detected. Observed nil flow from source to dereference point:
|