CUMULUS-3967 -- Forward port of release fix -- Pin @aws-sdk/client-s3 to 3.726 due to unit failure in > 3.729.0 #3905
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary: Summary of changes
Addresses fix found in CUMULUS-3967 -- dependency issue with s3-client's
moveObject() moves a 0 byte file
test throwingRejected promise returned by test. Reason:
InternalError (S3ServiceException) {
$fault: 'client',
$metadata: {
attempts: 3,
cfId: undefined,
extendedRequestId: 's9lzHYrFp76ZVxRcpX9+5cjAnEH2ROuNkd2BHfIa6UkFVdtjf5mKR3/eTPFvsiP/XV/VLi31234=',
httpStatusCode: 500,
requestId: 'fec3950c-a7d2-4935-b05a-b6e68e50e407',
totalRetryDelay: 222,
},
Code: 'InternalError',
RequestId: 'fec3950c-a7d2-4935-b05a-b6e68e50e407',
message: 'exception while calling s3.PutObject: 'NoneType' object has no attribute 'to_bytes'',
}
This appears to be due to a change in the client-s3 releases after 3.729.