Skip to content

[ci upload cache] upload cache failure #44060

@talregev

Description

@talregev

Operating system

vcpkg ci

Compiler

No response

Steps to reproduce the behavior

CI that compile large binaries such as llvm.

Failure logs

warning: curl failed to put file to https://vcpkgbinarycachewus.blob.core.windows.net/cache/8bfe6e0d14ad4b3dbe12decb3cfe0b64acefdb655e0688c84840c749f776a8a4.zip?*** SECRET *** with exit code 0 and http code 413.

Additional context

Can you check the size of the file before upload it? if the size is too big from the storage, please skip it, and save time.

Alternative you can set a new flag for user that can set upload file max size limit, that if the binary is more that this size, it will skip upload, and set the correct size in the ci.
If this flag is not set, it will be the current behavior without limit.

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions