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

supabase / supavisor / 40469817139
83%

Build:
DEFAULT BRANCH: main
Ran 27 Oct 2026 08:01AM UTC
Jobs 2
Files 153
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

27 Oct 2026 07:52AM UTC coverage: 82.73% (-0.02%) from 82.746%
40469817139

push

github

web-flow
feat: Stop one of a tenant’s pools (#1242)

Second half of POOLER-892: kill a pool picked from the list.

## API

```
DELETE /api/tenants/:external_id/pools
{"pid": "<pid from GET …/pools>", "timeout": 15000}
```

| Status | When |
|---|---|
| `204` | Pool stopped |
| `202` | Still shutting down when `timeout` ran out; it finishes in the
background |
| `404` | Not one of the tenant's running pools (stopped, restarted,
another tenant's, not a pool) |
| `422` | `pid` doesn't decode, or invalid body |
| `503` | The pool's node is unreachable |

- The stop is graceful. `timeout` (default 15s) only bounds the wait.
- The `pid` is checked against `TenantSups` on its own node (`:erpc`),
so a stale or foreign
  pid can't stop anything else.
- `SupavisorWeb.PoolPid` encodes/decodes the `pid`; decoding is
`[:safe]`.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

27 of 28 new or added lines in 5 files covered. (96.43%)

5 existing lines in 2 files now uncovered.

3497 of 4227 relevant lines covered (82.73%)

43748.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.82
4.4% lib/supavisor/ops.ex

Coverage Regressions

Lines Coverage ∆ File
4
89.65
-1.09% lib/supavisor/client_handler.ex
1
85.71
-0.57% lib/supavisor.ex
Jobs
ID Job ID Ran Files Coverage
1 run-tests - 40469817139.1 27 Oct 2026 08:01AM UTC 153
81.55
GitHub Action Run
2 run-integration - 40469817139.2 27 Oct 2026 08:04AM UTC 153
43.98
GitHub Action Run
Source Files on build 40469817139
  • Tree
  • List 153
  • Changed 8
  • Source Changed 4
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40469817139
  • 97111fc9 on github
  • Prev Build on main (#40364401676)
  • Next Build on main (#40558444591)
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