Skip to content

⚠ (feat) Introduce new feature-gated metas endpoint #4730

⚠ (feat) Introduce new feature-gated metas endpoint

⚠ (feat) Introduce new feature-gated metas endpoint #4730

Triggered via pull request January 29, 2025 18:57
Status Failure
Total duration 3m 30s
Artifacts

sanity.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: catalogd/internal/serverutil/serverutil_test.go#L237
Error return value of `w.Write` is not checked (errcheck)
lint: catalogd/internal/storage/localdir_test.go#L347
response body must be closed (bodyclose)
lint: catalogd/internal/storage/localdir_test.go#L487
response body must be closed (bodyclose)
lint: catalogd/internal/storage/index.go#L71
`if schema == ""` has complex nested blocks (complexity: 17) (nestif)
lint: catalogd/internal/storage/localdir.go#L61
Consider pre-allocating `metaChans` (prealloc)
lint: catalogd/internal/storage/localdir.go#L270
ST1003: func serveJsonLines should be serveJSONLines (stylecheck)
lint: catalogd/internal/storage/localdir_test.go#L412
expected-actual: need to reverse actual and expected values (testifylint)
lint: catalogd/internal/storage/index.go#L109
newIndex - result 1 (error) is always nil (unparam)
lint: catalogd/internal/serverutil/serverutil.go#L97
unnecessary leading newline (whitespace)
lint: catalogd/internal/serverutil/serverutil.go#L107
unnecessary trailing newline (whitespace)