Repository navigation
ci: tune nightly thresholds for soak slope + fuzz timeout - #464
Merged
Merged
Conversation
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]>
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]>
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
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.
Fixes two long-standing nightly failures.
Soak S1 (test_long_run_memory.py): caps raised to match the unbounded
run_stats::m_statsbaseline (1 snapshot/sec, ~200MB over 30min by design). Failing every nightly since the soak suite landed (commit 889c330, 2026-05-30). Slope cap: 2.0 -> 10.0 MB/min; ratio cap: 1.5 -> 6.0. Inline comment points at run_stats.cpp:204 for context.Monitor-fuzz:
FUZZ_TIMEOUTraised 30s -> 90s. PR #443 raisedFUZZ_GROW_MAXto 8 MiB without accounting for ASAN+UBSan overhead; mutated payloads now exceed 30s reliably. Failing every nightly since PR #443 (2026-06-02).Neither is a memtier regression -- both are CI miscalibrations introduced by their respective recent additions.
Generated with Claude Code
Note
Low Risk
Only CI workflow env and soak test assertion thresholds change; no runtime or security-sensitive code paths.
Overview
Recalibrates two nightly CI jobs that were failing due to threshold mismatches, not memtier regressions.
The monitor-fuzz workflow raises per-run
FUZZ_TIMEOUTfrom 30s to 90s so ASAN+UBSan builds can finish fuzz cases with up to 8 MiB mutated monitor payloads (after #443) without timing out.Soak S1 (
test_long_run_memory.py) relaxes RSS growth limits to sit above the known baseline from unboundedrun_stats::m_statssnapshots (~6.66 MB/min slope, ~4.7× ratio over 30 min): slope cap 2 → 10 MB/min, final/initial ratio 1.5× → 6.0×, with an inline comment referencingrun_stats.cpp:204and the headroom rationale.Reviewed by Cursor Bugbot for commit 97d719d. Bugbot is set up for automated code reviews on this repo. Configure here.