Skip to content

chore(sdks): remove legacy Go REST SDK (sdks/go)#600

Merged
osvaldoandrade merged 1 commit into
mainfrom
chore/remove-sdks-go-rest
May 18, 2026
Merged

chore(sdks): remove legacy Go REST SDK (sdks/go)#600
osvaldoandrade merged 1 commit into
mainfrom
chore/remove-sdks-go-rest

Conversation

@osvaldoandrade

Copy link
Copy Markdown
Owner

Summary

  • Deletes sdks/go/, the legacy REST Go client (its own Go module: github.com/osvaldoandrade/codeq/sdks/go).
  • Part of the consolidation to a single official Go path — gRPC only — via pkg/producerclient/ and pkg/workerclient/, which ship as part of the main github.com/osvaldoandrade/codeq module.
  • Pure delete: zero in-repo importers exist for sdks/go (verified across cmd/, internal/, pkg/, loadtest/, examples/).

Scope

This PR intentionally touches only sdks/go/. The following are deliberately left for their dedicated cleanup units:

  • sdks/README.md, top-level README.md, and docs/integrations/go-integration.md (docs unit).
  • The publish-go-module job in .github/workflows/release.yml and cut-release.yml (release-workflow unit).
  • pkg/producerclient/ and pkg/workerclient/ are untouched — they are the new official Go SDK.

Test plan

  • go build ./... — clean
  • go test -short ./... — all packages green, including pkg/producerclient and pkg/workerclient
  • go build -o /tmp/codeq-cli-u4 ./cmd/codeq && /tmp/codeq-cli-u4 --help — CLI builds and runs

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

The codeQ project is consolidating to a single official Go client path,
backed by gRPC. The REST client at sdks/go/ (a separate Go module:
github.com/osvaldoandrade/codeq/sdks/go) is no longer needed.

Going forward, the official Go SDK lives in:
  - pkg/producerclient/  (gRPC producer client)
  - pkg/workerclient/    (gRPC worker client)

Both ship as part of the main github.com/osvaldoandrade/codeq module.

No in-repo importers existed for sdks/go (verified across cmd/,
internal/, pkg/, loadtest/, examples/), so this is a pure delete with
no code changes required elsewhere. Docs, top-level READMEs, and the
release.yml publish-go-module job are intentionally untouched here
and will be cleaned up in their dedicated units.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@osvaldoandrade osvaldoandrade merged commit fda0c36 into main May 18, 2026
2 checks passed
osvaldoandrade added a commit that referenced this pull request May 18, 2026
The previous version documented the REST-based sdks/go client that
PR #600 deleted. Rewritten to use the official gRPC clients:
pkg/producerclient (Connect → Produce per session) and pkg/workerclient
(Run with Handler returning Completed/Failed/Nack/Abandon).

Sections preserved: stdlib HTTP, Gin, dedicated worker process, best
practices, troubleshooting. Code examples are now copy-paste-runnable
against the current API surface.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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