Repository navigation
test(monitor-fuzz): bump FUZZ_GROW_MAX + FUZZ_INCLUDE_HUGE defaults now #405 landed - #443
Merged
Merged
Conversation
Both were "temporary until #405 lands" guards added by PR #422. PR #405 (heap-vector fix for split_command_to_args) has been merged for weeks. The stale defaults meant the very regression path the fuzzer was built to cover -- multi-MB monitor lines -- was never actually exercised in the nightly run. Lifting the guards restores the intended coverage. Refs: 2.4 review #21 (Review 8). Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
fcostaoliveira
added a commit
that referenced
this pull request
Jun 9, 2026
* test(soak): raise RSS slope/ratio caps above unbounded m_stats baseline The S1 long-run memory test was failing every nightly because the slope and ratio caps did not account for the unbounded one-second snapshot list that run_stats::roll_cur_stats (run_stats.cpp:204) appends to over the full 30-minute run. Observed steady-state is ~6.66 MB/min slope and ~4.7x final/initial ratio with --threads=4 --clients=50 --pipeline=4 -- all from the m_stats accumulator, not a leak. Raise the slope cap to 10.0 MB/min (1.5x headroom over observed) and the ratio cap to 6.0 (1.3x headroom). Genuine leaks above the known accumulator baseline are still flagged. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * ci(monitor-fuzz): raise FUZZ_TIMEOUT to 90s for ASAN+UBSan headroom PR #443 raised FUZZ_GROW_MAX to 8 MiB. Under ASAN+UBSan the per-iteration budget exceeds the previous 30s FUZZ_TIMEOUT reliably on mutated payloads, causing nightly fuzz failures that are timeout artefacts rather than parser bugs. Triple the timeout to 90s. timeout-minutes: 35 is unchanged because iteration counts (300 PR / 2000 nightly) are unaffected. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FUZZ_GROW_MAXdefault bumped from 256 KiB to 8 MiB (8 * 1024 * 1024). The old cap was a temporary guard against the VLA stack-overflow inarbitrary_command::split_command_to_args()that PR fix(arbitrary-command): heap-allocate split-token buffer to avoid VLA stack overflow #405 fixed. The nightly workflow already caps absolute mutation size at 32 MiB.FUZZ_INCLUDE_HUGEdefault flipped from0to1. The synthetic >16 MiB single-line and 1M-line seeds (the exact regression path fix(arbitrary-command): heap-allocate split-token buffer to avoid VLA stack overflow #405 fixed) are now included in every nightly run by default..github/workflows/monitor-fuzz.ymlhad no explicit overrides for either env var — nothing to remove there.Test plan
FUZZ_ITER=20 MEMTIER=<path> python3 tests/fuzz/fuzz_monitor_input.py— no crashes (SIGSEGV/ASAN/sanitizer). Timeouts from huge-payload mutations confirmed as expected behaviour (the fuzzer is now exercising multi-MB paths as intended).monitor-fuzz.yml) will now exercise the full intended coverage including15_huge_single_lineand16_million_tiny_linesseeds.Refs: 2.4 review #21 (Review 8).
🤖 Generated with Claude Code
Note
Low Risk
Only changes fuzz harness defaults and comments in tests/fuzz; no production or CI workflow file edits in the diff.
Overview
Now that PR #405 fixed the VLA stack overflow in
arbitrary_command::split_command_to_args, the monitor-input fuzz driver raises default coverage instead of staying in a pre-fix safety mode.FUZZ_GROW_MAXdefault goes from 256 KiB to 8 MiB, so thegrowmutator can stress multi-megabyte monitor lines (still capped at 32 MiB per mutation).FUZZ_INCLUDE_HUGEdefaults to on, so synthetic seeds15_huge_single_lineand16_million_tiny_linesrun in every fuzz session unlessFUZZ_INCLUDE_HUGE=0. Comments and docstrings are updated to describe the new defaults and how to opt out.Reviewed by Cursor Bugbot for commit 3bf0d34. Bugbot is set up for automated code reviews on this repo. Configure here.