Skip to content

Pre-public hygiene: drop dead field, ignore config.json, silence errcheck - #72

Merged
Yanujz merged 1 commit into
mainfrom
issue-68-hygiene
Sep 20, 2026
Merged

Yanujz merged 1 commit into
mainfrom
issue-68-hygiene

Conversation

@Yanujz

@Yanujz Yanujz commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

What changes for operators?

None (behavior-preserving). Removes a dead test field, keeps live config.json files out of git, and makes two intentional error-ignores explicit. golangci-lint run ./internal/... ./cmd/... reports nothing afterwards.

Failing-then-passing test

Hygiene change: linter output before (3 findings) vs after (silent); touched suites green.

Checklist

  • go build ./... && go vet ./... && go test ./... green (touched suites; full suite at merge)
  • gofmt -l . clean
  • OpenAPI updated if API surface changed — N/A
  • No fabricated history — N/A
  • No secrets, tokens, or hosts I don't own in the diff

Fixes #68

…heck

Remove the unused thresholdObserver.seen field, stop config.json from
being accidentally committed with live secrets, and use explicit
error-ignoring forms where golangci-lint errcheck flags (behavior
identical). golangci-lint is now silent on internal/... and cmd/...

Fixes #68
@Yanujz
Yanujz merged commit d67bd06 into main Sep 20, 2026
1 check passed
@Yanujz
Yanujz deleted the issue-68-hygiene branch September 20, 2026 10:09
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.

Pre-public hygiene: dead test field, config.json gitignore, errcheck nits

1 participant