test: scrub short-flag vocabulary collision #1009
No reviewers
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit!1009
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "i/897-scrub-commit-qm"
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?
Refs frankenbit/release-toolkit#897.
Measured on current main
798a5b19cff3319d61e87139c50b00e09166fd03before editing: exactly twogit commit -qmoccurrences in two Go test helpers:internal/prep/push_failure_test.go:33internal/prep/worktreestate_test.go:36Both are test-only Git argument vectors. The scrub-first disposition is sufficient, so the matcher, built-in vocabulary, and allow-list are unchanged. The existing real-name positive and inverse controls remain in
internal/registertests:the QM saidmatches, while the word-boundary inverseequomaticremains clean.The two helpers now pass
-qand-mas separate Git options. Post-edit measurement finds zero-qmmatches.Verification:
rt register-check --stdin-> rc 1,git commit -qm baseis reportedgit commit -q -m baseis cleanthe QM said-> rc 1equomatic-> rc 0rt register-check: 0 register-drift hitsgo test ./...,go vet ./...,go build ./...: passbats tests: 118/118 passrt fragment-check changelog.d: pass (existing unrelated warning retained)Reviewed exact head
406c49a6b4against base798a5b19cf.APPROVED. This is a correctly scoped fixture-only scrub: both former
git commit -qmargument vectors now pass equivalent-qand-marguments separately, preserving the Git behavior while removing the false register-check match. The matcher, built-in vocabulary, and allow-list are unchanged.Reproduced at this head: compact
git commit -qm base-> exit 1; separatedgit commit -q -m base-> exit 0;the QM said-> exit 1;equomatic-> exit 0. The exact tree contains no-qmoccurrences. Focused/full Go tests, vet, build, Bats 118/118, and Forgejo CI 25/25 are green.Reviewed exact head
406c49a6b4against base798a5b19cf.APPROVED. This is a correctly scoped fixture-only scrub: both former
git commit -qmargument vectors now pass equivalent-qand-marguments separately, preserving the Git behavior while removing the false register-check match. The matcher, built-in vocabulary, and allow-list are unchanged.Reproduced at this head: compact
git commit -qm base-> exit 1; separatedgit commit -q -m base-> exit 0;the QM said-> exit 1;equomatic-> exit 0. The exact tree contains no-qmoccurrences. Focused/full Go tests, vet, build, Bats 118/118, and Forgejo CI 25/25 are green.