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.731.1" #548

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

inomdzhon
Copy link
Contributor

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

image
Лог

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'
}

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

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

- related to #544, #526
@inomdzhon inomdzhon added the dependencies Pull requests that update a dependency file label Jan 21, 2025
@inomdzhon inomdzhon requested a review from a team as a code owner January 21, 2025 11:01
@inomdzhon inomdzhon merged commit 7088963 into main Jan 21, 2025
3 checks passed
@inomdzhon inomdzhon deleted the imirdzhamolov/revert/pr544 branch January 22, 2025 13:38
inomdzhon added a commit that referenced this pull request Jan 22, 2025
В #548 Из-за крышечки в yarn.lock всё-равно была зафиксирована 3.731.1 🥲
inomdzhon added a commit that referenced this pull request Jan 22, 2025
В #548 Из-за крышечки в yarn.lock всё-равно была зафиксирована 3.731.1 🥲
inomdzhon added a commit that referenced this pull request Jan 22, 2025
…#549)

В #548 Из-за крышечки в yarn.lock всё-равно была зафиксирована 3.731.1 🥲
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants