Skip to content

3.x.x: run the Stratum fuzz targets nightly for 20 minutes (#575) - #594

Merged
djh58 merged 1 commit into
3.x.xfrom
djh58/prism-nightly-stratum-fuzz
Sep 29, 2026
Merged

djh58 merged 1 commit into
3.x.xfrom
djh58/prism-nightly-stratum-fuzz

Conversation

@djh58

@djh58 djh58 commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Wires #591's fuzz targets into the nightly workflow. The job was prepared in #591, but the dev host's token can't push workflow files, so it lands separately.

  • Job: stratum-fuzz runs .github/scripts/prism-stratum-fuzz.sh for 20 minutes on the 17 2 * * * schedule. It runs the three targets at once, restores the kept corpus and saves it back, and uploads any crashing inputs and the logs. It is gated on no crash, leak, timeout or OOM input.
  • Cost: about 25 runner-minutes a night on an 8 vCPU runner.
  • Dispatch input: fuzz defaults to off, so a preset dispatch such as a soak calibration doesn't also run fuzzing. The weekly schedules don't run it.
  • Checks: the workflow YAML parses, and the patch applies cleanly on the current 3.x.x. Its logic was actionlint-clean in 3.x.x: fuzz the Stratum line codec, session state machine and codec parsers, with per-PR property tests (#575) #591's lane.
  • main: needs the same bytes. It is covered by the pending main workflow sync.

Refs #575, #591

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Adds the stratum-fuzz job to the PRISM load-harness nightly workflow, as
prepared in #591: the three cargo-fuzz targets from #591 run at once for
20 minutes on the 17 2 * * * schedule, from the checked-in seeds plus the
corpus the previous night kept, gated on no crash, leak, timeout or OOM
input; the corpus is saved either way and any finding is uploaded. A
`fuzz` dispatch input runs it by hand; it defaults to off so preset
dispatches (for example a soak calibration) don't also pay for fuzzing.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@djh58
djh58 merged commit bcb7749 into 3.x.x Sep 29, 2026
18 of 19 checks passed
djh58 added a commit that referenced this pull request Sep 29, 2026
…587, #593, #594)

Adds #586's disk-full and clock-jump tool installs, #587's weekly cutover rehearsal settings, #593's comment and #594's nightly Stratum fuzz job. Byte-identical to 3.x.x at bcb7749.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
djh58 added a commit that referenced this pull request Sep 29, 2026
…587, #593, #594) (#595)

Adds #586's disk-full and clock-jump tool installs, #587's weekly cutover rehearsal settings, #593's comment and #594's nightly Stratum fuzz job. Byte-identical to 3.x.x.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
djh58 added a commit that referenced this pull request Sep 29, 2026
Brings in #590's real-node mode and resolves where it meets the soak:

- run.rs execute_with_preset: #590's node_mode and args rebinding first,
  then the soak plan over the rebound args.
- run.rs side report: #590's node_block, plus the soak entry.
- run.rs block scheduling: #590's rule (the tips plan lands its scheduled
  blocks in warm_up, every other plan in steady_state) is kept, on the
  phase's kind rather than its name, as holds_scheduled_blocks. A soak's
  c<cycle>.<preset>.<kind> phases therefore land their looped preset's
  blocks where that preset would, and each segment refreshes its block
  budget on the same rule. soak_plan asserts the weekly soak's 26 landings.
- launch_environment's map is bound mut for the soak's
  PRISM_SHARE_PARTITION_ENSURE_INTERVAL_SECONDS, inserted only when a soak
  runs; the fake-node frontend environment golden is unchanged.
- The soak presets pin --node fake, as #590 requires of every preset.
  --node qbitd refuses --plan soak by name: the looped segments are parsed
  from fake-node presets.
- The fake-node side report key golden gains the soak key.
- README preset table and test/prism-gated-tests.txt keep both sides,
  the gated list sorted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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