Skip to content

Remove dead code, fix gofmt drift, and gate formatting in CI - #66

Merged
midagedev merged 2 commits into
mainfrom
midagedev/mullet
Aug 5, 2026
Merged

Remove dead code, fix gofmt drift, and gate formatting in CI#66
midagedev merged 2 commits into
mainfrom
midagedev/mullet

Conversation

@midagedev

Copy link
Copy Markdown
Owner

No product behaviour changes — repository hygiene only.

  • Remove subscriptionTotal, a caller-less wrapper around subscriptionLineAmounts.
  • Apply gofmt to twelve files. The diff is alignment-only (var block padding, one p.has(prefix+"…") spacing).
  • Add a gofmt -l step to CI, ahead of the test suite. Nothing enforced formatting before, which is how the drift accumulated silently.

Verification

  • go build ./..., go vet ./... — pass
  • go test ./... — pass, no failures
  • Compatibility scorecard — imported=50 skipped=1 unsupported=1 mismatch=0 error=0
  • DS5 regression guard (checkout/subscription tax 9900/10890, total_taxes shape, test-clock renewal tax 990, discount-then-tax 7425/743/8168, fixture txr_vat10 preservation, promo apply/remove, upcoming preview 4900/490/5390, automatic_taxdefault_tax_rates mutual exclusion) — all pass
  • gofmt -l returns nothing; go list -deps ./cmd/billtap | grep -c testing returns 0

🤖 Generated with Claude Code

Hyeoncheol Kim and others added 2 commits August 5, 2026 13:45
subscriptionTotal had no callers; subscriptionLineAmounts is the only
path in use. The gofmt changes are alignment-only drift accumulated
across recent rounds, made visible now that CI checks formatting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Nothing enforced formatting, so drift accumulated silently across
twelve files. The step runs before the test suite so a fmt-only
failure surfaces fast.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@midagedev
midagedev merged commit f206496 into main Aug 5, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant