Skip to content

chore(repo): remove the Go CLI tree and its pipeline - #6610

Open
Coly010 wants to merge 1 commit into
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-remove-delegationfrom
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-cleanup
Open

Coly010 wants to merge 1 commit into
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-remove-delegationfrom
columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-cleanup

Conversation

@Coly010

@Coly010 Coly010 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

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 vendored fsevents fork, and the separately-published
github.com/supabase/cli/pkg submodule — 301 tracked files) still lives in the repo, along with
the Go toolchain, eight cli-go-* CI workflows, dependabot/CODEOWNERS entries, and packaging code
that builds and ships a supabase-go sidecar 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; its LICENSE (the repo's only one) moves to the repo root.
  • Every platform package ships a single supabase binary — no more sidecar in any release
    archive, .deb/.rpm/.apk, or the Homebrew formula.
  • CI: deletes the Go test/coverage/lint/codegen/mirror/tag-publish workflows; renames and
    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.
  • Go toolchain and tooling references removed from mise.toml, knip.json, .oxlintrc.json,
    .oxfmtrc.json, commitlint.config.js, .gitattributes, .github/CODEOWNERS, and
    .github/dependabot.yml.
  • 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, superseding ADR 0016.
  • The github.com/supabase/cli/pkg module's pkg/v* release tags are frozen rather than
    migrated — its publish path became structurally unresolvable at the 2026-05 monorepo move, so
    pkg/v1.2.3 was already its last resolvable version. The tags are now protected against
    deletion by a repository ruleset; ADR 0025 names the known external importers and their
    regeneration-based unblock path.

Part of CLI-2432

@Coly010
Coly010 requested a review from a team as a code owner September 14, 2026 16:09
@Coly010
Coly010 force-pushed the columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-remove-delegation branch from 8eb3f2a to 368e56c Compare September 15, 2026 09:22
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
Coly010 force-pushed the columferry/cli-2432-remove-the-residual-go-cli-delegation-and-delete-appscli-go-cleanup branch from 85f56e2 to 8cd3ecc Compare September 15, 2026 09:30
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