ci: keep Dylint required check reportable#12415
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe ChangesPath-filtered CI gating for Rust jobs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Code Review by Qodo
1.
|
PR Summary by QodoCI: make Pacquet required checks always reportable via in-workflow change detection WalkthroughsDescription• Remove workflow-level path filters so required checks are always created on PRs. • Add a change-detection job to skip Rust CI jobs when Rust-relevant files didn’t change. • Ensure manual dispatch always runs full Rust CI; fail Dylint if change detection fails. Diagramgraph TD
A["GitHub event (PR/push/manual)"] --> B["changes job (detect Rust changes)"] --> C{"Rust CI relevant?"}
C -->|"yes"| D["Rust CI jobs (test/clippy/doc/etc.)"] --> E["Dylint job"]
C -->|"no"| F["Skip Rust CI jobs"] --> E
B -->|"detection failed"| G["Dylint fails with error"]
High-Level AssessmentThe following are alternative approaches to this PR: 1. Split into two workflows (always-on required check + conditional Rust CI)
2. Use GitHub Actions built-in `paths` on jobs (where possible) instead of paths-filter
3. Compute changes via GitHub API (PR files) in a custom step
Recommendation: The chosen approach (remove workflow-level path filters and add an explicit change-detection job) is the best fit for the primary goal: required checks must always be created so they can report “skipped” vs never existing. The added guard in Dylint to fail when change detection fails is a good safety net; keep the filter list aligned with what the Rust jobs actually depend on to avoid false skips. File ChangesOther (1)
|
|
Code review by qodo was updated up to the latest commit 0db982f |
Summary
Checks
Written by an agent (Codex, GPT-5).
Summary by CodeRabbit
Release Notes