internal/channel/channel.go:128:31: response body must be closed (bodyclose)
internal/zipartifacts/open_archive.go:74:28: response body must be closed (bodyclose)
internal/git/diff.go:1: 1-48 lines are duplicate of `internal/git/format-patch.go:1-49` (dupl)
internal/git/format-patch.go:1: 1-49 lines are duplicate of `internal/git/diff.go:1-48` (dupl)
internal/testhelper/gitaly.go:277: 277-296 lines are duplicate of `internal/testhelper/gitaly.go:315-336` (dupl)
internal/testhelper/gitaly.go:315: 315-336 lines are duplicate of `internal/testhelper/gitaly.go:338-357` (dupl)
internal/testhelper/gitaly.go:338: 338-357 lines are duplicate of `internal/testhelper/gitaly.go:277-296` (dupl)
internal/git/io.go:141:22: Error return value of `tempfile.Close` is not checked (errcheck)
internal/git/io.go:173:17: Error return value of `tempfile.Close` is not checked (errcheck)
internal/git/receive-pack.go:22:16: Error return value of `cw.Flush` is not checked (errcheck)
internal/git/upload-pack.go:42:16: Error return value of `cw.Flush` is not checked (errcheck)
internal/staticpages/servefile.go:119:26: Error return value of `httpResponse.Body.Close` is not checked (errcheck)
cmd/gitlab-workhorse/main.go:119:6: Function 'buildConfig' has too many statements (43 > 40) (funlen)
internal/ai_assist/duoworkflow/runner.go:383:18: Function 'handleAgentAction' is too long (109 > 60) (funlen)
internal/healthcheck/puma_checker.go:77:32: Function 'Check' is too long (62 > 60) (funlen)
internal/upstream/routes.go:308:6: Function 'configureRoutes' is too long (313 > 60) (funlen)
internal/upstream/upstream.go:92:6: Function 'newUpstream' is too long (63 > 60) (funlen)
cmd/gitlab-workhorse/main.go:213:1: cognitive complexity 33 of func `run` is high (> 20) (gocognit)
internal/git/archive.go:67:1: cognitive complexity 23 of func `(*archive).Inject` is high (> 20) (gocognit)
internal/transport/transport.go:147:1: cognitive complexity 59 of func `validateIPAddress` is high (> 20) (gocognit)
internal/git/io_test.go:89:14: string `test data` has 3 occurrences, make it a constant (goconst)
internal/git/error.go:38:4: singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
cmd/gitlab-workhorse/main.go:349:10: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
internal/ai_assist/duoworkflow/actions.go:104:24: G115: integer overflow conversion int -> int32 (gosec)
internal/ai_assist/duoworkflow/client.go:62:73: G402: TLS MinVersion too low. (gosec)
internal/api/channel_settings.go:57:28: G402: TLS MinVersion too low. (gosec)
internal/config/config.go:315:18: G204: Subprocess launched with variable (gosec)
internal/config/config.go:460:8: G101: Potential hardcoded credentials (gosec)
internal/listener/listener.go:28:16: G402: TLS MinVersion too low. (gosec)
internal/testhelper/testhelper.go:251:21: G302: Expect file permissions to be 0600 or less (gosec)
internal/zipartifacts/metadata.go:118:54: G115: integer overflow conversion int -> uint32 (gosec)
internal/upstream/routes.go:213:74: (*upstream).wsRoute - matchers always receives nil (unparam)
