mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-14 22:03:17 +00:00
is not staticcheck/golangci-lint clean #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The repo currently passes
go vetandgo test -race, but it is not clean under the stricter static analysis pass we should expect for a public host daemon.What I hit locally:
staticcheck ./...reports unused symbols:hostVSockPathininternal/firecracker/launch.go:234snapshotPathsandbuildSnapshotPathsininternal/firecracker/paths.go:71-77golangci-lint run ./...reports a larger errcheck and ineffassign set, including unchecked closes and removals plus an ineffectual assignment inwaitForSocket.Representative findings:
main.go:63,internal/daemon/files.go,internal/daemon/snapshot.go, andinternal/store/file_store.gointernal/daemon/files.go:270,internal/daemon/files.go:309internal/firecracker/launch.go:164Expected behavior:
staticcheckandgolangci-lint, with analyzer runs enforced in CI.Suggested follow-up: