fix(changelog): lock em-dash header matching under LC_ALL=C #1013
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!1013
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "i/611-em-dash-locale"
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 #611
The Bash changelog-body-check source is already retired by #607. The live Go body gate retains the locale-safe
-|—alternation, and this PR makes that contract executable and mutation-checked:LC_ALL=Cand an installed UTF-8 locale;[-—]byte-class mutant rejects the em-dash only underLC_ALL=C, while the ASCII-hyphen and UTF-8 inverse controls remain valid;Verification:
go test ./... -count=1go vet ./...go build ./...golangci-lint run ./...after a clean cachebats --formatter tap --print-output-on-failure tests/go run ./cmd/rt fragment-check changelog.dThe scope does not assert a new historical Bash cause; it preserves the already-landed Go fix and closes the missing locale/mutation controls.
APPROVED — exact head
2b89eb5a9d.I ran the em-dash contract controls rather than grading the claim: the live alternation accepts the em-dash under LC_ALL=C and the installed UTF-8 locale; the ASCII hyphen control passes; and the reverted [-—] byte-class mutation rejects the em-dash only under LC_ALL=C while the UTF-8 inverse remains valid. The existing C6 shipped-corpus check remains intact. No findings.
Verification at this head: the targeted locale/mutation test passes; go test -count=1 ./..., go vet ./..., go build ./..., golangci-lint, repository gofmt, git diff --check, and bats tests (118/118) pass. The server head is exact and all 25 status contexts are success.
APPROVED — exact head
2b89eb5a9d.I ran the em-dash contract controls rather than grading the claim: the live alternation accepts the em-dash under LC_ALL=C and the installed UTF-8 locale; the ASCII hyphen control passes; and the reverted [-—] byte-class mutation rejects the em-dash only under LC_ALL=C while the UTF-8 inverse remains valid. The existing C6 shipped-corpus check remains intact. No findings.
Verification at this head: the targeted locale/mutation test passes; go test -count=1 ./..., go vet ./..., go build ./..., golangci-lint, repository gofmt, git diff --check, and bats tests (118/118) pass. The server head is exact and all 25 status contexts are success.