Skip to content

fix(ci): gofmt internal/mcp/codegen.go (un-break main)#89

Merged
RNT56 merged 1 commit into
mainfrom
fix/mcp-gofmt
Jun 29, 2026
Merged

fix(ci): gofmt internal/mcp/codegen.go (un-break main)#89
RNT56 merged 1 commit into
mainfrom
fix/mcp-gofmt

Conversation

@RNT56

@RNT56 RNT56 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

The #88 merge commit went red on the golangci-lint lane only (the other 5 — make verify, tui-verify, -race, sandbox-linux, browser — passed): internal/mcp/codegen.go:43:1: File is not properly formatted (gofmt). A trailing blank line at EOF left by the #4 sed removal of the sort import. My local lint had only targeted specific packages (not ./internal/mcp after that edit) and make verify doesn't run gofmt.

Fix = remove the trailing blank line. Verified with the exact CI command (golangci-lint run, full repo, clean cache, v2.12.2) → 0 issues; gofmt -l clean; build green.

🤖 Generated with Claude Code

The #4 sed-based removal of the `sort` import / Discover left a trailing blank line
at EOF, which the CI golangci-lint lane (full-repo gofmt) flagged on the #88 merge
commit. My local lint runs had only targeted specific packages (not ./internal/mcp
after that edit) and `make verify` doesn't run gofmt, so it slipped through.

Verified with the EXACT CI command: `golangci-lint run` (full repo, clean cache,
v2.12.2) → 0 issues; gofmt -l clean; build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@RNT56 RNT56 merged commit 809ce02 into main Jun 29, 2026
6 checks passed
@RNT56 RNT56 deleted the fix/mcp-gofmt branch June 29, 2026 21:56
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