Skip to content

Simplify setup for action fuzzing targets - #271

Merged
panhania merged 1 commit into
google:masterfrom
panhania:refactor/fuzz-no-request
Oct 15, 2026
Merged

panhania merged 1 commit into
google:masterfrom
panhania:refactor/fuzz-no-request

Conversation

@panhania

Copy link
Copy Markdown
Member

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.

@panhania
panhania requested a review from pmateatg October 14, 2026 10:28

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 pmateatg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@panhania
panhania requested a review from CRefice October 15, 2026 06:59
@panhania
panhania merged commit 1a2edb1 into google:master Oct 15, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants