Skip to content

Conversation

@scottsand-db
Copy link
Collaborator

@scottsand-db scottsand-db commented Jan 23, 2026

🥞 Stacked PR

Use this link to review incremental changes.


What changes are proposed in this pull request?

Add caching and optimize tool installation across CI jobs:

  • msrv, docs, miri, coverage: Add Swatinem/rust-cache@v2 to skip dependency compilation on cache hits
  • msrv, msrv-run-tests: Use pre-built cargo-msrv binary (~5s) instead of cargo install (~4min)
  • msrv-run-tests: Use nextest for parallel test execution

How was this change tested?

CI validates the workflow runs successfully.

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.64%. Comparing base (eb42bc6) to head (4588f29).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1674   +/-   ##
=======================================
  Coverage   84.63%   84.64%           
=======================================
  Files         124      124           
  Lines       34453    34453           
  Branches    34453    34453           
=======================================
+ Hits        29161    29164    +3     
+ Misses       3955     3952    -3     
  Partials     1337     1337           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add Swatinem/rust-cache to msrv, docs, miri, and coverage jobs
- Use taiki-e/install-action@cargo-msrv instead of cargo install
  (downloads pre-built binary in ~5s vs 4min compile)
- Use nextest for msrv-run-tests job for parallel test execution

Jobs optimized:
- msrv: +cache, pre-built cargo-msrv
- msrv-run-tests: pre-built cargo-msrv, nextest
- docs: +cache
- miri: +cache
- coverage: +cache

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@scottsand-db scottsand-db force-pushed the stack/more-ci-optimizations branch from 65f15ae to 4588f29 Compare January 24, 2026 00:07
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

Successfully merging this pull request may close these issues.

1 participant