Repository navigation
Description
Goal
Give Flow 1.0 a reproducible robustness gate for hostile and generated-valid inputs, and retain every discovered Stable crash/divergence as a regression.
Result
Satisfied for the declared Stable 1.0 surface.
The existing fuzz harness already provides deterministic corpus mutation, grammar-directed stress generation and a known-valid pipeline generator, with per-input timeouts, crash-class deduplication, automatic minimisation and retained crash fixtures. tests/fuzz/crashes/known_crashes.json currently has no open crash class; its retained parser crash families are fixed regressions.
Required PR CI runs all fuzz targets. The hardened exact-tag release workflow runs all targets with a longer 60-second-per-target budget and fails on any new crash class before publication. Stable Python-reference vs self-hosted flowc semantic differential is enforced by the permanent conformance corpus (#701) rather than duplicating that oracle inside the crash fuzzer.
The formatter is explicitly Experimental in the final 1.0 stability manifest, so formatter round-trip fuzzing is a promotion requirement for flow fmt, not a blocker for the initial Stable compiler surface. Likewise Experimental DSL/effect/backend fuzz expansion remains follow-up work before those surfaces are promoted.
Acceptance criteria for initial Stable 1.0
- Generated known-valid programs exercise parse/typecheck/monomorphize/C generation.
- Malformed mutation and grammar stress targets are deterministic and bounded.
- New crash classes fail CI and can be minimised/retained reproducibly.
- Exact-tag qualification runs an extended fuzz campaign on each Tier-1 release job.
- Known open retained Stable crash classes: 0.
- Stable Python-reference /
flowcsemantic divergence is a failing permanent conformance regression. - Formatter/Experimental subsystem fuzzing is explicitly a later promotion gate rather than an accidental 1.0 promise.
Release gate
Satisfied for the initial Stable Flow 1.0 surface; exact-tag fuzz must still remain green before publication.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity