Skip to content

Bulk unique insertion, uniqueness with subset of args #954

Bulk unique insertion, uniqueness with subset of args

Bulk unique insertion, uniqueness with subset of args #954

Triggered via pull request September 19, 2024 15:33
Status Failure
Total duration 3m 3s
Artifacts

ci.yaml

on: pull_request
lint
30s
lint
migration_and_sqlc_verify
9s
migration_and_sqlc_verify
submodule_check
19s
submodule_check
Matrix: build_and_test
Matrix: cli
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: internal/dbunique/db_unique_test.go#L42
use of `argsFn` forbidden because "Use `Func` suffix for function variables instead." (forbidigo)
lint: internal/dbunique/db_unique_test.go#L65
use of `argsFn` forbidden because "Use `Func` suffix for function variables instead." (forbidigo)
lint: internal/dbunique/db_unique_test.go#L84
use of `argsFn` forbidden because "Use `Func` suffix for function variables instead." (forbidigo)
lint: internal/dbunique/db_unique_test.go#L207
use of `tt.argsFn` forbidden because "Use `Func` suffix for function variables instead." (forbidigo)
lint: internal/dbunique/db_unique.go#L29
var `defaultUniqueStatesStrings` is unused (unused)
lint: internal/maintenance/periodic_job_enqueuer.go#L194
type `insertParamsAndUniqueOpts` is unused (unused)
lint: internal/dbunique/db_unique_test.go#L152
fmt.Sprintf can be replaced with string concatenation (perfsprint)
lint: driver_test.go#L240
variable name 'n' is too short for the scope of its usage (varnamelen)
lint: internal/dbunique/db_unique.go#L142
variable name 'b' is too short for the scope of its usage (varnamelen)
lint
Process completed with exit code 2.
submodule_check
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
cli (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/river/river. Supported file pattern: go.sum
cli (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\river\river. Supported file pattern: go.sum