The pinned CI linter (golangci-lint v2.10.1) flags os.Remove(probePath) in ensureStateDirWritable as G703 path traversal via taint analysis. probePath comes from os.CreateTemp inside the StateDir that the probe just validated, so the taint finding is a false positive; suppress it with a justified nolint comment matching the existing precedent in loadConfigFile. Verified against the pinned linter version via the Dockerfile lint stage (0 issues).
14 KiB
14 KiB