Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b70255d
fix(cli): port db reset --experimental remote schema-files path to na…
Coly010 Aug 4, 2026
7d33278
docs(cli): reformat go-cli-porting-status.md table (oxfmt column widths)
Coly010 Aug 4, 2026
873c3d3
fix(cli): address review findings on db reset --experimental native p…
Coly010 Aug 4, 2026
93617dc
Merge remote-tracking branch 'origin/develop' into columferry/cli-195…
Coly010 Aug 4, 2026
8ff4485
docs(cli): reformat go-cli-porting-status.md table (oxfmt column widths)
Coly010 Aug 4, 2026
4bdb3bd
fix(cli): match Go's Glob.SQLFiles symlink and empty-pattern handling…
Coly010 Aug 5, 2026
7020d74
fix(cli): weakly coerce non-string schema_paths/sql_paths entries (CL…
Coly010 Aug 5, 2026
4024640
fix(cli): propagate SQL-glob walk failures and gate schema-file sugge…
Coly010 Aug 5, 2026
1fa1508
fix(cli): abort config load on non-scalar schema_paths/sql_paths entr…
Coly010 Aug 5, 2026
e781d2e
fix(cli): weakly coerce top-level scalar schema_paths/sql_paths (CLI-…
Coly010 Aug 5, 2026
efbc9a0
fix(cli): stop misreading stat failures and absolute glob roots (CLI-…
Coly010 Aug 5, 2026
971b666
fix(cli): normalize doubled slash under trailing-slash matched dirs (…
Coly010 Aug 5, 2026
1dabdb6
docs(cli): document SUPABASE_DB_MIGRATIONS_SCHEMA_PATHS in db reset S…
Coly010 Aug 5, 2026
2502f35
fix(cli): drop './' prefix when a walked SQL directory cleans to '.' …
Coly010 Aug 5, 2026
f0fc52c
fix(cli): clean walked SQL child paths like Go's path.Join (review: C…
Coly010 Aug 5, 2026
95f3108
fix(cli): keep a raced '.sql' child declared when its stat fails (rev…
Coly010 Aug 5, 2026
40f597f
fix(cli): clean direct SQL glob matches like Go's afero.Glob (review:…
Coly010 Aug 5, 2026
a3a846c
fix(cli): preserve Windows drive roots when splitting SQL glob patter…
Coly010 Aug 5, 2026
35204d5
fix(cli): wrap migration read failures with Go's parse-file error tex…
Coly010 Aug 5, 2026
5331b1b
docs(cli): correct db reset SIDE_EFFECTS on encrypted vault secrets (…
Coly010 Aug 5, 2026
f37fe32
fix(cli): format large numeric schema_paths entries as fixed decimal …
Coly010 Aug 5, 2026
3da79a8
fix(cli): report workdir-relative path in schema-file read errors (re…
Coly010 Aug 5, 2026
17f2960
docs(cli): document SUPABASE_EXPERIMENTAL_PGDELTA_ENABLED reset gate …
Coly010 Aug 5, 2026
e37fc5c
fix(cli): sort SQL glob matches by UTF-8 byte order like Go (review: …
Coly010 Aug 5, 2026
cf49af6
fix(cli): fail walk on a raced disappearing subdirectory like Go's Wa…
Coly010 Aug 5, 2026
08b4dd8
fix(cli): preserve raw Windows glob pattern in "no files matched" war…
Coly010 Aug 5, 2026
873f12a
fix(cli): report workdir-relative path in SQL glob stat-failure warni…
Coly010 Aug 5, 2026
95072d7
fix(cli): keep SQL glob walk/stat errors and Windows match order Go-f…
Coly010 Aug 5, 2026
e61a58c
fix(cli): match Go's filepath.IsAbs for Windows-rooted schema/seed pa…
Coly010 Aug 5, 2026
30bf58a
fix(cli): match Go's Lstat glob fast path, scanner buffer limit, and …
Coly010 Aug 5, 2026
525d855
fix(cli): strictly parse SUPABASE_SCANNER_BUFFER_SIZE and honor proje…
Coly010 Aug 6, 2026
c405fc9
fix(cli): format TOML inf/-inf/nan glob entries as Go's strconv.Forma…
Coly010 Aug 6, 2026
f8a544d
fix(cli): reject an unterminated scanner token exactly at the buffer …
Coly010 Aug 6, 2026
3fce530
fix(cli): preserve negative zero when weakly formatting glob entries …
Coly010 Aug 6, 2026
2b232d0
fix(cli): cache the pg-delta migrations catalog after a remote reset …
Coly010 Aug 6, 2026
c06bc55
fix(cli): parse SUPABASE_SCANNER_BUFFER_SIZE with Go's base-0 int gra…
Coly010 Aug 6, 2026
560ff8a
docs(cli): document the ported pg-delta catalog cache in db reset (re…
Coly010 Aug 6, 2026
8e8393d
fix(cli): aggregate glob decode issues across sql_paths and schema_pa…
Coly010 Aug 6, 2026
8e886ce
fix(cli): provide pg-delta runtime services to db reset (review: CLI-…
Coly010 Aug 6, 2026
c9ecd15
fix(cli): accept Go's underscore digit separators in scanner-size int…
Coly010 Aug 6, 2026
f119a1c
fix(cli): read the pg-delta catalog timestamp after the export, not b…
Coly010 Aug 6, 2026
319e84e
docs(cli): document the local reset path's pg-delta catalog write (re…
Coly010 Aug 6, 2026
89acd6c
fix(cli): sort directory entries before walking to match Go's fs.Walk…
Coly010 Aug 6, 2026
ed712c6
fix(cli): scope project-env registry overrides around db reset's cata…
Coly010 Aug 6, 2026
1ac6609
fix(cli): match Go's scanner-size range rejection and last-token erro…
Coly010 Aug 6, 2026
da39dd0
fix(cli): reject bare TOML datetime schema_paths/sql_paths instead of…
Coly010 Aug 6, 2026
f0b0a42
Merge remote-tracking branch 'origin/develop' into columferry/cli-195…
Coly010 Aug 6, 2026
6d7e1f8
chore(cli): fix markdown table formatting after develop merge
Coly010 Aug 6, 2026
96f55b9
Merge remote-tracking branch 'origin/develop' into columferry/cli-195…
Coly010 Aug 6, 2026
9d1eb7a
fix(cli): close 3 db reset --experimental Go-parity gaps found in review
Coly010 Aug 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/cli/docs/go-cli-porting-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ These commands exist in the TS CLI today but have no direct top-level equivalent
| `db lint` | `ported` | `legacy/commands/db/lint/` | `n/a` | `n/a` | Native TS port. Runs `plpgsql_check` in a rolled-back transaction via LegacyDbConnection; emits Go-parity pretty JSON. |
| `db pull` | `ported` | `legacy/commands/db/pull/` | `n/a` | `n/a` | Native TS port. Native pg-delta / migra migration + `--declarative` pg-delta export; reconciles `schema_migrations`. The initial-migra pull dumps the remote schema natively (`pg_dump`) then appends the migra diff. Only `--experimental` (structured dump) still delegates to Go, deprecated in favor of `--declarative` (CLI-1957) — it needs a TS PostgreSQL DDL parser for Go's `format.WriteStructuredSchemas` that has no equivalent in this repo, and `--declarative` already delivers the same per-object schema split via pg-delta catalog introspection. |
| `db push` | `ported` | `legacy/commands/db/push/` | `n/a` | `n/a` | Native TS port. Connects local/linked/`--db-url`; pushes pending migrations, `--include-seed` seeds (`seed_files` hash tracking), `--include-roles`, `[db.vault]` secrets including decrypted `encrypted:` values; `--dry-run`; best-effort pg-delta migrations-catalog cache (warning-only on failure). Pipeline-incompatible statements (`CREATE INDEX CONCURRENTLY`, `VACUUM`, …) run standalone outside the batch transaction — from the closed Go PR supabase/cli#5156, also ported into `apps/cli-go` (CLI-1989 ruling). |
| `db reset` | `ported` | `legacy/commands/db/reset/` | `n/a` | `n/a` | Remote path native (drop user schemas, vault upsert, MigrateAndSeed, `--version`/`--last`, `--sql-paths` seed override). Local path native: running check, recreate + migrate + seed via the hidden Go `db __db-bootstrap` seam, storage-gated bucket seeding (reuses `seed buckets`), git-branch `Finished…` line. Only the niche `--experimental` remote schema-files path still delegates to the Go binary (telemetry-disabled). Pipeline-incompatible statements run standalone outside the batch transaction, same as `db push` (closed Go PR supabase/cli#5156, CLI-1989 ruling). |
| `db reset` | `ported` | `legacy/commands/db/reset/` | `n/a` | `n/a` | Remote path native (drop user schemas, vault upsert, MigrateAndSeed — including the `--experimental` declarative `[db.migrations].schema_paths` apply branch, CLI-1958 — `--version`/`--last`, `--sql-paths` seed override). Local path native: running check, recreate + migrate + seed via the hidden Go `db __db-bootstrap` seam (that seam still forwards `--experimental` for its own schema-files branch, CLI-1955 scope), storage-gated bucket seeding (reuses `seed buckets`), git-branch `Finished…` line. Pipeline-incompatible statements run standalone outside the batch transaction, same as `db push` (closed Go PR supabase/cli#5156, CLI-1989 ruling). |
| `db start` | `ported` | `legacy/commands/db/start/` | `n/a` | `n/a` | Fully native TS port (CLI-1954 removed the last Go delegation). Validates config, checks "already running" (prints Go's line, native `docker container inspect`), else natively brings up the Postgres container (network/volume/create/start via `legacy/shared/db-bootstrap/`'s shared primitives), waits for health, runs the fresh-volume `SetupLocalDatabase`-equivalent pipeline (including its best-effort pg-delta migrations-catalog warmup), and writes `_current_branch`. `--from-backup` is fully native too: a third entrypoint variant (schema.sql + a ported `restore.sh`, no `webhook.sql`), a `backup volume already exists` guard when the volume isn't fresh, and a swallowed (not failed) health-check timeout. No status table / `cli_stack_started` (those are `supabase start`). |
| `inspect report` | `ported` | `legacy/commands/inspect/report/` | `n/a` | `n/a` | Native TS port. Runs every inspect query via server-side `COPY ... CSV`, writes 14 CSVs under `<output-dir>/<date>/`, then renders a Go-parity Glamour rules summary (bounded csvq-subset evaluator; custom `[experimental.inspect.rules]` supported). |
| `inspect db db-stats` | `ported` | `legacy/commands/inspect/db/db-stats/` | `n/a` | `n/a` | Native TS port. Queries Postgres directly via LegacyDbConnection; renders Go-parity Glamour tables. |
Expand Down
Loading
Loading