cargo-install
cargo-install copied to clipboard
Cache does not work: "reserveCache failed: Cache service responded with 503" on GitHub Actions
Hi, thank you for your great action!
I am using baptiste0928/cargo-install@v2 in my GitHub Actions workflow, but the cache feature never works.
Every time, I see the following log and the cache is not saved:
warning: be sure to add `/home/runner/.cargo-install/cargo-nextest/bin` to your PATH to be able to run the installed binaries
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/my-project/my-project --files-from manifest.txt --use-compress-program zstdmt
Warning: Failed to save: reserveCache failed: Cache service responded with 503
Steps to reproduce:
- Use the following step in a GitHub Actions workflow:
- name: Install cargo-nextest uses: baptiste0928/cargo-install@v2 with: crate: cargo-nextest - Run the workflow.
- The above 503 error occurs every time, and the cache is never saved.
Environment:
- GitHub Actions:
ubuntu-latest -
baptiste0928/cargo-install@v2 - Other cache actions (e.g.,
Swatinem/rust-cache@v2) work fine in the same workflow.
Questions:
- Do you know what could be causing the 503 error from the cache service? (Is it a rate limit, cache size, or something else?)
- If it is related to cache size, I am not sure how to debug or check the actual cache size being uploaded.
Do you have any recommended way to investigate or debug this? - Is there any workaround or recommended solution?
References:
Thank you in advance for your help!