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

supabase / supavisor / 20245604060 / 2
65%
main: 65%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2025 08:05PM UTC
Files 79
Run time 4s
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: 61.968% (-0.1%) from 62.082%
20245604060.2

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.

1820 of 2937 relevant lines covered (61.97%)

61.4 hits per line

Source Files on job run-tests - 20245604060.2
  • Tree
  • List 79
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20245604060
  • 867cfe1a on github
  • Prev Job for on main (#20244111094.2)
  • Next Job for on main (#20437973984.2)
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