Skip to content

remove old SA1019 lint:ignore - #577

Merged
dragonsinth merged 1 commit into
masterfrom
cleanup
Aug 28, 2026
Merged

dragonsinth merged 1 commit into
masterfrom
cleanup

Conversation

@dragonsinth

@dragonsinth dragonsinth commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Note

Low Risk
Comment and gitignore-only changes; deprecated protobuf imports and call sites are unchanged.

Overview
Cleans up deprecated-API linter suppressions now that staticcheck is run with -checks "inherit,-SA1019", so SA1019 is not reported project-wide.

Import lines in cmd/grpcurl/grpcurl.go, desc_source.go, format.go, grpcurl.go, invoke.go, and their tests lose //lint:ignore SA1019 comments on github.com/golang/protobuf/* and github.com/jhump/protoreflect/* imports. format.go also drops the inline ignore above proto.MessageType in the Any fallback resolver.

Adds .claude/ to .gitignore for local tooling artifacts. No runtime or API behavior changes—only comments and gitignore.

Reviewed by Cursor Bugbot for commit 6e88f15. Bugbot is set up for automated code reviews on this repo. Configure here.

Copilot AI lite review requested due to automatic review settings August 28, 2026 18:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes deprecated-API (SA1019) linter suppression comments from protobuf/protoreflect imports (and one inline ignore) now that the repo’s staticcheck target disables SA1019 project-wide, and updates .gitignore for local tooling artifacts.

Changes:

  • Removed //lint:ignore SA1019 comments from deprecated protobuf/protoreflect import lines across core package files and tests.
  • Removed the inline SA1019 ignore above proto.MessageType in the Any fallback resolver.
  • Added .claude/ to .gitignore.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
invoke.go Removes SA1019 lint suppression comments from deprecated imports.
grpcurl.go Removes SA1019 lint suppression comments from deprecated imports.
grpcurl_test.go Removes SA1019 lint suppression comments from deprecated imports in tests.
format.go Removes SA1019 lint suppression comments from imports and the inline ignore above proto.MessageType.
format_test.go Removes SA1019 lint suppression comments from deprecated imports in tests.
desc_source.go Removes SA1019 lint suppression comments from deprecated imports.
cmd/grpcurl/grpcurl.go Removes SA1019 lint suppression comment from protoreflect import.
.gitignore Ignores .claude/ local tooling directory.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dragonsinth
dragonsinth merged commit 7884ecb into master Aug 28, 2026
7 checks passed
@dragonsinth
dragonsinth deleted the cleanup branch August 28, 2026 18:23
@BrewTestBot BrewTestBot mentioned this pull request Aug 31, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants