Skip to content

fix(cli): pg-delta workspace mount#5929

Merged
Coly010 merged 1 commit into
supabase:developfrom
7ttp:fix/pgdelta-catalog-workspace-mount
Jul 22, 2026
Merged

fix(cli): pg-delta workspace mount#5929
Coly010 merged 1 commit into
supabase:developfrom
7ttp:fix/pgdelta-catalog-workspace-mount

Conversation

@7ttp

@7ttp 7ttp commented Jul 22, 2026

Copy link
Copy Markdown
Member

TL;DR:

db push crashes with ENOENT reading the pg-delta CA cert on every push against a hosted/TLS target,
missing Docker mount

Prob

exportCatalog writes the CA bundle to <cwd>/supabase/.temp/pgdelta/ and points sslrootcert at /workspace/... inside the container, but never mounted cwd to /workspace like every other pg-delta call site does.
Container looks for a file that was never shared with it.

Sol:

(pragmatic fix)
adds the same cwd:/workspace bind the sibling functions in internal/db/diff/pgdelta.go already has. that's it..

Ref:

@7ttp
7ttp requested a review from a team as a code owner July 22, 2026 09:17
@Coly010 Coly010 self-assigned this Jul 22, 2026
@Coly010
Coly010 added this pull request to the merge queue Jul 22, 2026
Merged via the queue into supabase:develop with commit 11f31dd Jul 22, 2026
34 of 36 checks passed
@7ttp
7ttp deleted the fix/pgdelta-catalog-workspace-mount branch July 22, 2026 12:27
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.

2 participants