Skip to content

Commit dda6390

Browse files
committed
ci: Upload fuzz crash artifacts on failure
When a fuzzer crashes, the crash-reproducing input and logs are now saved as GitHub Actions artifacts, making it possible to download and reproduce failures locally without re-running long fuzz sessions. Assisted-by: OpenCode (Claude Opus)
1 parent c680a6b commit dda6390

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,11 @@ jobs:
9898
run: just generate-corpus
9999
- name: Fuzz all targets (2 minutes each)
100100
run: just fuzz-all
101+
- name: Upload fuzz artifacts
102+
if: failure()
103+
uses: actions/upload-artifact@v4
104+
with:
105+
name: fuzz-artifacts
106+
path: |
107+
fuzz/artifacts/
108+
target/fuzz-logs/

.github/workflows/fuzz-extended.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ jobs:
3434
run: just generate-corpus
3535
- name: Fuzz all targets (15 minutes each)
3636
run: just fuzz-all 900
37+
- name: Upload fuzz artifacts
38+
if: failure()
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: fuzz-artifacts
42+
path: |
43+
fuzz/artifacts/
44+
target/fuzz-logs/

0 commit comments

Comments
 (0)