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

supabase / cli / 32051858198
62%

Build:
DEFAULT BRANCH: develop
Ran 17 Aug 2026 05: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

17 Aug 2026 05:38PM UTC coverage: 62.406%. Remained the same
32051858198

push

github

web-flow
fix(cli): batch migration statements (CLI-2182) (#6224)

## TL;DR

fixes `supabase db reset` and `db push` taking minutes to run ( on
windows )
bringing the port much closer to the Go CLI by batching migration and
seed statements the same way it used to

## what was happening?

The native TypeScript port ran every SQL statement as its own database
round trip
The Go CLI it replaced sent a whole file down the wire at once
so big dump style migrations that used to apply in seconds started
taking minutes. Seed files had the same per statement loop...

## hows it fixed?

Go pipelined a whole file over the extended protocol and ended it with a
single Sync,
and we now follow that exactly, one Parse/Bind/Execute per statement and
one Sync per batch.
Statements that can't live inside a batch 
(CREATE INDEX CONCURRENTLY, VACUUM, ALTER SYSTEM, CLUSTER) still run
standalone the way they always did
since Postgres refuses to run those inside a transaction. The history
insert and the seed hash upsert ride in the final batch, so a file is
only recorded once everything in it succeeded...

## ref:
- closes: https://github.com/supabase/cli/issues/6172

Co-authored-by: avallete <andrew.valleteau@supabase.io>

5571 of 8927 relevant lines covered (62.41%)

6.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32051858198.1 17 Aug 2026 05:48PM UTC 95
62.41
GitHub Action Run
Source Files on build 32051858198
  • Tree
  • List 95
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32051858198
  • 29200724 on github
  • Prev Build on develop (#32025481732)
  • Next Build on develop (#32084162778)
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