fix(cli): keep test db local connections plaintext by jgoux · Pull Request #5644 · supabase/cli · GitHub
Skip to content

fix(cli): keep test db local connections plaintext#5644

Merged
jgoux merged 2 commits into
developfrom
julien/cli-1818-supabase-test-db-effectsqlsqlerror-pgclient-failed-to
Jun 22, 2026
Merged

fix(cli): keep test db local connections plaintext#5644
jgoux merged 2 commits into
developfrom
julien/cli-1818-supabase-test-db-effectsqlsqlerror-pgclient-failed-to

Conversation

@jgoux

@jgoux jgoux commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Fixes CLI-1818.

supabase test db now forces plaintext Postgres connections for local and Unix-socket targets by passing ssl: false through the node-postgres connection path. This matches the previous Go behavior, where local connections always cleared TLS config, and prevents ambient environment such as PGSSLMODE=require from forcing TLS against the local database.

While following the workspace integration suite, this also canonicalizes discovered function deploy import paths before containment checks and aligns Docker bind assertions with real host paths. That keeps source upload and Docker bind collection consistent on macOS temp paths such as /var vs /private/var.

@jgoux jgoux marked this pull request as ready for review June 22, 2026 08:42
@jgoux jgoux requested a review from a team as a code owner June 22, 2026 08:42
@github-actions

Copy link
Copy Markdown

Comment thread apps/cli/src/shared/functions/deploy.ts
@jgoux jgoux added this pull request to the merge queue Jun 22, 2026
Merged via the queue into develop with commit dfceef8 Jun 22, 2026
41 checks passed
@jgoux jgoux deleted the julien/cli-1818-supabase-test-db-effectsqlsqlerror-pgclient-failed-to branch June 22, 2026 11:38
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