Skip to content

Replay fuzz seeds in package checks - #16340

Open
JamieMagee wants to merge 1 commit into
NixOS:masterfrom
JamieMagee:fuzz/seed-replay
Open

Replay fuzz seeds in package checks#16340
JamieMagee wants to merge 1 commit into
NixOS:masterfrom
JamieMagee:fuzz/seed-replay

Conversation

@JamieMagee

Copy link
Copy Markdown
Member

Motivation

Sanitizer CI builds the fuzz targets but does not run their checked-in seeds, so harness and corpus regressions can pass unnoticed.

Context

Extend the existing fuzzer-only package checks to replay each NAR, derivation, and StorePath seed once through its target. The checks only run on Linux with time and memory limits.


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@JamieMagee
JamieMagee requested a review from edolstra as a code owner August 21, 2026 03:52
Comment thread src/libutil-tests/package.nix
@JamieMagee
JamieMagee force-pushed the fuzz/seed-replay branch 2 times, most recently from c3609ef to 7b1c6ca Compare August 21, 2026 17:35
Sanitizer CI builds the fuzz targets without running their checked-in
seeds. Harness and corpus regressions can go unnoticed.

Add bounded per-file replay checks for the NAR, derivation, and StorePath
corpora. Also verify that the StorePath target is installed.

Assisted-by: GitHub Copilot CLI (GPT-5.6 Sol)
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.

2 participants