Skip to content

fix: resolve all golangci-lint issues across e2e test suite#3

Merged
pdylanross merged 2 commits intomainfrom
feat/e2e
Apr 3, 2026
Merged

fix: resolve all golangci-lint issues across e2e test suite#3
pdylanross merged 2 commits intomainfrom
feat/e2e

Conversation

@pdylanross
Copy link
Copy Markdown
Owner

Summary

  • Fix all 105 golangci-lint issues across the e2e test suite and supporting packages
  • Covers: forbidigo, exhaustive, gosec, govet shadow, mnd magic numbers, nilerr, nolintlint, reassign, revive, and nestif
  • Regenerated swagger docs to reflect formatted code changes

Test Plan

  • make lint — 0 issues
  • make test — all unit tests pass
  • make — build succeeds (including swagger regeneration)

🤖 Generated with Claude Code

Fix 105 lint issues including: forbidden fmt.Print* usage (use fmt.Fprint*),
exhaustive switch cases, magic number extraction to constants, variable
shadowing, nolint directive explanations, unused parameters, context parameter
ordering, gosec integer overflow checks, and nilerr fixes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pdylanross pdylanross enabled auto-merge (squash) April 3, 2026 19:36
Fix 10 issues from newer golangci-lint in CI: use atomic.Uint64 instead of
raw uint64, add nolint for intentional background goroutines, replace
int-to-rune conversions with strconv.Itoa, remove stale nolint directives,
and exclude auto-generated docs from godot checks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pdylanross pdylanross merged commit ed79796 into main Apr 3, 2026
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