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

Slow post job cleanup #215

Open
Tanguille opened this issue Oct 29, 2024 · 0 comments
Open

Slow post job cleanup #215

Tanguille opened this issue Oct 29, 2024 · 0 comments

Comments

@Tanguille
Copy link

Tanguille commented Oct 29, 2024

I've been using this action with success for months but I've noticed in my last few runs that the post job cleanup task takes as much or more time then compilation itself.
I wonder if I'm the only one experiencing this issue and what I could do to resolve it.

This is the output of the post job cleanup task:

Post job cleanup.
Cache Configuration
  Cache Provider:
      github
  Workspaces:
      /home/runner/actions-runner/_work/rsmono/rsmono
  Cache Paths:
      /home/runner/.cargo
      /home/runner/actions-runner/_work/rsmono/rsmono/target
  Restore Key:
      v0-rust-build_and_check-eda3d1be
  Cache Key:
      v0-rust-build_and_check-eda3d1be-86f4e[2](https://github.com/<hidden>/rsmono/actions/runs/11570632725/job/32206824683#step:25:2)6a
  .. Prefix:
    - v0-rust-build_and_check
  .. Environment considered:
    - Rust Version: 1.82.0 x86_64-unknown-linux-gnu (f6e511eec7[3](https://github.com/<hidden>/rsmono/actions/runs/11570632725/job/32206824683#step:25:3)42f59a25f7c0534f1dbea00d01b1[4](https://github.com/<hidden>/rsmono/actions/runs/11570632725/job/32206824683#step:25:4))
    - CARGO_INCREMENTAL
    - CARGO_PROFILE_DEV_DEBUG
    - CARGO_REGISTRIES_CRATES_IO_PROTOCOL
    - CARGO_TERM_COLOR
    - CARGO_UNSTABLE_SPARSE_REGISTRY
    - RUST_BACKTRACE
    - RUST_LOG
    - RUSTFLAGS
  .. Lockfiles considered:
    - /home/runner/actions-runner/_work/rsmono/rsmono/Cargo.lock
    - /home/runner/actions-runner/_work/rsmono/rsmono/Cargo.toml
... Cleaning /home/runner/actions-runner/_work/rsmono/rsmono/target ...
... Cleaning cargo registry (cache-all-crates: false) ...
... Cleaning cargo/bin ...
... Cleaning cargo git cache ...
... Saving cache ...
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/actions-runner/_work/rsmono/rsmono --files-from manifest.txt --use-compress-program zstdmt

My configuration is fairly simple but in case it's relevant:

      - name: Cache Rust dependencies
        uses: Swatinem/rust-cache@v2
        timeout-minutes: 10
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

No branches or pull requests

1 participant