Skip to content

ci: nightly differential filter fuzzer schedule (#1293) - #4287

Merged
oferchen merged 1 commit into
masterfrom
ci/filter-fuzzer-24h-schedule-1293
May 17, 2026
Merged

oferchen merged 1 commit into
masterfrom
ci/filter-fuzzer-24h-schedule-1293

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Adds .github/workflows/filter-fuzzer-overnight.yml that runs both differential filter fuzz targets (filter_differential, filter_rules_vs_upstream) nightly at 02:00 UTC for FUZZ_DURATION seconds each (default 3600 = 1h per target, ~2h per run).
  • Uploads any reproducers under fuzz/artifacts/** as a retained workflow artifact and fails the job so triage is unmissable; supports workflow_dispatch with a duration input for longer manual soaks.
  • Adds docs/process/filter-fuzzer-24h-cumulative.md explaining the cumulative-24h interpretation (~14h/target/week, >24h aggregate every 1.7 days), the triage flow, and how to dispatch a longer manual run.
  • Adds tools/ci/triage_fuzz_artifact.sh to replay a downloaded reproducer locally against the inferred fuzz target.

Cumulative 24h interpretation

The original task asked for a 24h soak. GitHub-hosted runners cap at 6h per job and a contiguous 24h block would have to be stitched together regardless. Running both targets for 1h every night accumulates ~14h per target per week (~28h aggregate), exceeding the 24h budget every 1.7 days while keeping each window short enough to fit on shared CI and catch regressions the morning after they land.

Test plan

  • Wait for the next scheduled run (or trigger via gh workflow run filter-fuzzer-overnight.yml) and confirm both matrix legs build, locate the upstream binary, and report no divergence detected within 3600s (or upload artifacts if any appear).
  • Confirm a manual workflow_dispatch with duration=600 honours the override.
  • Locally, run FUZZ_SECONDS=60 bash tools/ci/run_filter_fuzz.sh and FUZZ_DURATION=60 bash tools/ci/run_filter_differential_fuzz.sh to verify the underlying scripts still work, then exercise tools/ci/triage_fuzz_artifact.sh against any reproducer that lands.

Replace a single contiguous 24h fuzz soak with a sustainable nightly
schedule that runs both differential filter fuzz targets
(filter_differential and filter_rules_vs_upstream) for one hour each at
02:00 UTC. Over a week this accumulates ~14h per target (~28h
aggregate), exceeding the original 24h budget without monopolising a
runner for a full day.

Findings under fuzz/artifacts/ are uploaded as workflow artifacts with
30-day retention and the job fails so triage starts the next morning.
A workflow_dispatch input lets operators bump the per-target duration
for a manual longer soak. Document the rationale, triage flow, and
manual-dispatch usage under docs/process/, and add a
triage_fuzz_artifact.sh helper that replays a downloaded reproducer
against the inferred fuzz target.
@oferchen
oferchen merged commit 9c04e4a into master May 17, 2026
16 of 17 checks passed
@github-actions github-actions Bot added the ci label May 17, 2026
oferchen added a commit that referenced this pull request May 18, 2026
Replace a single contiguous 24h fuzz soak with a sustainable nightly
schedule that runs both differential filter fuzz targets
(filter_differential and filter_rules_vs_upstream) for one hour each at
02:00 UTC. Over a week this accumulates ~14h per target (~28h
aggregate), exceeding the original 24h budget without monopolising a
runner for a full day.

Findings under fuzz/artifacts/ are uploaded as workflow artifacts with
30-day retention and the job fails so triage starts the next morning.
A workflow_dispatch input lets operators bump the per-target duration
for a manual longer soak. Document the rationale, triage flow, and
manual-dispatch usage under docs/process/, and add a
triage_fuzz_artifact.sh helper that replays a downloaded reproducer
against the inferred fuzz target.
oferchen added a commit that referenced this pull request May 18, 2026
Replace a single contiguous 24h fuzz soak with a sustainable nightly
schedule that runs both differential filter fuzz targets
(filter_differential and filter_rules_vs_upstream) for one hour each at
02:00 UTC. Over a week this accumulates ~14h per target (~28h
aggregate), exceeding the original 24h budget without monopolising a
runner for a full day.

Findings under fuzz/artifacts/ are uploaded as workflow artifacts with
30-day retention and the job fails so triage starts the next morning.
A workflow_dispatch input lets operators bump the per-target duration
for a manual longer soak. Document the rationale, triage flow, and
manual-dispatch usage under docs/process/, and add a
triage_fuzz_artifact.sh helper that replays a downloaded reproducer
against the inferred fuzz target.
@oferchen
oferchen deleted the ci/filter-fuzzer-24h-schedule-1293 branch May 19, 2026 19:28
oferchen added a commit that referenced this pull request Aug 24, 2026
Replace a single contiguous 24h fuzz soak with a sustainable nightly
schedule that runs both differential filter fuzz targets
(filter_differential and filter_rules_vs_upstream) for one hour each at
02:00 UTC. Over a week this accumulates ~14h per target (~28h
aggregate), exceeding the original 24h budget without monopolising a
runner for a full day.

Findings under fuzz/artifacts/ are uploaded as workflow artifacts with
30-day retention and the job fails so triage starts the next morning.
A workflow_dispatch input lets operators bump the per-target duration
for a manual longer soak. Document the rationale, triage flow, and
manual-dispatch usage under docs/process/, and add a
triage_fuzz_artifact.sh helper that replays a downloaded reproducer
against the inferred fuzz target.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant