Repository navigation
corpus: track glued.go, which a bare ignore rule kept out of #24 - #39
Merged
Merged
Conversation
corpus/.gitignore had a bare `corpus` line, meant for the binary that `go build ./cmd/corpus` leaves in corpus/. Unanchored, it also matched the directory cmd/corpus/, so every file created there after the rule was ignored: #24 committed the call to gluedWords in main.go (tracked from before) without glued.go and its test, and the corpus module has not built since (`undefined: gluedWords`). Anchor the rule to /corpus and add the two files, taken from the clone #24 was made in. go build, go vet and go test ./cmd/corpus pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
corpusmodule has not built onmainsince #24:cmd/corpus/main.go:192: undefined: gluedWords.Cause.
corpus/.gitignorehas a barecorpusline, meant for the binarygo build ./cmd/corpusleaves incorpus/. Unanchored, it also matches the directorycmd/corpus/, so any file created there after the rule is silently ignored. #24 describedcmd/corpus/glued.go(tested) and committed the call inmain.go(tracked from before the rule), but notglued.gonorglued_test.go.Fix. Anchor the rule to
/corpus, and add the two files from the clone #24 was made in (git status --ignoredthere lists exactly these two undercmd/).go build,go vetandgo test ./cmd/corpuspass with go1.27.2.Found by a fleet
govulnchecksweep (vulnscan), which could not load this module.🤖 Generated with Claude Code