ci(rust): skip unnecessary setup steps#3749
Draft
Standing-Man wants to merge 2 commits into
Draft
Conversation
|
Thanks for the PR. It is labeled Slash commands (own line, regular comment) move it around the queue:
See CONTRIBUTING.md for details. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3749 +/- ##
============================================
- Coverage 74.53% 74.34% -0.20%
Complexity 969 969
============================================
Files 1306 1306
Lines 150028 150028
Branches 125462 125534 +72
============================================
- Hits 111829 111535 -294
- Misses 34700 34909 +209
- Partials 3499 3584 +85
🚀 New features to boost your workflow:
|
Signed-off-by: StandingMan <jmtangcs@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
Rust CI was doing redundant work in two areas:
cargo macheteinstalled nextest and system dependencies that theydid not use.
coverage-instrumented workspace before running their respective test
subsets.
This increased both CI setup time and total compute usage.
What changed?
platform-specific system dependencies.
coverage-instrumented nextest archive;
hash partitions.
integration tests can continue to resolve runtime plugins.
setup, and per-partition Codecov reports.
Rust setup paths.
portable Bash shebang.
Results
The setup optimization was measured over three runs:
A pre-merge comparison showed:
The benchmark link.
Local Execution
Passed
Ran
AI Usage