Skip to content

CI: nightly fuzz on ez80/z80n, pointers, range facts and register arguments; advisory PR-time window - #381

Merged
oisee merged 1 commit into
mainfrom
ci/nightly-fuzz
Dec 2, 2026
Merged

oisee merged 1 commit into
mainfrom
ci/nightly-fuzz

Conversation

@oisee

@oisee oisee commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Four fuzzers that have each found real wrong code ran only by hand. This runs them every night on all three targets.

Nightly (nightly-fuzz.yml, 03:47 UTC, own concurrency group)

  • fuzz_diff.py direct-call on ez80 and z80n (plain and --signed), and z80 --signed
  • fuzz_ptr.py, fuzz_nowrap.py
  • fuzz_regargs.py on z80, ez80, z80n

Each entry runs a fixed regression window (seeds 0..N-1) plus a rolling window starting at 10000 + (run_number-1)*window, so coverage accumulates night over night. Four parallel jobs, about 26 minutes of runner time in total (estimated from local rates at 2× slowdown; not yet measured on a runner).

On failure the job fails, lists the failing seeds in the step summary with the exact reproduce command, and uploads the reproducers. workflow_dispatch takes seed, count and an only label filter.

PR time

A new advisory job "Register-argument and range fuzz (advisory)": fuzz_regargs on z80 and ez80 (seeds 0–299) and fuzz_nowrap (0–199), about 14 s locally. It is continue-on-error on PRs. No required job was renamed or changed.

Checks

  • Fast profile passes locally (712 tests, 3 shards).
  • nightly_fuzz.sh tested on a passing window and on a forced-failing one (exit 1, seeds listed, reproduce line printed).
  • Not run: actionlint / shellcheck (not installed locally).

scripts/README.md documents how to reproduce a nightly failure from its seed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N957godRAhTkyy1mTB6roS

…nowrap fuzz

nightly-fuzz.yml runs fuzz_diff (ez80, z80n, signed variants), fuzz_ptr,
fuzz_nowrap and fuzz_regargs over a fixed regression window plus a rolling
window derived from the run number, with a workflow_dispatch seed range.
The Compiler checks matrix gains an advisory fuzz-targeted job (about 15 s).
scripts/README.md documents reproducing a nightly failure from the seed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N957godRAhTkyy1mTB6roS
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

PR tests: 🟢 pass

Commit: 3a3c0682 · Full test log

Check Result
Complete fresh Ruby/Crystal native pipeline 🟢 pass
Inherited compiler and complete frozen native gates 🟢 pass
Build mz, mza, mze, mzv 🟢 pass
Fast compiler regressions (deep suites run separately) 🟢 pass
Fibonacci compile + assemble 🟢 pass
Nanz language regressions 🟢 pass
Z3 West of House demo 🟢 pass
Z3 small conformance fixtures 🟢 pass

Deep pipeline domains and the full assertion corpus run on release tags, nightly and manual audits.
The external CZECH and full Zork I stories are not part of this PR gate.

@oisee
oisee merged commit a13b620 into main Dec 2, 2026
14 checks passed
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