Skip to content

Commit 76a24d0

Browse files
committed
feat(fuzz): add cache cleaning step to prevent timeouts
1 parent b20bd9b commit 76a24d0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/fortress-test-fuzz.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,15 @@ jobs:
116116
echo "fuzz-start=$(date +%s)" >> $GITHUB_OUTPUT
117117
echo "🕒 Fuzz test timer started at: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
118118
119+
# --------------------------------------------------------------------
120+
# Clean fuzz cache to prevent accumulated corpus timeouts
121+
# --------------------------------------------------------------------
122+
- name: 🧹 Clean fuzz cache
123+
run: |
124+
echo "🧹 Cleaning accumulated fuzz corpus to prevent timeout..."
125+
go clean -fuzzcache
126+
echo "✅ Fuzz cache cleaned"
127+
119128
# --------------------------------------------------------------------
120129
# Run fuzz tests
121130
# --------------------------------------------------------------------

0 commit comments

Comments
 (0)