Skip to content

fuzz: remove splicing blocks in chanmon_consistency_target#4589

Closed
alexgrad42 wants to merge 2 commits into
lightningdevkit:mainfrom
alexgrad42:fuzz_remove_splicing_cfg_from_chanmon
Closed

fuzz: remove splicing blocks in chanmon_consistency_target#4589
alexgrad42 wants to merge 2 commits into
lightningdevkit:mainfrom
alexgrad42:fuzz_remove_splicing_cfg_from_chanmon

Conversation

@alexgrad42
Copy link
Copy Markdown

@alexgrad42 alexgrad42 commented May 5, 2026

I am opening this as a Draft (or WIP) because dependencies might still be pending. However, the code is ready and has been verified with extensive fuzz

Removed !cfg!(splicing) blocks to enable full coverage of splicing logic during fuzzing. Verified by running the fuzzer for 15 minutes before and after the changes.

Fuzzing Validation (chanmon_consistency_target):

Metric Before (with blocks) After (blocks removed) Change
cov (coverage) 37824 38686 +862
ft (features) 155421 168662 +13241
corp (corpus size) 1545 1851 +306

The increase in coverage confirms that the splicing logic is now reachable and being actively fuzzed.

Fix for #4581

Removed !cfg!(splicing) blocks to enable full coverage of splicing
logic during fuzzing. Verified by running the fuzzer for 15 minutes
before and after the changes.

Fuzzing Validation (chanmon_consistency_target):
Metric        Before      After       Change
cov           37824       38686       +862
ft            155421      168662      +13241
corp          1545        1851        +306

The increase in coverage confirms that the splicing logic is now
reachable and being actively fuzzed.
@ldk-reviews-bot
Copy link
Copy Markdown

👋 Hi! I see this is a draft PR.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.22%. Comparing base (1a26867) to head (dab49e9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4589      +/-   ##
==========================================
- Coverage   86.84%   86.22%   -0.62%     
==========================================
  Files         161      159       -2     
  Lines      109260   109103     -157     
  Branches   109260   109103     -157     
==========================================
- Hits        94882    94077     -805     
- Misses      11797    12412     +615     
- Partials     2581     2614      +33     
Flag Coverage Δ
fuzzing-fake-hashes ?
fuzzing-real-hashes ?
tests 86.22% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wpaulino
Copy link
Copy Markdown
Contributor

wpaulino commented May 5, 2026

We are not ready to re-enable this until we fix the issues behind the fuzzer failing, which I am working on.

@wpaulino wpaulino closed this May 5, 2026
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.

4 participants