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

supabase / supavisor / 16003718569
65%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2025 03:40PM UTC
Jobs 2
Files 54
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

01 Jul 2025 03:31PM UTC coverage: 54.789% (+3.8%) from 51.015%
16003718569

push

github

web-flow
refactor: clean up and fully test Supavisor.Protocol.Server (#682)

This PR refactors the `Supavisor.Protocol.Server` module, which handles
decoding of the Postgres backend protocol. It improves code style, adds
missing function specifications, makes internal-use functions private,
and ensures full 100% test coverage.

### Changes

- **Removed stale functions:**
  - `encode_startup_packet/1`
  - `encode/1`
  - `test_extended_query/0`
  - `select_1_response/0`

- **Made private:**
  - `decode/2`
  - `tag/1`
  - `decode_payload/2`
  - `kv_to_map/1`
  - `decode_row_description/3`
  - `decode_format_code/1`
  - `decode_parameter_description/2`
  - `decode_startup_packet_payload/1`

- **Added:**
  - A test coverage badge to the `README`.

---------

Co-authored-by: felipe stival <14948182+v0idpwn@users.noreply.github.com>

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

1 existing line in 1 file now uncovered.

1127 of 2057 relevant lines covered (54.79%)

133.19 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
55.56
-1.85% lib/supavisor/handler_helpers.ex
Jobs
ID Job ID Ran Files Coverage
1 run-tests - 16003718569.1 01 Jul 2025 03:47PM UTC 54
51.29
GitHub Action Run
2 run-integration - 16003718569.2 01 Jul 2025 03:40PM UTC 54
37.43
GitHub Action Run
Source Files on build 16003718569
  • Tree
  • List 54
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16003718569
  • 7686828d on github
  • Prev Build on main (#15979340643)
  • Next Build on main (#16006638579)
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