-
Notifications
You must be signed in to change notification settings - Fork 195
Add a fuzzer for injecting comments #2899
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2899 +/- ##
=======================================
Coverage 99.24% 99.24%
=======================================
Files 128 128
Lines 7260 7262 +2
=======================================
+ Hits 7205 7207 +2
Misses 55 55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Gemini PR review follows Prompt: Use the R gh package (which is already installed) to Response: This is a great initiative to improve the robustness of our linters against comments, and it's uncovered a lot of edge cases, as evidenced by the NEWS.md entry. The core idea of a comment_injection_fuzzer is a fantastic addition to our testing strategy. I have a few high-level comments and some more specific suggestions. High-Level Feedback
Specific Code Feedback
Git History The git history is very noisy with many merge commits and small, often uninformative commit messages. Before merging, this should be squashed into a few logical commits. Something like:
Conclusion This is a valuable PR that will improve the quality of lintr. I'm happy to approve it once we've discussed the scope and the nofuzz situation. The main thing is to ensure we're not just sweeping a bunch of issues under the rug with nofuzz. |
|
The idea to use a custom reporter for this is interesting. Filed #3001 to follow up on that. It also appears a bit confused by the introduction of all the commits in the branch, most of which are already in The point about excessive |
Originally #2822, which can't be recovered because it was closed while it was targeting a branch that got deleted. GitHub bug, I guess.
Part of #2191, including progress on #2737