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

supabase / realtime / 44710900711
93%

Build:
DEFAULT BRANCH: main
Ran 20 Nov 2026 09:35AM UTC
Jobs 1
Files 149
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

20 Nov 2026 09:27AM UTC coverage: 93.416%. Remained the same
44710900711

push

github

web-flow
chore(tests): stop Reconnector tests from leaking `Connect`` processes (#2624)

A broadcast test failed because its tenant's replication slot was
already in use on its database (so the connection never became `ready`).
The assumption here is that another tenant's Connect, leaked by
the Reconnector tests, had taken the slot there.

The Reconnector's `:check` restarts `Connect` for every tenant on the
node that has users but no `Connect`:

```elixir
    for {tenant_id, _count} <- UsersCounter.local_tenant_counts(), is_nil(Connect.whereis(tenant_id)) do
      Task.Supervisor.start_child(Realtime.TaskSupervisor, fn -> reconnect(tenant_id) end)
    end
```

Hence, it also picked up tenants of other tests and restarted their
`Connect` after their test had stopped it.

The tests now stub to only show the Reconnector test their own tenant.
Their "users" were also processes sleeping forever, the test process is
the user now, so it is gone when the test ends.

5023 of 5377 relevant lines covered (93.42%)

4617.61 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
91.05
-0.53% lib/realtime/tenants/connect.ex
Jobs
ID Job ID Ran Files Coverage
1 44710900711.1 20 Nov 2026 09:35AM UTC 596
61.38
GitHub Action Run
Source Files on build 44710900711
  • Tree
  • List 149
  • Changed 125
  • Source Changed 0
  • Coverage Changed 125
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44710900711
  • a2479665 on github
  • Prev Build on main (#44663462628)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc