Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "build(deps): bump @aws-sdk/client-s3 from 3.705.0 to 3.712.0" #526

Merged

Conversation

SevereCloud
Copy link
Contributor

Reverts #521

@SevereCloud SevereCloud requested a review from a team as a code owner December 18, 2024 15:13
@SevereCloud SevereCloud merged commit 7ba38df into main Dec 18, 2024
3 checks passed
@inomdzhon inomdzhon deleted the revert-521-dependabot/npm_and_yarn/aws-sdk/client-s3-3.712.0 branch December 18, 2024 15:19
inomdzhon added a commit that referenced this pull request Jan 21, 2025
Снова откатываем до 3.705.0.

- related to #544, #526
inomdzhon added a commit that referenced this pull request Jan 21, 2025
…#548)

Снова откатываем до 3.705.0.

<img width="320" alt="image" src="https://github.com/user-attachments/assets/f77a6d31-f094-4e13-ba3e-ed60507701a5" />

<details><summary>Лог</summary>
<p>

```sh
Run VKCOM/gh-actions/VKUI/s3@main
  with:
    awsAccessKeyId: ***
    awsSecretAccessKey: ***
    awsBucket: vkui-screenshot
    awsEndpoint: https://hb.bizmrg.com
    command: upload
    commandUploadSrc: styleguide-dist/
    commandUploadDist: pull/8171/146605da870698a5b870e[2](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:2)f714d4[3](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:3)9ed1d2bf188/styleguide
  env:
    PR_HEAD_REPOSITORY_FULL_NAME: VKCOM/VKUI
    PR_HEAD_BRANCH: e.muhamethanov/775[4](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:4)/image-filter-prop
    PR_HEAD_SHA: 14660[5](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:5)da870698a5b870e2f714d439ed1d2bf188
    AWS_S3_URL: https://vkui-screenshot.hb.bizmrg.com
Initial S3
Command upload
Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.
Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.
Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.
An error was encountered in a non-retryable streaming request.
Error: InvalidArgument: x-amz-content-sha25[6](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:6) must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD, or a valid sha256 value.
    at throwDefaultError (/home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:23961:24)
    at /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:239[7](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:7)0:9
    at de_CommandError (/home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:4515[8](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:8):18)
    at process.processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:9)5:5)
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:19437:24
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:28861:22
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:3[14](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:14)15:42
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:27925:22
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:285[15](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:16):26
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:28540:18
Error: x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD, or a valid sha256 value.
An error was encountered in a non-retryable streaming request.
/home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:23961
      const response = new exceptionCtor({
                       ^

InvalidArgument: x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD, or a valid sha256 value.
    at throwDefaultError (/home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:23961:24)
    at /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:23970:9
    at de_CommandError (/home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:45158:[18](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:19))
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:[19](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:20)437:24
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:28861:22
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:31415:42
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:27925:22
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:28515:26
    at async /home/runner/work/_actions/VKCOM/gh-actions/main/VKUI/s3/dist/index.js:28540:18 {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 400,
    requestId: undefined,
    extendedRequestId: undefined,
    cfId: undefined
  },
  Code: 'InvalidArgument',
  AWSAccessKeyId: '***',
  RequestId: 'ohUtrj3xkU',
  ArgumentValue: 'STREAMING-UNSIGNED-PAYLOAD-TRAILER',
  ArgumentName: 'x-amz-content-sha[25](https://github.com/VKCOM/VKUI/actions/runs/12884184217/job/35919947815#step:3:26)6'
}
```

</p>
</details> 

Чтобы поправить ошибку, нужно изучить какие изменений нужно внести в **s3** и **size-upload**, 

- related to #544, #526
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.

3 participants