chore(sdks): remove legacy Go REST SDK (sdks/go)#600
Merged
Conversation
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>
3 tasks
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sdks/go/, the legacy REST Go client (its own Go module:github.com/osvaldoandrade/codeq/sdks/go).pkg/producerclient/andpkg/workerclient/, which ship as part of the maingithub.com/osvaldoandrade/codeqmodule.sdks/go(verified acrosscmd/,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-levelREADME.md, anddocs/integrations/go-integration.md(docs unit).publish-go-modulejob in.github/workflows/release.ymlandcut-release.yml(release-workflow unit).pkg/producerclient/andpkg/workerclient/are untouched — they are the new official Go SDK.Test plan
go build ./...— cleango test -short ./...— all packages green, includingpkg/producerclientandpkg/workerclientgo build -o /tmp/codeq-cli-u4 ./cmd/codeq && /tmp/codeq-cli-u4 --help— CLI builds and runsCo-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com