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

supabase / supavisor / 20245604060
65%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 08:04PM UTC
Jobs 2
Files 79
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

15 Dec 2025 07:57PM UTC coverage: 65.237% (-0.2%) from 65.427%
20245604060

push

github

web-flow
fix: ensure error is sent when db handler terminates during checkout (#808)

This happens often in proxy and session modes in v2.8. In v2.x, you'd
get `{:shutdown, :db_termination}`. The ClientHandler that is trying to
check-out the process gets the termination, not a response, and just
crashes, terminating the socket.

This fix ensures that DbHandler sends a reply to the checkout and we
write the error to the socket when we are terminating due to
initialization errors.

The approach consists in introducing a new state. Since the checkout
message is postponed in the auth state, when the statem is transitioned
to the `:terminating_with_error` state we have an opportunity to handle
it again.

This PR also changes a bit how proxy is handled. Instead of having the
caller/client_sock from the beginning, the behaviour is now closer to
the session mode, where we get the client socket after the checkout.

12 of 22 new or added lines in 2 files covered. (54.55%)

6 existing lines in 2 files now uncovered.

1916 of 2937 relevant lines covered (65.24%)

4200.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
81.75
0.87% lib/supavisor/db_handler.ex
6
78.57
-1.37% lib/supavisor/client_handler.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
81.75
0.87% lib/supavisor/db_handler.ex
5
71.03
-3.45% lib/supavisor/protocol/debug.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 20245604060.1 15 Dec 2025 08:05PM UTC 79
40.99
GitHub Action Run
2 run-tests - 20245604060.2 15 Dec 2025 08:04PM UTC 79
61.97
GitHub Action Run
Source Files on build 20245604060
  • Tree
  • List 79
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20245604060
  • 867cfe1a on github
  • Prev Build on main (#20244111094)
  • Next Build on main (#20437973984)
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