Skip to content

fix: possible race on artefact upload #6098

fix: possible race on artefact upload

fix: possible race on artefact upload #6098

Triggered via pull request August 14, 2024 23:51
Status Failure
Total duration 2m 48s
Artifacts

ci.yml

on: pull_request
Shard Integration Tests
0s
Shard Integration Tests
Matrix: Integration Test
Integration Success
2s
Integration Success
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Lint: 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)
Lint: 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)
Lint
Process completed with exit code 1.
Lint: buildengine/deploy.go#L87
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)