From df39f6d4d78601cca2940695f8b3f28b464d4123 Mon Sep 17 00:00:00 2001 From: Itay Maman <94941+imaman@users.noreply.github.com> Date: Wed, 6 May 2026 22:19:01 +0300 Subject: [PATCH] checksum --- modules/s3-storage-client/src/s3-storage-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/s3-storage-client/src/s3-storage-client.ts b/modules/s3-storage-client/src/s3-storage-client.ts index 9d1dcd63..c2c80680 100644 --- a/modules/s3-storage-client/src/s3-storage-client.ts +++ b/modules/s3-storage-client/src/s3-storage-client.ts @@ -62,7 +62,7 @@ export class S3StorageClient implements StorageClient { this.logger.info(`putting object (key hint=${hint}), object length: ${len} chars`) try { - await this.s3.putObject({ Bucket: this.bucketName, Key: resolved, Body: content }) + await this.s3.putObject({ Bucket: this.bucketName, Key: resolved, Body: content, ChecksumAlgorithm: 'SHA256' }) this.logger.info(`s3.putObject() took ${Date.now() - t0}ms (object length: ${len} chars)`) } catch (e) { this.logger.error(`putObject error at ${resolved} (key hint=${hint}), `, e)