Skip to content

MongoDB: DescribeTable draft #895

MongoDB: DescribeTable draft

MongoDB: DescribeTable draft #895

Triggered via pull request January 12, 2025 13:28
Status Failure
Total duration 4m 16s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: app/server/datasource/mongodb/datasource.go#L83
Error return value of `conn.Disconnect` is not checked (errcheck)
lint: app/server/datasource/mongodb/datasource.go#L96
Error return value of `conn.Disconnect` is not checked (errcheck)
lint: app/server/datasource/mongodb/datasource.go#L109
Error return value of `cursor.All` is not checked (errcheck)
lint: app/server/datasource/mongodb/datasource.go#L8
File is not `goimports`-ed with -local github.com/ydb-platform/fq-connector-go (goimports)
lint: app/server/datasource/mongodb/type_mapping.go#L13
File is not `goimports`-ed with -local github.com/ydb-platform/fq-connector-go (goimports)
lint: app/server/datasource/mongodb/datasource.go#L58
assignments should only be cuddled with other assignments (wsl)
lint: app/server/datasource/mongodb/datasource.go#L104
only one cuddle assignment allowed before if statement (wsl)
lint: app/server/datasource/mongodb/type_mapping.go#L54
return statements should not be cuddled if block has more than two lines (wsl)
lint: app/server/datasource/mongodb/type_mapping.go#L74
only cuddled expressions if assigning variable or using from line above (wsl)
lint: app/server/datasource/mongodb/type_mapping.go#L76
branch statements should not be cuddled if block has more than two lines (wsl)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: app/server/datasource/mongodb/type_mapping.go#L43
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint: app/server/datasource/mongodb/type_mapping.go#L90
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint: app/server/datasource/mongodb/datasource.go#L113
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: app/server/datasource/mongodb/datasource.go#L125
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)