Skip to content

✨ Query endpoint #4682

✨ Query endpoint

✨ Query endpoint #4682

Triggered via pull request January 24, 2025 20:04
Status Failure
Total duration 3m 28s
Artifacts

sanity.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
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#L348
response body must be closed (bodyclose)
lint: catalogd/internal/storage/localdir_test.go#L488
response body must be closed (bodyclose)
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/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)
lint: catalogd/internal/storage/localdir.go#L60
Consider pre-allocating `metaChans` (prealloc)
lint: catalogd/internal/storage/multireadseeker.go#L18
SA1019: os.SEEK_SET has been deprecated since Go 1.7: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (staticcheck)
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