Repository navigation
fix(fuzz): the gitlfs and swift fuzz targets are in their packages - #551
Merged
M0Rf30 merged 1 commit intoDec 3, 2026
Merged
Conversation
The nightly ClusterFuzzLite batch still failed after openartifact#542, now with "could not find the function: func FuzzPeekOperation" (openartifact#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 openartifact#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: 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 batch still failed after #542 (#514), now with
could not find the function: func FuzzPeekOperation: build.sh deletes external test package files before building, and #533 declared FuzzPeekOperation (pkg/gitlfs/gitlfs_test.go) and six targets (pkg/swift/fuzz_test.go) in package gitlfs_test / swift_test, so 7 of 228 targets vanished and the first aborted the batch.FuzzPeekOperation moves to pkg/gitlfs/fuzz_test.go; pkg/swift/fuzz_test.go becomes package swift (swifttest imports nothing of swift; its TB is the small interface). New tests/fuzz_targets_test.go fails on a fuzz target in an external test package so make test catches it before the nightly run; it reports all seven on main.
Checks: a copy of the tree with build.sh's deletions applied compiles all 46 fuzz packages and keeps all 228 targets; go test -race for both packages; short fuzz runs of the moved targets; golangci-lint v2.15.0 0 issues.
🤖 Generated with Claude Code