Repository navigation
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
Conversation
… reported as one, and every PR checks the fuzz targets build (#965)
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.
Summary
The nightly fuzz run's "crash" (#965) was a build failure:
fuzz_step_writerbuilds anIfcModelfield by field and lackedtype_property_sets, which #934 added. The target now fills every field it does not set fromIfcModel::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 afuzz-buildissue rather than afuzz-crashone. A new CI job,fuzz targets build, checks the fuzz workspace on every PR and gatesCI 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: aBuild <target>step before the run; the report job counts the run'scrash-artifacts (uploaded only when a target's run step fails) and filesfuzz-crashorfuzz-buildaccordingly..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), inCI 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 newfuzz targets buildjob on this PR.fuzz_step_writer(60 s): run 40175530101, in progress.actionlintreports nothing new; its one complaint,uses: $/.github/actions/fetch-corpus, predates this change and those steps succeed on GitHub.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
Related issues
Closes #965