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

supabase / supavisor / 28941179061
77%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 12:11PM UTC
Jobs 2
Files 129
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

08 Jul 2026 12:04PM UTC coverage: 76.413% (-0.1%) from 76.525%
28941179061

push

github

web-flow
fix(client_handler): wire in client_idle_timeout (#1068)

## What kind of change does this PR introduce?

Bug fix: Fixes and wires in the broken `client_idle_timeout`
functionality.

## What is the current behavior?

`client_idle_timeout` silently does nothing. Idle connections are never
being closed. The client_handler gen_statem has been firing a mismatched
timeout event since #377.

## What is the new behavior?

Fixed the mismatch and also decoupled the timer to a state timeout,
which makes more sense semantically and avoids the messy mix-up with the
heartbeat timer. The heartbeat timer keeps using the event timeout.

## Additional context

Also stitched a simple integration test for this, taking help from
helpers in `protocol_integration_test.exs`.

Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>

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

8 existing lines in 7 files now uncovered.

2569 of 3362 relevant lines covered (76.41%)

54798.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
81.87
-0.25% lib/supavisor/client_handler.ex
1
87.5
-4.17% lib/supavisor/client_handler/proxy/supervisor.ex
1
88.54
-1.04% lib/supavisor/monitoring/prom_ex.ex
1
78.95
-5.26% lib/supavisor/monitoring/telem.ex
1
72.41
-3.45% lib/supavisor/handler_helpers.ex
1
92.86
-7.14% lib/supavisor/client_handler/proxy.ex
1
93.85
-1.54% lib/supavisor/circuit_breaker/sliding_window.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 28941179061.1 08 Jul 2026 12:11PM UTC 129
42.0
GitHub Action Run
2 run-tests - 28941179061.2 08 Jul 2026 12:12PM UTC 129
74.99
GitHub Action Run
Source Files on build 28941179061
  • Tree
  • List 129
  • Changed 14
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28941179061
  • fd520f74 on github
  • Prev Build on main (#28446753408)
  • Next Build on main (#28945011634)
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