From ea0fb8c595b90c8c1718b7ce048edee98a58552d Mon Sep 17 00:00:00 2001 From: Emil Date: Mon, 3 Aug 2026 04:12:15 +0300 Subject: [PATCH] Silence the gosec warning for the wizard's own log path --- coordinator/internal/agent/setupui/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/coordinator/internal/agent/setupui/server.go b/coordinator/internal/agent/setupui/server.go index 8927076..0077606 100644 --- a/coordinator/internal/agent/setupui/server.go +++ b/coordinator/internal/agent/setupui/server.go @@ -333,6 +333,7 @@ func (s *Server) ensureVenvTaskRunner() { // parseWorkerStats counts the structured agent events in the worker log. func parseWorkerStats(logPath string) WorkerStats { var stats WorkerStats + //nolint:gosec // G304: logPath is the wizard's own log file next to the config raw, err := os.ReadFile(logPath) if err != nil { return stats