Skip to content

Add logging flags for tuple writes #1839

Add logging flags for tuple writes

Add logging flags for tuple writes #1839

Triggered via pull request July 7, 2025 21:25
Status Failure
Total duration 5m 13s
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

20 errors and 1 warning
Lints: internal/tuple/logger.go#L90
the given struct should be annotated with the `yaml` tag (musttag)
Lints: internal/tuple/logger.go#L118
File is not properly formatted (gofumpt)
Lints: internal/tuple/logger.go#L57
unexported method "flush" for struct "TupleLogger" should be placed after the exported method "LogFailure" (funcorder)
Lints: internal/tuple/logger.go#L94
Error return value of `encoding/json.Marshal` is not checked: unsafe type `github.com/openfga/go-sdk/client.ClientTupleKey` found (errchkjson)
Lints: internal/tuple/logger.go#L75
Error return value of `encoding/json.Marshal` is not checked: unsafe type `github.com/openfga/go-sdk/client.ClientTupleKey` found (errchkjson)
Lints: internal/tuple/logger.go#L106
Error return value of `w.Write` is not checked (errcheck)
Lints: internal/tuple/logger.go#L104
Error return value of `w.Write` is not checked (errcheck)
Lints: internal/tuple/logger.go#L76
Error return value of `l.writer.Write` is not checked (errcheck)
Lints: internal/tuple/logger.go#L73
Error return value of `l.writer.Write` is not checked (errcheck)
Lints: internal/tuple/logger.go#L72
Error return value of `l.writer.Write` is not checked (errcheck)
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
Test Release Process
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2