Skip to content

chore(test): refresh fuzz corpus#96

Merged
iljakuklic merged 6 commits intodevelfrom
refresh-fuzz
May 8, 2026
Merged

chore(test): refresh fuzz corpus#96
iljakuklic merged 6 commits intodevelfrom
refresh-fuzz

Conversation

@iljakuklic
Copy link
Copy Markdown
Owner

iljakuklic and others added 6 commits May 8, 2026 10:44
Gate eprintln! calls in fuzz harnesses behind #[cfg(not(fuzzing))] so
they are silent during bolero fuzz runs but print during cargo test
corpus replay. Declare cfg(fuzzing) as a known cfg in workspace lints.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a `jobs` parameter (default 1) to each fuzz recipe, passed as -j to
cargo bolero. Add an `all-parallel` recipe that runs all four targets
concurrently via just's [parallel] attribute (2 threads for lexer, 4 for
parser).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each recipe now cds into target/fuzz-<name> before invoking bolero so
that per-job output files don't conflict when targets run in parallel.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a generic `run target timeout jobs` recipe that derives the output
directory from the target name via justfile_directory(), so output lands
in the project-root target/ rather than just/target/. Named recipes now
delegate to it as dependencies.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@iljakuklic iljakuklic self-assigned this May 8, 2026
@iljakuklic iljakuklic merged commit a3647c7 into devel May 8, 2026
4 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.

chore: refresh fuzz corpus after unified definition syntax changes

1 participant