Skip to content

fix(ci): the step-writer fuzz target builds again, a build failure is reported as one, and every PR checks the fuzz targets build (#965) - #967

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/965-fuzz-build
Oct 25, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/965-fuzz-build

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

The nightly fuzz run's "crash" (#965) was a build failure: fuzz_step_writer builds an IfcModel field by field and lacked type_property_sets, which #934 added. The target now fills every field it does not set from IfcModel::default(). Each nightly target is built in a step of its own, and a run in which nothing crashed but a target failed to build opens a fuzz-build issue rather than a fuzz-crash one. A new CI job, fuzz targets build, checks the fuzz workspace on every PR and gates CI passed, so a change that breaks a target is caught before it merges.

Motivation

fuzz/ is a workspace of its own that no CI job built, so a field added to a type a target constructs broke the nightly run after merge, twice (#236 → #259, #934 → #965). The report then called it a crash, a false red.

Changes

  • fuzz/fuzz_targets/fuzz_step_writer.rs: ..IfcModel::default().
  • .github/workflows/fuzz.yml: a Build <target> step before the run; the report job counts the run's crash- artifacts (uploaded only when a target's run step fails) and files fuzz-crash or fuzz-build accordingly.
  • .github/workflows/ci.yml: fuzz-check (cargo +nightly-2026-10-01 check --manifest-path fuzz/Cargo.toml --bins, the nightly toolchain the fuzz and docs.rs jobs pin), in CI passed's needs.

Testing

Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.

  • tools/check-local.sh: CI, including the new fuzz targets build job on this PR.
  • Fuzz workflow dispatched on this branch for fuzz_step_writer (60 s): run 40175530101, in progress.
  • Both workflow files parse (YAML) and actionlint reports nothing new; its one complaint, uses: $/.github/actions/fetch-corpus, predates this change and those steps succeed on GitHub.
  • Witness: no export changes.

Audit-honesty checklist

  • README / docs reflect the current state after this PR (the workflow headers say what they do)
  • No user-visible change, so no fragment
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content
  • No fixtures

Breaking changes

None.

Screenshots or output samples

error[E0063]: missing field `type_property_sets` in initializer of `IfcModel`
   --> fuzz_targets/fuzz_step_writer.rs:368:17

Related issues

Closes #965

… reported as one, and every PR checks the fuzz targets build (#965)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 25, 2026 08:09
@DrunkOnJava
DrunkOnJava merged commit 51287f2 into main Oct 25, 2026
31 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/965-fuzz-build branch October 25, 2026 08:13
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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.

Nightly fuzz run found a crash

1 participant