beads/internal/procid
matt wilkie 7f04e6fdcc
fix(lint): check deferred windows.CloseHandle returns (errcheck) (#5088)
Main went red at e2dd121f4: the Build Artifacts / PR Lint windows lint
pass flags three bare 'defer windows.CloseHandle(...)' calls in
internal/procid/procid_windows.go and
internal/storage/dbproxy/proxy/process_executable_windows.go
(introduced with #5013). Switched to the established convention used
everywhere else in the tree: defer func() { _ = windows.CloseHandle(...) }().

Verified: GOOS=windows go build of both packages and golangci-lint
clean.

Agent-Signature: claude-fable-5-high on behalf of matt wilkie
2026-07-26 14:47:37 -07:00
..
procid.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
procid_darwin.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
procid_linux.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
procid_linux_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
procid_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00
procid_windows.go fix(lint): check deferred windows.CloseHandle returns (errcheck) (#5088) 2026-07-26 14:47:37 -07:00
procid_windows_test.go fix(dbproxy): verified identity for the managed proxied-server lifecycle (adoption, cleanup, kills) (#5013) 2026-07-26 12:52:51 -07:00