Skip to content

add weekly corpus fuzzing CI and corpora script - #1850

Draft
caarloshenriq wants to merge 1 commit into
payjoin:masterfrom
caarloshenriq:feat/fuzz-corpus-ci
Draft

add weekly corpus fuzzing CI and corpora script#1850
caarloshenriq wants to merge 1 commit into
payjoin:masterfrom
caarloshenriq:feat/fuzz-corpus-ci

Conversation

@caarloshenriq

Copy link
Copy Markdown
Contributor

Add a weekly GitHub Actions workflow that fuzzes every target seeded from payjoin/qa-assets, minimizes the output with -merge=1, and opens a PR to qa-assets with the refreshed corpus for review.

The workflow has three jobs:

  • setup: lists all fuzz targets via cargo fuzz list
  • fuzz: runs each target in parallel for 5 minutes seeded from
    qa-assets, uploads the resulting corpus as an artifact
  • merge: downloads all artifacts, minimizes with corpora.sh refresh, and opens a PR to qa-assets via QA_ASSETS_PUSH_TOKEN

Also add fuzz/corpora.sh with three subcommands:

  • seed: copies corpus from qa-assets into fuzz/corpus//
  • refresh: minimizes each corpus with cargo fuzz -merge=1
  • push: commits the refreshed corpus, pushes to a branch, and opens a PR to qa-assets for human review
Pull Request Checklist

Please confirm the following before requesting review:

@coveralls

coveralls commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 33114665563

Coverage remained the same at 86.719%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 16459
Covered Lines: 14273
Line Coverage: 86.72%
Coverage Strength: 343.73 hits per line

💛 - Coveralls

Add a weekly GitHub Actions workflow that fuzzes every target seeded
from payjoin/qa-assets, minimizes the output with -merge=1, and
opens a PR to qa-assets with the refreshed corpus for review.
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