Skip to content

ci: tune nightly thresholds for soak slope + fuzz timeout - #464

Merged
fcostaoliveira merged 2 commits into
masterfrom
fix/nightly-tuning
Jun 9, 2026
Merged

fcostaoliveira merged 2 commits into
masterfrom
fix/nightly-tuning

Conversation

@fcostaoliveira

@fcostaoliveira fcostaoliveira commented Jun 9, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes two long-standing nightly failures.

Soak S1 (test_long_run_memory.py): caps raised to match the unbounded run_stats::m_stats baseline (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_TIMEOUT raised 30s -> 90s. PR #443 raised FUZZ_GROW_MAX to 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_TIMEOUT from 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 unbounded run_stats::m_stats snapshots (~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 referencing run_stats.cpp:204 and the headroom rationale.

Reviewed by Cursor Bugbot for commit 97d719d. Bugbot is set up for automated code reviews on this repo. Configure here.

fcostaoliveira and others added 2 commits June 9, 2026 14:19
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-ci

jit-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@fcostaoliveira
fcostaoliveira merged commit 36f878e into master Jun 9, 2026
116 of 117 checks passed
fcostaoliveira added a commit that referenced this pull request Jun 26, 2026
#493)

Test/CI-only backports so the nightly fuzzers pass on 2.4: cli-fuzz --connection-stage-timeout (#449), soak slope/timeout thresholds (#464, #467). Verified: full 500-example cli-fuzz passes on 2.4 (with the master-side per-leg detect_leaks=0 in #492).
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.

1 participant