Repository navigation
fix(fuzz): the cran archive helpers take a fataler, not testing.TB - #542
Merged
M0Rf30 merged 1 commit intoDec 1, 2026
Merged
Conversation
The nightly ClusterFuzzLite batch has failed to build since openartifact#533 (issue openartifact#514): FuzzReadDescription passes its *testing.F to tarGz and zipOf, which took a testing.TB, and the OSS-Fuzz Go build substitutes a testing.F that lacks ArtifactDir. The helpers only call Helper and Fatal, so they take the small fataler interface the terraform tests already use for the same reason. A scan of every fuzz target finds no other testing.TB helper called with f. Co-Authored-By: Claude Opus 5.5 <[email protected]>
M0Rf30
pushed a commit
that referenced
this pull request
Dec 3, 2026
) The nightly ClusterFuzzLite batch still failed after #542, now with "could not find the function: func FuzzPeekOperation" (#514): build.sh deletes the files of an external test package before it builds, because the OSS-Fuzz Go build compiles test files as ordinary sources, and #533 declared FuzzPeekOperation in pkg/gitlfs/gitlfs_test.go and six targets in pkg/swift/fuzz_test.go as package gitlfs_test and swift_test. Seven of the 228 targets vanished and the first missing one aborted the batch. FuzzPeekOperation moves to pkg/gitlfs/fuzz_test.go and pkg/swift/fuzz_test.go becomes package swift (swifttest imports nothing of swift, and its TB is the small interface). tests/fuzz_targets_test.go fails on a fuzz target in an external test package, so make test catches this before the nightly run does; it reports all seven on main's tree. Co-authored-by: Areef <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
The nightly ClusterFuzzLite batch has failed at "Build fuzzers" since #533 (#514): FuzzReadDescription passes its *testing.F to tarGz and zipOf, which took a testing.TB, and the OSS-Fuzz Go build substitutes a testing.F without ArtifactDir (
*testing.F does not implement testing.TB (missing method ArtifactDir)in the run log). The helpers only call Helper and Fatal, so they now take the fataler interface the terraform tests use for the same reason. A scan of every fuzz target finds no other testing.TB helper called with f. go test -race and a short local fuzz run of FuzzReadDescription pass.🤖 Generated with Claude Code