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

supabase / supavisor / 29432428714
78%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 04:36PM UTC
Jobs 2
Files 131
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 Jul 2026 04:26PM UTC coverage: 81.456% (+3.9%) from 77.513%
29432428714

push

github

web-flow
fix: wait for all DB replies before releasing backend (#1079)

## What kind of change does this PR introduce?

Avoids prematurely releasing the backend on the first-found
`ReadyForQuery` message.

## What is the current behavior?

The client hangs waiting for the rest of the replies, but Supavisor
already releases the backend early, causing the remaining replies to be
lost.

## What is the new behavior?

The client handler now communicates the expected `ReadyForQuery`
messages to wait for, so we only release the backend when we are done
with the batch.

## Additional context

Resolves #1061 

I spent good time on the tests. The integration tests correctly catch
the regression (fails on main, passes here).

---------

Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>
Co-authored-by: felipe stival <14948182+v0idpwn@users.noreply.github.com>

54 of 54 new or added lines in 5 files covered. (100.0%)

2 existing lines in 2 files now uncovered.

2987 of 3667 relevant lines covered (81.46%)

50777.73 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
78.03
-0.76% lib/supavisor.ex
1
76.92
-7.69% lib/supavisor/erl_sys_mon.ex
Jobs
ID Job ID Ran Files Coverage
2 run-tests - 29432428714.2 15 Jul 2026 04:36PM UTC 131
76.79
GitHub Action Run
1 run-integration - 29370108903.1 14 Jul 2026 09:47PM UTC 131
42.36
GitHub Action Run
Source Files on build 29432428714
  • Tree
  • List 131
  • Changed 13
  • Source Changed 6
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29432428714
  • d366ef00 on github
  • Prev Build on main (#29370108903)
  • Next Build on main (#29504949236)
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