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

supabase / realtime / e1085fae247d2e636aa5ba45d939e1be995682b3-PR-1426
85%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fix/load-aware-picker
DEFAULT BRANCH: main
Ran 18 Jun 2025 11:38PM UTC
Jobs 1
Files 87
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

18 Jun 2025 11:27PM UTC coverage: 84.639% (+0.2%) from 84.407%
e1085fae247d2e636aa5ba45d939e1be995682b3-PR-1426

Pull #1426

github

filipecabaco
fix: implement disconnect socket logic

Adds a new socket killing mechanism to be used by other systems. It registers the transport pid of each socket upon channel setup and, upon calling distributed_disconnect/1, it will kill all those transport pids with reason :shutdown

We also check if the transport_pid is present to have the Registry behave more like a set vs list to reduce memory footprint

It also emits the :disconnect event to try and informt connected channels that they are going to shutdown but should be seen as a best effort and not a guarantee
Pull Request #1426: fix: implement disconnect socket logic

13 of 14 new or added lines in 2 files covered. (92.86%)

1890 of 2233 relevant lines covered (84.64%)

1994.15 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.31
lib/realtime_web/channels/socket_disconnect.ex
Jobs
ID Job ID Ran Files Coverage
1 e1085fae247d2e636aa5ba45d939e1be995682b3-PR-1426.1 18 Jun 2025 11:38PM UTC 87
84.64
GitHub Action Run
Source Files on build e1085fae247d2e636aa5ba45d939e1be995682b3-PR-1426
  • Tree
  • List 87
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1426
  • PR Base - main (#0674BC21...)
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