Problem Statement
CI workflows run sequentially with no caching between jobs, taking 25+ minutes. Optimize with job parallelism, dependency caching, and conditional execution to reduce to under 8 minutes.
Technical Bounds
- Cargo registry cache: shared across all Rust jobs
- Target directory cache: per-branch with LRU eviction
- Job fan-out: run test suites in parallel across 4 runners
- Conditional execution: skip lint on doc-only changes
Steps
- Add Cargo registry and target caching
- Restructure workflow with parallel job matrix
- Add path-based conditional execution
- Measure and document time improvements
Problem Statement
CI workflows run sequentially with no caching between jobs, taking 25+ minutes. Optimize with job parallelism, dependency caching, and conditional execution to reduce to under 8 minutes.
Technical Bounds
Steps