Skip to content

Conversation

migmartri
Copy link
Member

Context cancellation during upload chunk fills was not handled properly.

This code

  • Makes sure that having an error always returns regardless of the type
  • Handles the grpc cancellation so we don't get cancellation exceptions

Fixes #377

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested a review from danlishka October 4, 2023 20:31
Copy link
Member

@danlishka danlishka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@migmartri migmartri merged commit fd2c59e into chainloop-dev:main Oct 4, 2023
@migmartri migmartri deleted the upload-error branch October 4, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upload error during stress testing
2 participants