Scope Rust CI to affected packages - #56
Conversation
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe pull request adds a Bash selector that determines affected Rust CI scopes from events, changed paths, and workspace dependencies. Fixtures and tests cover scope combinations and rename/deletion cases, while the workflow conditionally runs Rust setup, validation, and build steps. ChangesRust CI scope selection
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant GitHubActions
participant ScopeSelector
participant Git
participant Cargo
participant RustChecks
GitHubActions->>ScopeSelector: pass event and commit inputs
ScopeSelector->>Git: derive changed paths
ScopeSelector->>Cargo: read workspace metadata
ScopeSelector-->>GitHubActions: emit validation scope flags
GitHubActions->>RustChecks: run enabled checks
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Expected impact
A collector-only PR keeps Alpha dependents, collector strict Clippy/tests, and control-plane tests, while skipping unrelated live/JSON/Ondo/focused builds. Cold-cache wall time is expected to fall from about 22 minutes to 8-9 minutes.
Verification
Summary by CodeRabbit
New Features
Bug Fixes
Tests