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

supabase / supabase-py / 41643835757
98%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 01:23PM UTC
Jobs 30
Files 175
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

03 Nov 2026 01:22PM UTC coverage: 97.012%. Remained the same
41643835757

push

github

web-flow
fix(realtime): accept postgres change error arrays (#1908)

## Why

Closes #1907.

Realtime sends PostgreSQL change errors as arrays, including `Error 413:
Payload Too Large`. The Python listener validates `errors` as a string
and drops the entire change before its callback runs.

## What changed

- Accept string arrays in `PostgresChangesData.errors` while preserving
existing string and null values.
- Add real local WebSocket tests for INSERT, UPDATE, and DELETE
callbacks, including partial row identity and scalar/null compatibility.

## Scope

This changes one shared payload type. Message routing and callback APIs
are unchanged.

## Tradeoffs

The [current
server](https://github.com/supabase/realtime/blob/<a class=hub.com/supabase/supabase-py/commit/c8bdfb6979e4d7633176f41f81cd49c7aaa64cee">c8bdfb697/lib/extensions/postgres_cdc_rls/replication_poller.ex#L321)
and its [UPDATE
fixture](https://github.com/supabase/realtime/blob/c8bdfb6979e4d7633176f41f81cd49c7aaa64cee/test/extensions/postgres_cdc_rls/replication_poller_test.exs#L902)
use arrays. The protocol docs describe string or null, so those already
accepted forms remain supported.

## Blast radius

The existing decoder can now deliver changes that carry error arrays.
The tests retain the exact error values and row identity through the
public subscription callback.

## Verification

- `.venv/bin/python -m pytest
src/realtime/tests/test_postgres_changes.py -q` produced `3 failed`
before the type fix and `3 passed` after it. A separate public WebSocket
reproduction went from two discarded frames to zero.
- 47 local Realtime tests passed across the offline suite and eight
selected Presence cases. The broader suite retains pre-existing
`AsyncPush.start_timeout` shutdown warnings; the new WebSocket tests
produce none.
- `make realtime.mypy`, repository Ruff lint/format checks, `git diff
--check`, and `uv build --package realtime` passed.

`make realtime.tests` was not run because Docker is unavailable. The
tests use service-derived messages over a controlle... (continued)

13376 of 13788 relevant lines covered (97.01%)

5.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.13-functions - 41643835757.1 03 Nov 2026 01:23PM UTC 18
97.98
GitHub Action Run
2 run-ubuntu-latest-3.14-functions - 41643835757.2 03 Nov 2026 01:23PM UTC 18
97.98
GitHub Action Run
3 run-ubuntu-latest-3.12-realtime - 41643835757.3 03 Nov 2026 01:24PM UTC 17
94.76
GitHub Action Run
4 run-ubuntu-latest-3.15-functions - 41643835757.4 03 Nov 2026 01:23PM UTC 18
97.98
GitHub Action Run
5 run-ubuntu-latest-3.15-postgrest - 41643835757.5 03 Nov 2026 01:24PM UTC 39
97.82
GitHub Action Run
6 run-ubuntu-latest-3.14-supabase - 41643835757.6 03 Nov 2026 01:23PM UTC 22
96.97
GitHub Action Run
7 run-ubuntu-latest-3.13-postgrest - 41643835757.7 03 Nov 2026 01:24PM UTC 39
97.83
GitHub Action Run
8 run-ubuntu-latest-3.12-supabase - 41643835757.8 03 Nov 2026 01:23PM UTC 22
96.98
GitHub Action Run
9 run-ubuntu-latest-3.14-storage - 41643835757.9 03 Nov 2026 01:24PM UTC 42
96.08
GitHub Action Run
10 run-ubuntu-latest-3.15-auth - 41643835757.10 03 Nov 2026 01:24PM UTC 61
96.36
GitHub Action Run
11 run-ubuntu-latest-3.13-storage - 41643835757.11 03 Nov 2026 01:24PM UTC 42
96.09
GitHub Action Run
12 run-ubuntu-latest-3.15-supabase - 41643835757.12 03 Nov 2026 01:23PM UTC 22
96.97
GitHub Action Run
13 run-ubuntu-latest-3.15-realtime - 41643835757.13 03 Nov 2026 01:25PM UTC 17
94.42
GitHub Action Run
14 run-ubuntu-latest-3.11-postgrest - 41643835757.14 03 Nov 2026 01:24PM UTC 39
97.83
GitHub Action Run
15 run-ubuntu-latest-3.14-realtime - 41643835757.15 03 Nov 2026 01:24PM UTC 17
94.42
GitHub Action Run
16 run-ubuntu-latest-3.12-auth - 41643835757.16 03 Nov 2026 01:24PM UTC 61
96.37
GitHub Action Run
17 run-ubuntu-latest-3.12-postgrest - 41643835757.17 03 Nov 2026 01:24PM UTC 39
97.83
GitHub Action Run
18 run-ubuntu-latest-3.11-auth - 41643835757.18 03 Nov 2026 01:24PM UTC 61
96.37
GitHub Action Run
19 run-ubuntu-latest-3.14-postgrest - 41643835757.19 03 Nov 2026 01:24PM UTC 39
97.82
GitHub Action Run
20 run-ubuntu-latest-3.11-realtime - 41643835757.20 03 Nov 2026 01:24PM UTC 17
94.85
GitHub Action Run
21 run-ubuntu-latest-3.11-storage - 41643835757.21 03 Nov 2026 01:24PM UTC 42
96.09
GitHub Action Run
22 run-ubuntu-latest-3.13-supabase - 41643835757.22 03 Nov 2026 01:23PM UTC 22
96.98
GitHub Action Run
23 run-ubuntu-latest-3.15-storage - 41643835757.23 03 Nov 2026 01:26PM UTC 42
96.08
GitHub Action Run
24 run-ubuntu-latest-3.14-auth - 41643835757.24 03 Nov 2026 01:24PM UTC 61
96.36
GitHub Action Run
25 run-ubuntu-latest-3.11-supabase - 41643835757.25 03 Nov 2026 01:23PM UTC 22
96.98
GitHub Action Run
26 run-ubuntu-latest-3.13-realtime - 41643835757.26 03 Nov 2026 01:24PM UTC 17
94.76
GitHub Action Run
27 run-ubuntu-latest-3.12-storage - 41643835757.27 03 Nov 2026 01:24PM UTC 42
96.09
GitHub Action Run
28 run-ubuntu-latest-3.13-auth - 41643835757.28 03 Nov 2026 01:24PM UTC 61
96.37
GitHub Action Run
29 run-ubuntu-latest-3.11-functions - 41643835757.29 03 Nov 2026 01:23PM UTC 18
97.98
GitHub Action Run
30 run-ubuntu-latest-3.12-functions - 41643835757.30 03 Nov 2026 01:23PM UTC 18
97.98
GitHub Action Run
Source Files on build 41643835757
  • Tree
  • List 175
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41643835757
  • 9c59f9ac on github
  • Prev Build on main (#41641996150)
  • Next Build on main (#41644902937)
  • 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