chore(repo): remove the Go CLI tree and its pipeline - #6610
Conversation
Coly010
force-pushed
the
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-remove-delegation
branch
from
September 15, 2026 09:22
8eb3f2a to
368e56c
Compare
Deletes `apps/cli-go/` (the Go module, its vendored `fsevents` fork, and the separately-published `github.com/supabase/cli/pkg` submodule) now that nothing in the TypeScript CLI delegates to it, and removes everything that existed only to build, test, lint, package, or document it: - Go toolchain entries (`mise.toml`/`mise.lock`), root tooling config (knip/oxlint/oxfmt/commitlint/dependabot/CODEOWNERS/gitattributes). - CI: deletes the Go test/coverage/lint/codegen/mirror/tag-publish workflows; renames and de-Go-ifies the image-mirror and CodeQL workflows (the latter is the repo's only code-scanning workflow, kept alive for TypeScript). - Build/packaging: the Go sidecar cross-compile, its inclusion in every release archive/deb/rpm/apk, and its macOS code-signing entry. Every platform ships a single `supabase` binary. - Docs: deletes the Go CLI reference dump and divergences ledger; rewrites `binary-distribution.md`/`release-process.md` for the single-binary model; adds ADR 0025 recording the removal (superseding ADR 0016). The `pkg` module's `pkg/v*` release tags are frozen (protected against deletion by a new tag-protection ruleset) rather than migrated — its publish path became structurally unresolvable at the 2026-05 monorepo move, so `pkg/v1.2.3` is already its last resolvable version; ADR 0025 records the known external importers and their unblock path. Linear: CLI-2432 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Coly010
force-pushed
the
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-cleanup
branch
from
September 15, 2026 09:30
85f56e2 to
8cd3ecc
Compare
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.
What kind of change does this PR introduce?
Chore — repo cleanup, no CLI behavior change.
What is the current behavior?
apps/cli-go/(a Go module, its vendoredfseventsfork, and the separately-publishedgithub.com/supabase/cli/pkgsubmodule — 301 tracked files) still lives in the repo, along withthe Go toolchain, eight
cli-go-*CI workflows, dependabot/CODEOWNERS entries, and packaging codethat builds and ships a
supabase-gosidecar binary alongside the TS CLI — even though, after#6609, nothing calls it anymore.
Stacked on #6609 (removes the last TS-side Go delegation) and #6604 (relocates the Docker image
manifest out of the Go tree).
What is the new behavior?
apps/cli-go/is deleted entirely; itsLICENSE(the repo's only one) moves to the repo root.supabasebinary — no more sidecar in any releasearchive,
.deb/.rpm/.apk, or the Homebrew formula.de-Go-ifies the image-mirror workflow; keeps the repo's only CodeQL scan alive, scoped to
TypeScript, with a concurrency group so pushes don't queue up uncancelled runs.
mise.toml,knip.json,.oxlintrc.json,.oxfmtrc.json,commitlint.config.js,.gitattributes,.github/CODEOWNERS, and.github/dependabot.yml.binary-distribution.md/release-process.mdfor the single-binary model; addsADR 0025, superseding ADR 0016.
github.com/supabase/cli/pkgmodule'spkg/v*release tags are frozen rather thanmigrated — its publish path became structurally unresolvable at the 2026-05 monorepo move, so
pkg/v1.2.3was already its last resolvable version. The tags are now protected againstdeletion by a repository ruleset; ADR 0025 names the known external importers and their
regeneration-based unblock path.
Part of CLI-2432