-
-
Notifications
You must be signed in to change notification settings - Fork 10
fix: skip parsing clang-tidy diagnostic rationale #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Specifically when the rationale line has added context in square brackets. This includes a test based on the actual bug report in cpp-linter/cpp-linter-action#389.
990883a to
8c65782
Compare
WalkthroughThis PR modifies clang-tidy note parsing to filter which diagnostic lines become TidyNotification objects by requiring the diagnostic name to contain a dash and have no spaces. A corresponding test validates this behavior, and the spell-check vocabulary is expanded with the term "declval". Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-09-04T23:06:44.577ZApplied to files:
📚 Learning: 2024-10-05T05:49:09.136ZApplied to files:
🧬 Code graph analysis (1)tests/test_parse_clang_tidy_stdout.py (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (5)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #176 +/- ##
==========================================
+ Coverage 98.26% 98.27% +0.01%
==========================================
Files 23 24 +1
Lines 1897 1909 +12
==========================================
+ Hits 1864 1876 +12
Misses 33 33 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Specifically when the rationale line has added context in square brackets. This includes a test based on the actual bug reported in cpp-linter/cpp-linter-action#389. Corresponds to cpp-linter/cpp-linter#176
|
Te way this is written, I can't imagine how this would cause regressions. Moving forward with this. |
Specifically when the rationale line has added context in square brackets. This includes a test based on the actual bug reported in cpp-linter/cpp-linter-action#389. Corresponds to cpp-linter/cpp-linter#176
Specifically when the rationale line has added context in square brackets.
This includes a test based on the actual bug reported in cpp-linter/cpp-linter-action#389.
Summary by CodeRabbit
Release Notes
Bug Fixes
Chores
Tests
✏️ Tip: You can customize this high-level summary in your review settings.