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

supabase / supavisor / 17307760804
65%

Build:
DEFAULT BRANCH: main
Ran 28 Aug 2025 09:09PM UTC
Jobs 2
Files 57
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

28 Aug 2025 08:58PM UTC coverage: 58.388% (+0.5%) from 57.875%
17307760804

push

github

web-flow
fix: add tests for tenants.ex (#731)

## What kind of change does this PR introduce?

Add tests

## What is the new behavior?

- Added tests for:  
  - `list_tenants/0` returns all tenants  
  - `get_tenant_by_external_id/1`  
  - `get_cluster_by_alias/1`  
  - `get_tenant_cache/2` (fetching from cache and after expiry)  
  - `get_tenant/2` (also correct where statement)
  -  `update_tenant_ps/2`
  - `delete_tenant_by_external_id/2`
  - `delete_cluster_by_alias/1`

Co-authored-by: felipe stival <14948182+v0idpwn@users.noreply.github.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

1253 of 2146 relevant lines covered (58.39%)

354.29 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
70.28
-0.21% lib/supavisor/client_handler.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 17307760804.1 28 Aug 2025 09:11PM UTC 57
36.67
GitHub Action Run
2 run-tests - 17307760804.2 28 Aug 2025 09:09PM UTC 57
56.2
GitHub Action Run
Source Files on build 17307760804
  • Tree
  • List 57
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17307760804
  • e0d94111 on github
  • Prev Build on main (#17272295846)
  • Next Build on main (#17412897580)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc