Apply the gopls quick fixes on main #631
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#624 gate: fail on every gopls diagnostic
sixfold-space/madtea
Reference
sixfold-space/madtea#631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What
gopls reports findings on main that have quick fixes: tagged switches,
fmt.Fprintfin place ofWriteString(fmt.Sprintf(...)), splitWriteStringconcatenations, and unused parameters. The commit "style: apply gopls quick fixes" applies them across 15 files.This work merges before #624. The gopls gate leg in #624 fails on main while these findings are open.
Known problems in the commit
internal/service/workflow/finish_result.go: thefailResultdoc comment still describes theerrparameter that the commit removes.internal/mcp/tools_auth.go: the commit also changes a user-visible string. The dash in "unverified - no server check performed" changes from an em-dash to a hyphen. That change is not a gopls quick fix.Acceptance
./scripts/gate.shpasses.