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

supabase / supavisor / 23062692966
82%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2026 05:38PM UTC
Jobs 2
Files 117
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

13 Mar 2026 05:26PM UTC coverage: 81.916% (+1.4%) from 80.536%
23062692966

push

github

web-flow
refactor: improve authentication (#872)

- Implement dedicated modules for ClientHandler authentication through
SCRAM, Password or JIT (consequently, removes most of the
`ClientHandler.Auth` module and a good chunk of code from the
`ClientHandler` module)
- Determines whether to use JIT based on a `jit` connection option
- Uses the plain structs for secrets, instead of wrapping them in
anonymous functions
- Adds support for using JIT in the dev env with a make target and
script
- Moves auth query functionality from ad-hoc modules to a dedicated
module, reducing duplication
- Adds a new `upstream_tls` key in the id indicating whether the pool
uses upstream tls or not. We can virtually have 1 pool with TLS enabled
and one without. This is used to ensure that we don't use upstream TLS
when `tenant.use_jit + client is connecting through cleartext`, which
allows us to use SCRAM-SHA-256 upstream instead of `password`.
- Merged #867 due to the need of adding an extra field in the id

378 of 421 new or added lines in 31 files covered. (89.79%)

9 existing lines in 5 files now uncovered.

2360 of 2881 relevant lines covered (81.92%)

59896.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% lib/supavisor/errors/auth_protocol_error.ex
1
88.2
2.66% lib/supavisor/manager.ex
1
65.0
0.29% lib/supavisor/syn_handler.ex
2
93.1
lib/supavisor/client_handler/auth_methods/scram.ex
3
88.89
-3.58% lib/supavisor/secret_checker.ex
4
89.74
lib/supavisor/auth_query.ex
4
83.33
lib/supavisor/client_handler/auth_methods/jit.ex
4
80.95
lib/supavisor/client_handler/auth_methods/password.ex
6
57.14
lib/supavisor/errors/auth_query_error.ex
6
68.85
0.06% lib/supavisor/helpers.ex
11
82.81
lib/supavisor/client_authentication.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.5
-4.17% lib/supavisor/client_handler/proxy/supervisor.ex
1
92.86
-7.14% lib/supavisor/client_handler/proxy.ex
1
68.85
0.06% lib/supavisor/helpers.ex
1
86.96
-3.95% lib/supavisor/tenant_cache.ex
5
91.69
0.2% lib/supavisor/client_handler.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 23062692966.1 13 Mar 2026 05:40PM UTC 117
43.39
GitHub Action Run
2 run-tests - 23062692966.2 13 Mar 2026 05:38PM UTC 117
80.32
GitHub Action Run
Source Files on build 23062692966
  • Tree
  • List 117
  • Changed 26
  • Source Changed 22
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23062692966
  • 3ac3ba70 on github
  • Prev Build on main (#22968122431)
  • Next Build on main (#23064604059)
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