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

supabase / supabase-py / 41644999038
98%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 01:31PM UTC
Jobs 30
Files 182
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:30PM UTC coverage: 98.992% (+2.0%) from 97.037%
41644999038

push

github

web-flow
test: raise coverage across auth, storage, realtime, postgrest and supabase (#1931)

## What

Adds tests to the least-covered areas of supabase-py. No library code
changes.

Overall line coverage of library code (`--cov=src`, sync and async
trees, with local infra) goes from about 91.3% to 98.6%:

| Package   | Before | After |
| --------- | ------ | ----- |
| auth      | 89%    | 98%   |
| storage   | 91%    | 99%   |
| postgrest | 94%    | 99%   |
| realtime  | 92%    | 98%   |
| supabase  | 92%    | 98%   |
| functions | 99%    | 99%   |

## Tests added

All new tests mock HTTP with `httpx.MockTransport`, or mock the
websocket connection, so none of them need infra.

- `src/storage/tests/test_vectors.py`: every vector bucket, index and
vector operation (request paths, request bodies, omitted optional
fields, the `delete` batch size limit, API error parsing), plus
analytics bucket create, list and delete, and the missing-`pyiceberg`
error. Runs against both the sync and async clients.
- `src/auth/tests/_async/test_client_flows.py`: `initialize` from
implicit grant URLs (query and fragment, recovery, error redirects,
incomplete redirects), restoring and refreshing stored sessions, ID
token, SSO and OAuth sign-in (including PKCE), code exchange, identity
linking, reauthentication, MFA enroll, challenge, verify, unenroll and
list, the "requires a session" errors, API error mapping, and pagination
headers when listing OAuth clients.
- `src/auth/tests/_async/test_jwks_and_refresh.py`: `get_claims` with
real ES256 keys (JWKS caching and TTL, supplied JWKS, unknown key, empty
JWKS, forged signature), retry scheduling on network errors, and the
PKCE email change in `update_user`.
- `src/realtime/tests/test_client_channels.py` and
`test_channel_internals.py`: channel creation, replacement and removal,
`set_auth`, send buffering, presence state and diff handling, join reply
handling for postgres changes bindings, `join()`, the listen loop,
connect retries and... (continued)

15025 of 15178 relevant lines covered (98.99%)

5.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.11-supabase - 41644999038.1 03 Nov 2026 01:31PM UTC 22
97.93
GitHub Action Run
2 run-ubuntu-latest-3.12-postgrest - 41644999038.2 03 Nov 2026 01:32PM UTC 41
99.5
GitHub Action Run
3 run-ubuntu-latest-3.14-auth - 41644999038.3 03 Nov 2026 01:31PM UTC 65
98.4
GitHub Action Run
4 run-ubuntu-latest-3.13-functions - 41644999038.4 03 Nov 2026 01:31PM UTC 18
97.98
GitHub Action Run
5 run-ubuntu-latest-3.14-functions - 41644999038.5 03 Nov 2026 01:31PM UTC 18
97.98
GitHub Action Run
6 run-ubuntu-latest-3.13-supabase - 41644999038.6 03 Nov 2026 01:31PM UTC 22
97.93
GitHub Action Run
7 run-ubuntu-latest-3.11-functions - 41644999038.7 03 Nov 2026 01:31PM UTC 18
97.98
GitHub Action Run
8 run-ubuntu-latest-3.14-supabase - 41644999038.8 03 Nov 2026 01:31PM UTC 22
97.92
GitHub Action Run
9 run-ubuntu-latest-3.15-auth - 41644999038.9 03 Nov 2026 01:32PM UTC 65
98.53
GitHub Action Run
10 run-ubuntu-latest-3.11-storage - 41644999038.10 03 Nov 2026 01:32PM UTC 43
98.51
GitHub Action Run
11 run-ubuntu-latest-3.15-functions - 41644999038.11 03 Nov 2026 01:31PM UTC 18
97.98
GitHub Action Run
12 run-ubuntu-latest-3.15-supabase - 41644999038.12 03 Nov 2026 01:31PM UTC 22
97.92
GitHub Action Run
13 run-ubuntu-latest-3.11-postgrest - 41644999038.13 03 Nov 2026 01:32PM UTC 41
99.5
GitHub Action Run
14 run-ubuntu-latest-3.15-realtime - 41644999038.14 03 Nov 2026 01:32PM UTC 17
97.75
GitHub Action Run
15 run-ubuntu-latest-3.12-functions - 41644999038.15 03 Nov 2026 01:31PM UTC 18
97.98
GitHub Action Run
16 run-ubuntu-latest-3.14-storage - 41644999038.16 03 Nov 2026 01:32PM UTC 43
98.5
GitHub Action Run
17 run-ubuntu-latest-3.12-auth - 41644999038.17 03 Nov 2026 01:32PM UTC 65
98.53
GitHub Action Run
18 run-ubuntu-latest-3.14-postgrest - 41644999038.18 03 Nov 2026 01:32PM UTC 41
99.5
GitHub Action Run
19 run-ubuntu-latest-3.13-postgrest - 41644999038.19 03 Nov 2026 01:32PM UTC 41
99.5
GitHub Action Run
20 run-ubuntu-latest-3.13-realtime - 41644999038.20 03 Nov 2026 01:32PM UTC 17
97.88
GitHub Action Run
21 run-ubuntu-latest-3.13-auth - 41644999038.21 03 Nov 2026 01:31PM UTC 65
98.53
GitHub Action Run
22 run-ubuntu-latest-3.11-auth - 41644999038.22 03 Nov 2026 01:32PM UTC 65
98.53
GitHub Action Run
23 run-ubuntu-latest-3.12-realtime - 41644999038.23 03 Nov 2026 01:32PM UTC 17
97.88
GitHub Action Run
24 run-ubuntu-latest-3.13-storage - 41644999038.24 03 Nov 2026 01:32PM UTC 43
98.51
GitHub Action Run
25 run-ubuntu-latest-3.12-storage - 41644999038.25 03 Nov 2026 01:32PM UTC 43
98.51
GitHub Action Run
26 run-ubuntu-latest-3.11-realtime - 41644999038.26 03 Nov 2026 01:32PM UTC 17
97.88
GitHub Action Run
27 run-ubuntu-latest-3.14-realtime - 41644999038.27 03 Nov 2026 01:32PM UTC 17
97.75
GitHub Action Run
28 run-ubuntu-latest-3.15-postgrest - 41644999038.28 03 Nov 2026 01:32PM UTC 41
99.5
GitHub Action Run
29 run-ubuntu-latest-3.12-supabase - 41644999038.29 03 Nov 2026 01:31PM UTC 22
97.93
GitHub Action Run
30 run-ubuntu-latest-3.15-storage - 41644999038.30 03 Nov 2026 01:33PM UTC 43
98.5
GitHub Action Run
Source Files on build 41644999038
  • Tree
  • List 182
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41644999038
  • 427b45be on github
  • Prev Build on main (#41644902937)
  • Next Build on main (#41645093163)
  • 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