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

supabase / supavisor / 16003718569 / 1
65%
main: 65%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2025 03:47PM UTC
Files 54
Run time 1s
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: 51.288% (+2.9%) from 48.356%
16003718569.1

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>

1055 of 2057 relevant lines covered (51.29%)

19.47 hits per line

Source Files on job run-tests - 16003718569.1
  • Tree
  • List 54
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16003718569
  • 7686828d on github
  • Prev Job for on main (#15979340643.1)
  • Next Job for on main (#16006638579.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