Skip to content

feat(ci): dependency-DAG-based test scoping for Rust CI - #3095

Merged
numinnex merged 5 commits into
apache:masterfrom
krishvishal:ci-metadata-opt
Apr 13, 2026
Merged

feat(ci): dependency-DAG-based test scoping for Rust CI#3095
numinnex merged 5 commits into
apache:masterfrom
krishvishal:ci-metadata-opt

Conversation

@krishvishal

@krishvishal krishvishal commented Apr 10, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #3094

Summary

  • Use cargo-rail to compute affected crates via the workspace dependency DAG, then scope cargo build and cargo nextest run to only those crates
  • Fix two detection blind spots: core/iobuf and core/server-ngwere not covered by any component incomponents.yml`
  • Split rust-simulator out of rust-cluster so simulator-only changes don't trigger Python/Node/Go/Java/C# SDK tests

@codecov

codecov Bot commented Apr 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.71%. Comparing base (44eea40) to head (2df34ff).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3095      +/-   ##
============================================
- Coverage     72.75%   72.71%   -0.05%     
  Complexity      943      943              
============================================
  Files          1117     1117              
  Lines         96342    96342              
  Branches      73540    73559      +19     
============================================
- Hits          70096    70054      -42     
- Misses        23696    23718      +22     
- Partials       2550     2570      +20     
Components Coverage Δ
Rust Core 73.49% <ø> (-0.04%) ⬇️
Java SDK 62.30% <ø> (ø)
C# SDK 69.10% <ø> (-0.31%) ⬇️
Python SDK 81.43% <ø> (ø)
Node SDK 91.40% <ø> (-0.04%) ⬇️
Go SDK 38.97% <ø> (ø)
see 19 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .github/actions/rust/pre-merge/action.yml Outdated
Comment thread .github/actions/rust/pre-merge/action.yml Outdated
Comment thread scripts/ci/affected-crates.py Outdated
@numinnex
numinnex merged commit 5a2939a into apache:master Apr 13, 2026
80 checks passed
@krishvishal
krishvishal deleted the ci-metadata-opt branch April 14, 2026 09:33
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.

ci: Rust test suite runs all 43 crates regardless of what changed

3 participants