Skip to content

Add option to hide successful tuple imports and display import summary #1459

Add option to hide successful tuple imports and display import summary

Add option to hide successful tuple imports and display import summary #1459

Triggered via pull request January 8, 2025 17:37
Status Failure
Total duration 18m 28s
Artifacts

main.yaml

on: pull_request
goreleaser
0s
goreleaser
binary-provenance  /  detect-env
binary-provenance / detect-env
image-provenance  /  detect-env
image-provenance / detect-env
binary-provenance  /  generator
binary-provenance / generator
image-provenance  /  generator
image-provenance / generator
binary-provenance  /  upload-assets
binary-provenance / upload-assets
image-provenance  /  final
image-provenance / final
binary-provenance  /  final
binary-provenance / final
verification-with-cosign
0s
verification-with-cosign
verification-with-slsa-verifier
0s
verification-with-slsa-verifier
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 6 warnings
Lints: cmd/tuple/write_test.go#L354
Error return value of `io.Copy` is not checked (errcheck)
Lints: cmd/tuple/write_test.go#L233
cognitive complexity 38 of func `TestWriteTuplesWithImportStats` is high (> 30) (gocognit)
Lints: cmd/tuple/write.go#L119
calculated cyclomatic complexity for function writeTuplesFromFile is 11, max is 10 (cyclop)
Lints: cmd/tuple/write_test.go#L324
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
Lints: cmd/tuple/write_test.go#L359
return with no blank line before (nlreturn)
Lints: cmd/tuple/write_test.go#L363
len: use assert.Len (testifylint)
Lints: cmd/tuple/write_test.go#L316
variable name 'r' is too short for the scope of its usage (varnamelen)
Lints: cmd/tuple/write.go#L163
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
Lints: cmd/tuple/write.go#L170
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
Lints: cmd/tuple/write_test.go#L374
if statements should only be cuddled with assignments (wsl)
Tests
Process completed with exit code 2.
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Test Release Process
Cannot open: File exists
Shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Security Audits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Release Process
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Release Process
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2