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

supabase / supavisor / 16029319408
65%

Build:
DEFAULT BRANCH: main
Ran 02 Jul 2025 03:38PM UTC
Jobs 2
Files 56
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

02 Jul 2025 03:27PM UTC coverage: 55.703% (+0.2%) from 55.545%
16029319408

push

github

web-flow
feat: check database and erpc capabilities on health check (#691)

Introduces `Supavisor.Health`, which provides a function that runs
health checks.

Added two checks:
- Acceptable ERPC latencies: fails if a node has high latency to all
other nodes through :erpc. Doesn't run if in a 1 or 2 node cluster.
Fails if **all requests** have latency over 500ms or fail.
- Database reachable: fails if can't run a simple query in the database.

Calls this function on the health check endpoint, and return 503 if
health checks are failing. After some time, if the condition persists,
the infrastructure should restart the instance.

20 of 31 new or added lines in 3 files covered. (64.52%)

4 existing lines in 2 files now uncovered.

1172 of 2104 relevant lines covered (55.7%)

132.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% lib/supavisor_web/open_api_schemas.ex
9
64.0
lib/supavisor/health.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
68.42
-0.75% lib/supavisor.ex
3
62.8
-1.2% lib/supavisor/db_handler.ex
Jobs
ID Job ID Ran Files Coverage
1 run-tests - 16029319408.1 02 Jul 2025 03:39PM UTC 56
52.76
GitHub Action Run
2 run-integration - 16029319408.2 02 Jul 2025 03:38PM UTC 56
37.02
GitHub Action Run
Source Files on build 16029319408
  • Tree
  • List 56
  • Changed 10
  • Source Changed 3
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16029319408
  • 89db1b2a on github
  • Prev Build on main (#16008869250)
  • Next Build on main (#16032473998)
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