chore(ci): remove obsolete Rust cache seeder - #3148
Conversation
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Investigation notesThe removed seeder was added in Cache compatibility
The retained Cache reuse is scoped and inconsistent across refs. A later PR #3073 run restored exact Linux caches on x86_64 and aarch64, while its macOS job missed. The branch-check run for this PR and a sampled merge-group run missed on all three platforms, as expected without compatible default-branch entries. Current Cargo cache archives are large: approximately 2.1 to 3.1 GB per platform. In the PR #3073 sample, restoring the roughly 2 GB Linux caches took 67 to 80 seconds. The warm x86 job finished about 75 seconds faster than its earlier cold run, while ARM finished about 35 seconds faster. Duration and workflow cost
The seeder itself runs two full Rust jobs after every main merge and recent successful runs took roughly 8 to 13 minutes. It also uses Given the incompatible configuration, comparable branch-check duration, large cache archives, and modest observed savings, deleting the seeder is preferable to rebuilding it around the current Nix jobs. If cold first-run compilation becomes a measured bottleneck, a replacement should be designed around the current Nix environment and exact cache semantics rather than restoring the old workflow. |
Summary
Remove the obsolete Rust Cache Seed workflow. Recent CI changes moved Rust checks to Nix and changed their cache keys, so the seeder no longer warms caches used by branch checks.
Branch-check build times remain comparable to the previous setup. The retained Cargo cache will continue to help repeated checks on the same PR branch after its first run.
Related Issue
No issue required: this is a localized CI cleanup that removes a stale, non-required optimization workflow.
Changes
.github/workflows/rust-cache-seed.yml.Testing
mise run pre-commitpassesChecklist