Repository navigation
Simplify setup for action fuzzing targets - #271
Merged
Merged
Conversation
There was a problem hiding this comment.
Code Review
This pull request simplifies several fuzz targets by directly deserializing action arguments from protobuf using Args::from_proto instead of parsing and validating a full request wrapper. To support this, the request module in rrg is now exposed publicly. The reviewer suggests moving the inline use rrg::request::Args as _; trait imports to the top of each fuzz target file to keep the code clean and avoid redundant inline imports.
pmateatg
approved these changes
Oct 14, 2026
pmateatg
left a comment
Collaborator
There was a problem hiding this comment.
Looks good, thanks! Ran the coverage assessment with and without the PR and it doesn't change the number of covered functions and reached complexity.
CRefice
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Request parsing and dispatch is already fuzzed in
fuzz_actions, so I think repeating the setup here only adds noise that makes it difficult to spot what is actually being really fuzzed here.