Check llvm-tools-preview component for coverage#64
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThe Makefile’s coverage validation target is enhanced to also verify that the rustup llvm-tools-preview component is installed before running cargo-llvm-cov. Flow diagram for updated coverage check in Makefileflowchart TD
A[Start coverage check] --> B{Is cargo-llvm-cov installed?}
B -- No --> C[Show error: Install cargo-llvm-cov]
B -- Yes --> D{Is llvm-tools-preview component installed?}
D -- No --> E[Show error: Install llvm-tools-preview]
D -- Yes --> F[Proceed with coverage run]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Rate limit exceeded@leynos has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 5 minutes and 47 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
Summary by CodeRabbit
WalkthroughAdd a rustup llvm-tools-preview component check to the Makefile’s CHECK_CARGO_LLVM_COV macro alongside the existing cargo-llvm-cov check. Emit a specific error and exit 127 when missing. Reformat indentation within the macro without changing behaviour. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
📒 Files selected for processing (1)
Makefile(1 hunks)
🔇 Additional comments (1)
Makefile (1)
12-19: Fail fast on missing coverage dependencies. LGTM.The pre-flight checks improve developer UX by surfacing actionable errors before running coverage jobs.
… redirection. Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Summary
Testing
make fmtmake lintmake testhttps://chatgpt.com/codex/tasks/task_e_689cd9a6cd388322b071444114a09b8d
Summary by Sourcery
Enhancements: