Skip to content

Refactor error type checks to use errors.AsType #1568

Refactor error type checks to use errors.AsType

Refactor error type checks to use errors.AsType #1568

Triggered via push July 22, 2026 16:16
Status Success
Total duration 3m 35s
Artifacts

test.yml

on: push
Matrix: codeql
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

80 errors
test: ubuntu-latest: smoke/smoke.go#L265
undefined: errors.AsType
test: ubuntu-latest: smoke/smoke.go#L252
undefined: errors.AsType
test: ubuntu-latest: providers/llamacpp/llamacppsrv/llamacppsrv.go#L23
"syscall" imported and not used
test: ubuntu-latest: providers/opencode/client.go#L354
undefined: errors.AsType
test: ubuntu-latest: providers/opencode/client.go#L309
undefined: errors.AsType
test: ubuntu-latest: providers/codex/client.go#L374
undefined: errors.AsType
test: ubuntu-latest: providers/codex/client.go#L330
undefined: errors.AsType
test: ubuntu-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
test: ubuntu-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
test: macos-latest: smoke/smoke.go#L265
undefined: errors.AsType
test: macos-latest: smoke/smoke.go#L252
undefined: errors.AsType
test: macos-latest: providers/llamacpp/llamacppsrv/llamacppsrv.go#L23
"syscall" imported and not used
test: macos-latest: providers/opencode/client.go#L354
undefined: errors.AsType
test: macos-latest: providers/opencode/client.go#L309
undefined: errors.AsType
test: macos-latest: providers/codex/client.go#L374
undefined: errors.AsType
test: macos-latest: providers/codex/client.go#L330
undefined: errors.AsType
test: macos-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
test: macos-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
lint: ubuntu-latest
Process completed with exit code 1.
lint: ubuntu-latest
undefined: errors.AsType
lint: ubuntu-latest
undefined: errors.AsType
lint: ubuntu-latest
undefined: errors.AsType
lint: ubuntu-latest
undefined: errors.AsType
lint: ubuntu-latest
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L1089
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L1083
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L1077
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L1073
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L983
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L895
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L474
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L420
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L265
undefined: errors.AsType
lint: ubuntu-latest: smoke/smoke.go#L252
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
"syscall" imported and not used
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
codeql: ubuntu-latest
undefined: errors.AsType
test: windows-latest: smoke/smoke.go#L265
undefined: errors.AsType
test: windows-latest: smoke/smoke.go#L252
undefined: errors.AsType
test: windows-latest: providers/llamacpp/llamacppsrv/llamacppsrv.go#L23
"syscall" imported and not used
test: windows-latest: providers/opencode/client.go#L354
undefined: errors.AsType
test: windows-latest: providers/opencode/client.go#L309
undefined: errors.AsType
test: windows-latest: providers/codex/client.go#L374
undefined: errors.AsType
test: windows-latest: providers/codex/client.go#L330
undefined: errors.AsType
test: windows-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
test: windows-latest: providers/anthropic/client.go#L351
undefined: errors.AsType
lint: macos-latest
Process completed with exit code 1.
lint: macos-latest
undefined: errors.AsType
lint: macos-latest
undefined: errors.AsType
lint: macos-latest
undefined: errors.AsType
lint: macos-latest
undefined: errors.AsType
lint: macos-latest
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L1089
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L1083
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L1077
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L1073
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L983
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L895
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L474
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L420
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L265
undefined: errors.AsType
lint: macos-latest: smoke/smoke.go#L252
undefined: errors.AsType
lint: windows-latest
Process completed with exit code 1.
lint: windows-latest
undefined: errors.AsType
lint: windows-latest
undefined: errors.AsType
lint: windows-latest
undefined: errors.AsType
lint: windows-latest
undefined: errors.AsType
lint: windows-latest
undefined: errors.AsType
lint: windows-latest
Process completed with exit code 7.
lint: windows-latest
too many errors"