Repository navigation
check: no commit by a test identity - #10
Merged
Merged
Conversation
A test in spin wrote git's author into the checkout's config, and every commit after it was the test's, on GitHub. task check now runs go-tools' testidentity over the branch's commits since origin/main - a reserved-domain address, one with no dot, or one this tree's tests spell - so such a commit stops here. The Gate fetches the history it reads; go-tools moves to the commit that has the command. 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.
Follow-up to spin-stack/spin#1196 and spin-stack/go-tools#104. A test in spin wrote
ana@corp.exampleinto a checkout's.git/config, and every commit made after that carried it to GitHub.task checknow runsgo tool testidentity -base origin/main. It fails on a commit since main whose raw author or committer address is at a reserved domain, has no dot, or appears in this tree's tests or fixtures, and the failure says how to fix it. GitHub's noreply and bot addresses pass.go mod tidymoved otel and grpc (indirect only).fetch-depth: 0so origin/main is in the clone on a pull request.Checked:
go tool task checkpasses. A planted commit byana@corp.examplefails it with exit 1 and the fix steps.🤖 Generated with Claude Code