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

supabase / cli / 39431925284
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 20 Oct 2026 01:37PM 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

20 Oct 2026 01:36PM UTC coverage: 66.808%. Remained the same
39431925284

push

github

web-flow
feat(cli): honor `PGSSL*` env on `db push --linked` (CLI-2753) (#7261)

## TL;DR

`supabase db push --linked` stops silently dropping `PGSSLMODE` and
`PGSSLROOTCERT` when the direct host answers

## whats introduced?

`--linked` commands that connect from the CLI itself (`db push`,
`migration` commands, `inspect db`, …
now read `PGSSLMODE`, `PGSSLROOTCERT` and `PGSSLCERT`/`PGSSLKEY` from
the shell on the direct host, the way the pooler fallback already did.

ps: the `pg_dump` steps in `db dump`, `db pull` and `migration squash`
still don't forward them.

`PGSERVICE` and `PGCONNECT_TIMEOUT` apply too, and a missing
`PGSSLROOTCERT` file now fails instead of being ignored.

host, role and database stay pinned. an invalid mode fails naming the
vars on either route, and `sslmode=disable` now dials plaintext without
reading cert files.

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

| `supabase db push --linked` | before | now |
| ------------------------------------ | -------------------- |
---------------------------- |
| direct host | `PGSSL*` ignored | read from the shell |
| pooler fallback | read from the shell | unchanged |
| invalid `PGSSLMODE` | ignored / IPv6 error | fails naming the vars |

</details>

## why this?

`--db-url` and the pooler fallback already read these vars.

the linked direct host was skipped by mistake during the port, so it now
reads them too

## ref:

- closes: CLI-2753
- broken/missed in: https://github.com/supabase/cli/pull/5715

4110 of 6152 relevant lines covered (66.81%)

7.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39431925284.1 20 Oct 2026 01:37PM UTC 79
66.81
GitHub Action Run
Source Files on build 39431925284
  • 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 #39431925284
  • 8803a3e9 on github
  • Prev Build on gh-readonly-queue/develop/pr-7239-03149fcc57295f5748beec1d49d9eb7c1bb096c0 (#39429407361)
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