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

supabase / supavisor / 23350707006
82%

Build:
DEFAULT BRANCH: main
Ran 20 Mar 2026 03:58PM UTC
Jobs 2
Files 122
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 Mar 2026 03:47PM UTC coverage: 82.402% (+0.1%) from 82.264%
23350707006

push

github

web-flow
feat: add pool connection metrics for idle and checked-out connections (#885)

## Summary
- Adds new Prometheus metrics to track pool connection states per tenant
- Tracks both idle and checked-out (busy) connections across all pool
workers
- Provides better visibility into pool utilization and connection health

## Changes
- Added `concurrent_pool_connections/1` polling metric with two gauges:
  - `supavisor_pool_connections_checked_out`: count of busy connections
  - `supavisor_pool_connections_idle`: count of available connections
- Implemented `execute_pool_metrics/0` to aggregate connection states
from all pool workers
- Added `emit_pool_telemetry/1` to emit telemetry events with tenant
metadata
- Comprehensive test coverage for transaction mode (idle and checked-out
states) and session mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

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

1 existing line in 1 file now uncovered.

2566 of 3114 relevant lines covered (82.4%)

59247.59 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
72.0
-0.8% lib/supavisor.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 23350707006.1 20 Mar 2026 04:01PM UTC 122
42.39
GitHub Action Run
2 run-tests - 23350707006.2 20 Mar 2026 03:58PM UTC 122
80.96
GitHub Action Run
Source Files on build 23350707006
  • Tree
  • List 122
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23350707006
  • d641d37b on github
  • Prev Build on main (#23258592987)
  • Next Build on main (#23353917213)
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