Skip to content

Cache fuzzing corpus for CI - #93

Merged
cowtowncoder merged 1 commit into
ning:masterfrom
Marcono1234:cache-fuzzing-corpus
Nov 5, 2026
Merged

cowtowncoder merged 1 commit into
ning:masterfrom
Marcono1234:cache-fuzzing-corpus

Conversation

@Marcono1234

Copy link
Copy Markdown
Contributor

Probably makes fuzzing more effective because it can continue from previous progress.

Have tested it in my fork:

  • Fuzzing corpus is successfully cached
  • Next run re-uses corpus; Jazzer test output says for example:

    INFO: 224 files found in /home/runner/work/lzf-compress/lzf-compress/.cifuzz-corpus/com.ning.compress.lzf.TestFuzzUnsafeLZF/decode

  • Changing TestFuzzUnsafeLZF.java discards cache

Probably makes fuzzing more effective because it can continue from previous progress.
Comment on lines -63 to +72
if: always() && steps.fuzz-tests.outcome == 'failure'
if: ${{ !cancelled() && steps.fuzz-tests.outcome == 'failure' }}

@Marcono1234 Marcono1234 Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not strictly needed, but !cancelled() handles cancellation better than always(). See also https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#always

@cowtowncoder
cowtowncoder merged commit 77d3bbf into ning:master Nov 5, 2026
5 checks passed
@Marcono1234
Marcono1234 deleted the cache-fuzzing-corpus branch November 5, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants