Skip to content

ci: the fuzz regression cases run on every pull request (C9) - #713

Merged
DrunkOnJava merged 3 commits into
mainfrom
ci/c9-fuzz-regressions
Oct 5, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
ci/c9-fuzz-regressions

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

From the CI audit of 2026-10-05.

tests/fuzz_regressions.rs holds 38 crash and bounds inputs, one of which caught a real gzip_header_len bug. It was classed unit, 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 hardening class that tools/ci/verify-real-files.sh runs. The class is for 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 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 hardening test class in tools/ci/test-targets.txt and wiring it through tools/ci/verify-real-files.sh (and thus tools/check-local.sh).

fuzz_regressions moves from the non-run unit bucket to hardening, 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.rs runs 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.

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
DrunkOnJava merged commit b31ecf0 into main Oct 5, 2026
25 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/c9-fuzz-regressions branch October 5, 2026 13:21
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`)
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