smoke tests fail under host gitconfig with commit.gpgsign=true #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-14T03:08:07Z - https://github.com/coilysiren/repo-recall/issues/130
Repro
coily exec teston a clean checkout of main (commit423ea46at time of filing) fails:Both tests build throwaway repos in tempdirs and invoke
git commitwithout overridingcommit.gpgsign. Local user gitconfig hascommit.gpgsign = trueso the test commit gets routed through gpg, which then can't find the right signing key (and shouldn't be involved at all in a throwaway test repo).Fix
Pass
-c commit.gpgsign=false -c tag.gpgsign=falseto the test'sgit commitinvocations, or write a per-test.git/configthat disables signing. This isolates tests from the host's signing posture.Why this matters
Blocks
make test/coily exec testfor anyone running with a gpg-signing global gitconfig - which is the documented coilysiren/* posture (see coilyco-vault/Notes/git-pull-verification.md). CI passes because the runner gitconfig has no signing key configured.Found while running test as part of the rate-limit GraphQL fix (#129).