fix: possible race on artefact upload #6098
Annotations
3 errors and 1 warning
buildengine/deploy.go#L82
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/buildengine.DeployClient).GetArtefactDiffs(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1.GetArtefactDiffsRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1.GetArtefactDiffsResponse], error) (wrapcheck)
|
buildengine/deploy.go#L86
error returned from interface method should be wrapped: sig: func (github.com/TBD54566975/ftl/buildengine.DeployClient).GetArtefactDiffs(ctx context.Context, req *connectrpc.com/connect.Request[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1.GetArtefactDiffsRequest]) (*connectrpc.com/connect.Response[github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1.GetArtefactDiffsResponse], error) (wrapcheck)
|
|
buildengine/deploy.go#L87
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
This job failed
Loading