fix: resolve golangci-lint issues in pipeline inference code #72
copilot-setup-steps.yml
on: push
copilot-setup-steps
4m 56s
Annotations
10 errors
|
copilot-setup-steps:
module/auth_m2m.go#L313
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
copilot-setup-steps:
module/auth_m2m.go#L280
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
copilot-setup-steps:
module/auth_m2m.go#L274
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
copilot-setup-steps:
module/api_workflow_handler.go#L47
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
copilot-setup-steps:
module/api_v1_handler.go#L1073
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
copilot-setup-steps:
module/api_v1_handler.go#L1061
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
copilot-setup-steps:
module/api_v1_handler.go#L925
G706: Log injection via taint analysis (gosec)
|
|
copilot-setup-steps:
middleware/apikey.go#L75
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
copilot-setup-steps:
licensing/validator.go#L100
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
copilot-setup-steps:
cmd/server/main.go#L1425
G118: context cancellation function returned by WithCancel/WithTimeout/WithDeadline is not called (gosec)
|