diff --git a/.evergreen/scripts/capture-fuzz-corpus.sh b/.evergreen/scripts/capture-fuzz-corpus.sh index 438c7f6754..1b3512e4b0 100755 --- a/.evergreen/scripts/capture-fuzz-corpus.sh +++ b/.evergreen/scripts/capture-fuzz-corpus.sh @@ -15,12 +15,11 @@ if [ -z "$(ls -A fuzz-scratch/capture 2>/dev/null || true)" ]; then exit 0 fi -# A unit found by a later target never ran through the earlier ones, so -# replay every unit through all targets before publishing. +# The replay runs the atheris targets, so it must request the fuzz group. replay=(fuzz-scratch/capture/*) for target in fuzz_decode fuzz_decode_all fuzz_is_valid; do echo "Replaying captured units against ${target}..." - if ! uv run --no-sync python "fuzz/${target}.py" "${replay[@]}" \ + if ! uv run --group fuzz python "fuzz/${target}.py" "${replay[@]}" \ -artifact_prefix="$PWD/fuzz-scratch/" -atheris_runs="${#replay[@]}" then echo "Captured unit fails ${target}; no corpus PR." >&2