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

supabase / cli / 39922285313
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 23 Oct 2026 08:07AM UTC
Jobs 1
Files 79
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

23 Oct 2026 08:05AM UTC coverage: 66.808%. Remained the same
39922285313

push

github

web-flow
feat(cli): honor tls settings in `pg_dump` (CLI-2753) (#7266)

## TL;DR

remote `db dump` and the first `db pull` seed now pass the resolved TLS
settings to `pg_dump`
## whats introduced?

`pg_dump` only got host, port, user, password and database, so a
container dump ignored `PGSSLMODE=verify-full`, trusted any CA, and got
turned away by servers that require a client cert.

for the linked project and a remote `--db-url`, it now gets the resolved
`sslmode` and connect timeout, the root cert under `require` or
`verify-*`, and the client cert unless the key needs `sslpassword`
In a container the cert files are mounted read only, and a missing one
fails before docker runs

> [!NOTE]
> a remote dump that only worked because verification was skipped now
fails. local targets and runs without TLS or timeout settings are
unchanged

<details>
<summary>visual rep:</summary>

```mermaid
flowchart TD
  conn["resolved connection"] --> remote{"remote target?"}
  remote -- no --> plain["host, port, user, password, database"]
  remote -- yes --> tls["+ sslmode and connect timeout<br/>+ root cert under require or verify-*<br/>+ system root cert forces verify-full<br/>+ client cert unless the key needs sslpassword"]
  tls --> where{"where pg_dump runs"}
  where -- container --> box["cert files checked, then mounted read only<br/>key copied to a private file<br/>verify-* without root cert, or system, uses the image CA bundle"]
  where -- native --> host["host paths kept<br/>verify-* without root cert uses ~/.postgresql/root.crt, else the host CA bundle<br/>system uses the host CA bundle"]
  plain --> dump["pg_dump"]
  box --> dump
  host --> dump
```

</details>

## ref

- spotted while working on: https://github.com/supabase/cli/pull/7261
- related: CLI-2753

4110 of 6152 relevant lines covered (66.81%)

7.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39922285313.1 23 Oct 2026 08:07AM UTC 79
66.81
GitHub Action Run
Source Files on build 39922285313
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39922285313
  • 7a6fd005 on github
  • Prev Build on gh-readonly-queue/develop/pr-7289-522a516ba1eb582115aa23bd48f01b17791aae94 (#39921308796)
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