Skip to content

Commit 41460f2

Browse files
committed
fix: keep-unaffected-fuzz-targets on ClusterFuzzLite PR fuzzing
PR #300's own CI run caught another real gap: without this, build_fuzzers tries to prune "unaffected" targets by diffing against a coverage baseline artifact (cifuzz-coverage-latest) that can't exist yet on a brand-new integration — hard-fails with "No fuzz targets found" on literally the first fuzzing PR ever. There's exactly one fuzz target in this repo, so the optimization has no upside; keep it unconditionally. Entire-Checkpoint: c84ca2b91fd2
1 parent 2ba04e2 commit 41460f2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cflite_pr.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
language: python
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727
sanitizer: ${{ matrix.sanitizer }}
28+
# Without this, build_fuzzers tries to diff against a coverage
29+
# baseline (a `cifuzz-coverage-latest` artifact) to prune
30+
# "unaffected" targets before running — which doesn't exist yet
31+
# on a fresh integration (chicken-and-egg on the very first
32+
# fuzzing PR) and fails the build outright. There's only one
33+
# fuzz target in this repo, so the optimization has no upside
34+
# anyway; always keep it.
35+
keep-unaffected-fuzz-targets: true
2836
- name: Run Fuzzers (${{ matrix.sanitizer }})
2937
id: run
3038
uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

0 commit comments

Comments
 (0)