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

supabase / pg_net / 28907124781
93%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 12:00AM UTC
Jobs 1
Files 6
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

07 Jul 2026 11:57PM UTC coverage: 93.458% (-0.05%) from 93.506%
28907124781

push

github

web-flow
fix: segfault on MacOS

Improves the `multi_socket_cb` implementation for both kqueue and epoll by doing the following:

For kqueue:

* Fixes the leaks in the filters because the `sock_info->action` was not being updated. This also lead to a use-after-free bug and sometimes made the tests on macOS fail due to a segfault. All these bugs are fixed.
* Correctly checks the return value of `curl_multi_assign` and raises a Postgres error if the call fails.

For epoll:

* Correctly checks the return value of `curl_multi_assign` and raises a Postgres error if the call fails.
* Correctly handle the case when `what == CURL_POLL_INOUT` by setting the right `EPOLLIN` and `EPOLLOUT` combination in `ev.events` member.
* Sets a sentinel value in the call to `curl_multi_assign` the first time `multi_socket_cb` is called for a socket fd and removes it when `what == CURL_POLL_REMOVE`. This clarifies the intent of the `curl_multi_assign` call because the older code assignments to `socket_exists` variable were never read and were confusing.

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

500 of 535 relevant lines covered (93.46%)

221.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28907124781.1 08 Jul 2026 12:00AM UTC 6
93.46
GitHub Action Run
Source Files on build 28907124781
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28907124781
  • 7eea1250 on github
  • Prev Build on v0.20.4 (#28817682496)
  • Next Build on master (#29014946641)
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