fix: resolve golangci-lint issues in pipeline inference code #892
ci.yml
on: push
Lint
2m 31s
Build
1m 11s
UI Tests
24s
Validate Example Configs
5m 29s
Matrix: test
Annotations
13 errors
|
UI Tests
Process completed with exit code 1.
|
|
UI Tests:
ui/src/components/trace/TraceView.tsx#L29
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
UI Tests:
ui/src/components/trace/TraceView.tsx#L16
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint:
module/auth_m2m.go#L313
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
Lint:
module/auth_m2m.go#L280
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
Lint:
module/auth_m2m.go#L274
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
Lint:
module/api_workflow_handler.go#L47
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
Lint:
module/api_v1_handler.go#L1073
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
Lint:
module/api_v1_handler.go#L1061
G120: Parsing form data without limiting request body size can allow memory exhaustion (use http.MaxBytesReader) (gosec)
|
|
Lint:
module/api_v1_handler.go#L925
G706: Log injection via taint analysis (gosec)
|
|
Lint:
middleware/apikey.go#L75
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
Lint:
licensing/validator.go#L100
G118: Goroutine uses context.Background/TODO while request-scoped context is available (gosec)
|
|
Lint:
cmd/server/main.go#L1425
G118: context cancellation function returned by WithCancel/WithTimeout/WithDeadline is not called (gosec)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
admin-ui-dist
Expired
|
266 KB |
sha256:b99b7ea231c615705058db64b58cec87bf7dbba1aacec23cad5836b9d45f9f9e
|
|