Repository navigation
ci: the fuzz regression cases run on every pull request (C9) - #713
Merged
Merged
Conversation
From the CI audit of 2026-10-05: tests/fuzz_regressions.rs (38 crash and bounds inputs, one of which caught a real gzip_header_len bug) was classed unit, so it never ran, while the README, fuzz/README and CONTRIBUTING said it ran in normal CI. With the maintainer's choice (2026-10-05) it moves to a new hardening class that tools/ci/verify-real-files.sh runs: regression inputs that once crashed a parser of untrusted files, checked through the public API. proptest_parsers, graceful_degradation and control_cancellation stay unrun. The README counts the fuzz targets as 11.
DrunkOnJava
added a commit
that referenced
this pull request
Oct 27, 2026
… RE-189 and RE-211 closed (#1064) ## Summary The README now lists what `main` adds after 0.9.0, and it no longer lists as open three gaps that RE-189, RE-211 and the materials work closed. It also fixes a broken anchor and a fuzz case count that was wrong. ## Motivation Griffin asked for the README to be brought up to date. It already carried every measured figure from #1049 to #1063 in its tables, but: - the "Support and evidence" link pointed at `#release-070-and-main`, a heading that no longer exists; - it sent readers to `[Unreleased]` in `CHANGELOG.md`, which is empty since #938 moved unreleased entries to `changelog.d/`; - it listed roofs by extrusion as not decoded (#883, closed by #930, RE-211), the ElemTable's first ids as an open question (#760, closed by #797, RE-189) and family instances' materials as decoder work (#34, closed 2026-09-27; the table's own row covers RE-149 to RE-206); - it said 38 fuzz regression cases, but `tests/fuzz_regressions.rs` has 64, all of them run in CI (`hardening fuzz_regressions` in `tools/ci/test-targets.txt`). It already had 64 when the sentence was written (#713). ## Changes - `README.md`: - the anchor now points at "Release 0.9.0 and main"; - "Release 0.9.0 and main" lists what `main` adds, taken from the `changelog.d/` fragments: base quantities, the diagnostics, and RE-248 and RE-251 to RE-255. On the office as built that is 21,065 quantities, against 0.9.0's 20,157; - the roofs row says a Revit 2025 roof by extrusion is drawn as its section. Its RE-211 figures (1,187 of 1,187 vertices within 0.001 ft, volume 1.00015 of Revit's) are stated apart from RE-199's 18 roofs, since its volume is outside the 1e-4 those meet. The two gap lists now say "outside Revit 2025", as `docs/status.md` already does; - the ElemTable row is Done, with RE-189's finding; - #34 is gone from the decoder-work list; - 38 becomes 64; - main's walls' `Width` is called an extension to slanted and unplaced walls, since 0.9.0 already had `Width` (RE-244). - `docs/support-matrix.json`, row `element-record-roof-outlines`: the notes still called #883 open. They now record RE-211's reading and measurement, and the evidence lists its reader, writer, probe, scorer and report. The status stays `partial`. N/A: no code, no export change, no changelog fragment (docs-only). ## Testing - `python3 tools/ci/api-doc-ids.py`: every cited RE finding has a report (240 reports). - `python3 tools/ci/wasm-api.py docs rvt-wasm/src/lib.rs README.md docs/viewer-api.md`: 22 bindings, matching. - `python3 tools/release/changelog.py check`: 18 fragments, valid. - Every `](#...)` anchor in the README resolves to a heading, every relative link resolves to a file, and there are no home paths. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR - [x] Commit messages describe WHAT changed and WHY - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 (see `CONTRIBUTING.md`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the CI audit of 2026-10-05.
tests/fuzz_regressions.rsholds 38 crash and bounds inputs, one of which caught a realgzip_header_lenbug. It was classedunit, so CI never ran it, while the README, fuzz/README and CONTRIBUTING said it ran in normal CI.With the maintainer's choice of 2026-10-05, it moves to a new
hardeningclass thattools/ci/verify-real-files.shruns. The class is for regression inputs that once crashed a parser of untrusted files, checked through the public API.proptest_parsers,graceful_degradationandcontrol_cancellationstay unrun. The README now counts 11 fuzz targets.The test file itself is unchanged. This pull request's CI is the first run of those 38 cases since they were classed
unit.Note
Low Risk
CI and documentation-only wiring; no parser or test logic changes, only ensures existing regression tests actually execute in the gate.
Overview
CI now runs the 38 fuzz-regression cases on every pull request by introducing a
hardeningtest class intools/ci/test-targets.txtand wiring it throughtools/ci/verify-real-files.sh(and thustools/check-local.sh).fuzz_regressionsmoves from the non-rununitbucket tohardening, which replays crash- and bounds-shaped inputs through the public API. Other synthetic tests (proptest_parsers,graceful_degradation,control_cancellation) stay unrun.Docs align with behavior: the README states 11 libFuzzer targets (nightly) and that the adversarial regressions run in CI on each PR; contributor notes say
tests/fuzz_regressions.rsruns in CI. The regression test source is unchanged—this PR is the first CI execution since reclassification.Reviewed by Cursor Bugbot for commit 056b9a6. Configure here.