Skip to content

Query endpoint

Query endpoint #4665

Triggered via pull request January 21, 2025 21:57
Status Failure
Total duration 3m 22s
Artifacts

sanity.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: catalogd/internal/serverutil/serverutil_tests.go#L76
const `testCompressableJSON` is unused (unused)
lint: catalogd/internal/serverutil/serverutil_tests.go#L208
func `makeYAMLFromConcatenatedJSON` is unused (unused)
lint: catalogd/internal/serverutil/serverutil_tests.go#L232
func `generateJSONLines` is unused (unused)
lint: catalogd/internal/storage/multireadseeker.go#L49
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint: catalogd/internal/serverutil/serverutil_tests.go#L10
File is not properly formatted (gci)
lint: catalogd/internal/serverutil/serverutil_tests.go#L12
File is not properly formatted (gci)
lint: catalogd/internal/storage/index.go#L71
`if schema == ""` has complex nested blocks (complexity: 17) (nestif)
lint: catalogd/internal/storage/multireadseeker.go#L66
`if len(rs) == 1` has complex nested blocks (complexity: 5) (nestif)
lint: catalogd/internal/storage/multireadseeker.go#L36
named return "n" with type "int" found (nonamedreturns)
lint: catalogd/internal/storage/multireadseeker.go#L91
named return "n" with type "int" found (nonamedreturns)
verify
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636