fix: go mod tidy — add missing h1: sums for indirect deps - #119
Merged
Conversation
goreleaser's strict mode rejected v0.2.0's release build with "git is in a dirty state" because go.sum was missing h1: hashes for three indirect dependencies — golang/snappy, syndtr/goleveldb, and pgregory.net/rapid. The Go toolchain ran an implicit go mod download during the release pipeline which materialized the hashes, leaving go.sum modified at validation time. Run go mod tidy locally and commit so subsequent release pipelines start from a clean tree. No code changes; ai-check green. Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Summary
The v0.2.0 release build failed in goreleaser with:
```
git is in a dirty state
Please check in your pipeline what can be changing the following files:
M go.sum
```
Root cause: go.sum was missing `h1:` hashes for three indirect dependencies — `golang/snappy`, `syndtr/goleveldb`, and `pgregory.net/rapid`. The Go toolchain runs an implicit `go mod download` during the release pipeline which materializes the hashes, leaving go.sum modified at goreleaser's pre-build validation.
This commit runs `go mod tidy` locally and commits the result so subsequent release pipelines start from a clean tree.
Test plan
Next step
Once merged, the v0.2.0 tag will be deleted (locally + remote) and re-cut from the new HEAD so the release build can run cleanly. No GitHub Release was published from the original tag — only the bricked tag pointer.
🤖 Generated with Claude Code