Commit e97b79c
committed
fix(clusterfuzzlite): don't upload SARIF when a clean run produced none
#131's my-llvm .rs edit triggered the ClusterFuzzLite workflow for the first
time since the #130 build fix — validating it: fuzz_main built and ran 177M
executions in 301s with ZERO crashes. The job still failed on the final step:
`upload-sarif` runs `if: always()` but a clean run writes no
vulnerabilities.sarif, so it errored 'Path does not exist'. Guard the upload
with `hashFiles('vulnerabilities.sarif') != ''` so a no-crash run passes
cleanly. Applied to both cflite_pr.yml and cflite_batch.yml.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwV2DWsjkBiNP3oscimMLV1 parent 109f8f5 commit e97b79c
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
0 commit comments