Skip to content

v3.1.10 - fixes the corpus-upload condition v3.1.9 shipped broken

Choose a tag to compare

@n-ae n-ae released this 23 Jul 04:30
· 17 commits to main since this release
04537f4

Patch release, CI only - no runtime or test source changes, no caller-visible behavior change.

Fixed

  • .github/workflows/fuzz.yml's corpus-upload step could never actually run. v3.1.9 scoped the if: condition to steps.fuzz.outcome == 'failure', but GitHub Actions implicitly ANDs a bare if: with success() unless the expression contains an explicit status-check function - so the effective condition was success() && steps.fuzz.outcome == 'failure', never true, since the fuzz step failing already puts the job in a failed state by the time the upload step evaluates. Now if: failure() && steps.fuzz.outcome == 'failure'.

    Verified live on both paths, not just YAML-validated: a throwaway branch with the fuzz step swapped for one that writes a sentinel corpus file and exits 1 confirmed the upload step runs and the resulting artifact contains exactly that file; a second real run on main confirmed the success path still correctly skips the upload.

    Found by the v3.1.9 maintainability assessment (grade B+, down from A- - the first defect this assessment lineage has found in a shipped release since the v3.1.6→v3.1.7 cycle).

See CHANGELOG.md for full details.