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

supabase / supabase-py / 40729529814
98%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 04:48PM UTC
Jobs 36
Files 159
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

28 Oct 2026 04:48PM UTC coverage: 94.854% (+0.09%) from 94.762%
40729529814

push

github

web-flow
fix(realtime): notify subscribers of channel errors and closure (#1846)

## Why

Applications using `subscribe(callback)` receive the initial
subscription result but miss later channel error and close
notifications, even when the handlers update the channel state.

Fixes #1844.

## What changed

- Retain the existing subscription callback and notify it from the
existing error and close handlers.
- Add real localhost WebSocket regressions for server errors, server
closure, explicit unsubscribe, absent callbacks, and rejected repeat
subscriptions.

## Scope

This covers channel status callbacks in the async-only Realtime package.
Socket reconnect policy and channel state transitions are outside this
fix.

## Verification

- `cd src/realtime && SUPABASE_URL=http://127.0.0.1:55321 uv run
--frozen --package realtime pytest -q` passed all 51 tests against an
isolated local Supabase stack. An initial database-change timeout did
not recur in the sequential full rerun. Upstream's 45 tests passed
separately with the same existing pending-push-task teardown messages.
- The real-wire regressions had three missing-status failures and three
passing no-callback controls on upstream, then all six passed after the
fix on Python 3.13 and Python 3.9.18. New tests alone have no
pending-task diagnostics.
- Package mypy, Ruff lint/format, `make ruff`, package build, and `git
diff --check` passed.

11630 of 12261 relevant lines covered (94.85%)

5.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
27
84.78
5.23% src/realtime/_async/channel.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.14-auth - 40729529814.1 28 Oct 2026 04:49PM UTC 54
93.46
GitHub Action Run
2 run-ubuntu-latest-3.13-storage - 40729529814.2 28 Oct 2026 04:49PM UTC 36
93.54
GitHub Action Run
3 run-ubuntu-latest-3.11-realtime - 40729529814.3 28 Oct 2026 04:50PM UTC 17
88.39
GitHub Action Run
4 run-ubuntu-latest-3.11-storage - 40729529814.4 28 Oct 2026 04:49PM UTC 36
93.54
GitHub Action Run
5 run-ubuntu-latest-3.9-supabase - 40729529814.5 28 Oct 2026 04:48PM UTC 20
96.6
GitHub Action Run
6 run-ubuntu-latest-3.11-supabase - 40729529814.6 28 Oct 2026 04:48PM UTC 20
96.67
GitHub Action Run
7 run-ubuntu-latest-3.12-supabase - 40729529814.7 28 Oct 2026 04:48PM UTC 20
96.67
GitHub Action Run
8 run-ubuntu-latest-3.9-storage - 40729529814.8 28 Oct 2026 04:49PM UTC 36
93.61
GitHub Action Run
9 run-ubuntu-latest-3.10-realtime - 40729529814.9 28 Oct 2026 04:49PM UTC 17
88.39
GitHub Action Run
10 run-ubuntu-latest-3.13-auth - 40729529814.10 28 Oct 2026 04:49PM UTC 54
93.49
GitHub Action Run
11 run-ubuntu-latest-3.12-functions - 40729529814.11 28 Oct 2026 04:48PM UTC 18
97.1
GitHub Action Run
12 run-ubuntu-latest-3.12-postgrest - 40729529814.12 28 Oct 2026 04:49PM UTC 38
97.1
GitHub Action Run
13 run-ubuntu-latest-3.10-supabase - 40729529814.13 28 Oct 2026 04:48PM UTC 20
96.67
GitHub Action Run
14 run-ubuntu-latest-3.14-functions - 40729529814.14 28 Oct 2026 04:48PM UTC 18
97.1
GitHub Action Run
15 run-ubuntu-latest-3.14-storage - 40729529814.15 28 Oct 2026 04:50PM UTC 36
93.52
GitHub Action Run
16 run-ubuntu-latest-3.10-storage - 40729529814.16 28 Oct 2026 04:50PM UTC 36
93.54
GitHub Action Run
17 run-ubuntu-latest-3.12-storage - 40729529814.17 28 Oct 2026 04:50PM UTC 36
93.54
GitHub Action Run
18 run-ubuntu-latest-3.11-functions - 40729529814.18 28 Oct 2026 04:48PM UTC 18
97.1
GitHub Action Run
19 run-ubuntu-latest-3.13-functions - 40729529814.19 28 Oct 2026 04:48PM UTC 18
97.1
GitHub Action Run
20 run-ubuntu-latest-3.10-postgrest - 40729529814.20 28 Oct 2026 04:49PM UTC 38
97.1
GitHub Action Run
21 run-ubuntu-latest-3.13-supabase - 40729529814.21 28 Oct 2026 04:48PM UTC 20
96.67
GitHub Action Run
22 run-ubuntu-latest-3.13-realtime - 40729529814.22 28 Oct 2026 04:50PM UTC 17
88.39
GitHub Action Run
23 run-ubuntu-latest-3.14-supabase - 40729529814.23 28 Oct 2026 04:48PM UTC 20
96.65
GitHub Action Run
24 run-ubuntu-latest-3.9-auth - 40729529814.24 28 Oct 2026 04:49PM UTC 54
93.39
GitHub Action Run
25 run-ubuntu-latest-3.11-auth - 40729529814.25 28 Oct 2026 04:49PM UTC 54
93.49
GitHub Action Run
26 run-ubuntu-latest-3.10-auth - 40729529814.26 28 Oct 2026 04:49PM UTC 54
93.49
GitHub Action Run
27 run-ubuntu-latest-3.10-functions - 40729529814.27 28 Oct 2026 04:49PM UTC 18
97.1
GitHub Action Run
28 run-ubuntu-latest-3.14-postgrest - 40729529814.28 28 Oct 2026 04:49PM UTC 38
97.1
GitHub Action Run
29 run-ubuntu-latest-3.12-realtime - 40729529814.29 28 Oct 2026 04:51PM UTC 17
88.39
GitHub Action Run
30 run-ubuntu-latest-3.9-realtime - 40729529814.30 28 Oct 2026 04:49PM UTC 17
88.49
GitHub Action Run
31 run-ubuntu-latest-3.9-functions - 40729529814.31 28 Oct 2026 04:48PM UTC 18
97.32
GitHub Action Run
32 run-ubuntu-latest-3.12-auth - 40729529814.32 28 Oct 2026 04:49PM UTC 54
93.44
GitHub Action Run
33 run-ubuntu-latest-3.9-postgrest - 40729529814.33 28 Oct 2026 04:49PM UTC 38
97.16
GitHub Action Run
34 run-ubuntu-latest-3.13-postgrest - 40729529814.34 28 Oct 2026 04:49PM UTC 38
97.1
GitHub Action Run
35 run-ubuntu-latest-3.14-realtime - 40729529814.35 28 Oct 2026 04:50PM UTC 17
87.53
GitHub Action Run
36 run-ubuntu-latest-3.11-postgrest - 40729529814.36 28 Oct 2026 04:49PM UTC 38
97.1
GitHub Action Run
Source Files on build 40729529814
  • Tree
  • List 159
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40729529814
  • bcecfc3f on github
  • Prev Build on main (#40728893581)
  • Next Build on main (#40846942286)
  • Delete
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