• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 31742155522
62%

Build:
DEFAULT BRANCH: develop
Ran 13 Aug 2026 08:48PM UTC
Jobs 1
Files 95
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2026 08:32PM UTC coverage: 62.388% (-2.6%) from 65.011%
31742155522

push

github

web-flow
fix(cli): shrink the bundled Go binary to the proxied command subset (CLI-1970) (#6162)

## Summary

The M9 capstone
([CLI-1970](https://linear.app/supabase/issue/CLI-1970/shrink-the-bundled-go-binary-to-the-pg-schema-only-subset-and-rescope)),
expanded per review: the bundled `supabase-go` is cut down by
**deletion** (not build flags) to exactly the `LegacyGoProxy` command
surface, the last non-proxy Go spawn (the pg-delta seam) is **ported to
native TypeScript**, the go-vs-ts parity harness is retired, and the
Go-port provenance scaffolding (comments, SIDE_EFFECTS framing, docs) is
swept out of the TS tree.

### The residual Go surface (exhaustive)

`LegacyGoProxy` is now the **only** code path that spawns `supabase-go`:

- `db diff` — kept for `--use-pg-schema` (in-process
`stripe/pg-schema-diff`, CLI-1960)
- `db pull` — kept for `--experimental` structured dump (multigres DDL
parser, CLI-1957)
- `db branch create|delete|list|switch`, `db remote changes|commit`,
`gen keys` — Go-deprecated wrapped commands kept indefinitely (CLI-1964
cancelled)
- `functions download` — kept for the hidden `--legacy-bundle` path
(CLI-1963)

### What changed

- **Go deletion**: main module 138 → 38 first-party packages (100
deleted; 321 files, ~29.5k LOC). Kept: `pkg/` (independently tagged
module; audited — all 13 packages remain reachable from the trimmed
binary or its tests) and `tools/listdep` (used by `cli-go-mirror.yml`).
Deleted-source pin: `7b469f5b3`.
- **pg-delta seam ported native** (was the parity audit's blocker): `db
schema declarative generate|sync` no longer spawn `supabase-go db schema
declarative __catalog`/`db start` — the seam layer now composes the
existing native primitives (`legacySetupShadowDatabase`,
`legacyExportCatalogPgDelta`, hoisted `legacyStartLocalDatabase`)
in-process, preserving catalog cache filenames (shared with the Go
binary's own pull path), banner ordering, and the
`LegacyDeclarativeShadowDbError` contract. The two Go seam comma... (continued)

5565 of 8920 relevant lines covered (62.39%)

6.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
65
0.0
-52.42% internal/utils/tea.go
62
8.4
-5.2% cmd/root.go
42
49.62
-3.98% cmd/db.go
23
73.97
-4.99% internal/utils/docker.go
19
62.28
-11.38% internal/utils/misc.go
18
37.68
-8.7% internal/utils/flags/db_url.go
14
0.0
-100.0% internal/testing/fstest/stdout.go
13
79.89
-6.88% internal/telemetry/service.go
11
48.28
-37.93% internal/storage/client/api.go
10
33.33
-1.85% cmd/gen.go
9
59.09
13.17% cmd/functions.go
8
60.0
-40.0% internal/testing/helper/history.go
8
50.55
-4.4% internal/utils/deno.go
7
71.56
-3.11% internal/db/reset/reset.go
7
63.64
-12.73% internal/utils/profile.go
7
61.9
-33.33% internal/utils/render.go
5
90.35
-4.39% internal/testing/apitest/docker.go
4
84.51
-5.63% internal/migration/repair/repair.go
4
91.3
-4.35% internal/utils/access_token.go
4
89.84
-1.56% internal/utils/connect.go
3
58.21
-4.48% internal/db/dump/dump.go
3
90.77
-4.62% internal/utils/console.go
2
93.94
-3.03% internal/db/declarative/debug.go
2
0.0
-28.57% internal/telemetry/events.go
2
80.0
-20.0% internal/testing/fstest/open.go
2
88.24
-1.96% internal/utils/api.go
2
46.96
-1.1% internal/utils/config.go
Jobs
ID Job ID Ran Files Coverage
1 31742155522.1 13 Aug 2026 08:48PM UTC 95
62.39
GitHub Action Run
Source Files on build 31742155522
  • Tree
  • List 95
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31742155522
  • 0b03086f on github
  • Prev Build on develop (#31739764614)
  • Next Build on develop (#31759295933)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc