feat(cli): upgrade pg-delta next to alpha.46 - #6300
Conversation
Consume OWNED BY / load assist, drop the CLI parameter-ACL workaround, pretty-print generated SQL, and only strip image extensions when declarations recreate them.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f387bcc80e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@1387b702443e4b010302218921d201e5dca34d60Preview package for commit |
PG17 ships pgcrypto without pgjwt. Restoring pgjwt after every pgcrypto recreate invented a CREATE EXTENSION the project never declared.
Nested comments and E-strings were still leaking CREATE EXTENSION into prep drops. Checkout the shadow client so interrupt and socket errors cannot hang or crash the shared pool.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d57990ece8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A table named "CREATE EXTENSION pgcrypto" was treated as a declaration and could drop the image default. Scan keywords while skipping "..." spans.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6af0469c46
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Shadow prep only needs comments and simple strings stripped before a regex. Nested comments, E-strings, and quoted-ident scanning were not worth the complexity.
Use pool.query again so a locked DROP waits like other sites, and keep scenario tests for the drop/restore contract.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1387b70244
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
@supabase/pg-deltafrom1.0.0-alpha.42to1.0.0-alpha.46sodb diff,db pull, anddb schema declarative generatepick up supabase-profile parameter-ACL filtering,OWNED BYwith the owning table, per-statement load fallback,vault_presence, and reconnect-on-stuck load assist.pgjwt/pgcrypto/uuid-ossp); omit means keep. Restore imagepgjwtafter a pgcrypto-only drop only if it was installed. On PG14, detachstorage.objects.idbefore droppinguuid-ossp.--//* *// simple'...'plus a regex (pathological SQL is an accepted miss). Prep usespool.query; a locked DROP can delay Ctrl-C like other sites.Extracted from #6274 so the engine upgrade can land on
developwithout the schema-first command stack.Linked issue
Supabase maintainer change; no public issue to close.
open-for-contributionlabel (or I'm a Supabase maintainer).Checklist
feat(cli): …).pnpm check:allandpnpm testpass for the workspace(s) I touched.