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

supabase / supabase-py / 41845635000
98%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 02:15PM UTC
Jobs 36
Files 99
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

04 Nov 2026 02:14PM UTC coverage: 94.502% (+0.001%) from 94.501%
41845635000

push

github

web-flow
fix(auth): make the sync test generator reproduce the committed sync tests (#1971)

Fixes SDK-2795.

## Problem

Running `make auth.build-sync && make ruff` rewrote six committed files
under `src/auth/tests/_sync/`, and pyrefly then reported 7 import
errors. Two causes:

1. `scripts/run-unasync.py` let unasync's default `Async*` to `Sync*`
rule turn `AsyncHttpxSession` into `SyncHttpxSession`, which does not
exist. The sync class is `HttpxSession`.
2. The async `conftest.py` defined an `AsyncAiohttpSession` factory, and
there is no sync aiohttp session. unasync cannot drop code, so the
generated sync conftest imported a non-existent class.

## Changes

- `run-unasync.py` maps `AsyncHttpxSession` to `HttpxSession`,
`AsyncHttpSession` to `HttpSession`, and `async_http_sessions` to
`sync_http_sessions`.
- New `tests/http_sessions.py`, outside `_async/` so the generator never
copies it, holds the session factories: `async_http_sessions` (httpx and
aiohttp) and `sync_http_sessions` (httpx). The async conftest imports
`async_http_sessions as http_sessions`, which the generator turns into
the sync import.
- Removed a leftover `print(payload)` from the async `test_gotrue.py`.
- Regenerated `_sync/`. Besides imports, this brings back drift from
earlier hand edits: fixture order, `Generator` instead of `Iterator`
return types, the `sign_out()` teardown in `auth_client_with_session`
that the async version already had, wrapped signatures that follow the
async files, and removal of the unused `create_new_user_with_email`
helper.

## Verification

- `make auth.build-sync && make ruff` followed by `git diff --exit-code
src/auth/tests/_sync` is clean.
- `make auth.pyrefly`: 0 errors.
- `make auth.tests`: 213 passed. The async tests still run against both
httpx and aiohttp.

The CI drift check from SDK-1688 is left for a separate PR.

8456 of 8948 relevant lines covered (94.5%)

5.75 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.52
0.0% tests/_sync/test_gotrue.py
1
99.52
-0.0% tests/_async/test_gotrue.py
Jobs
ID Job ID Ran Files Coverage
1 postgrest-py3.15-highest - 41845635000.1 04 Nov 2026 02:16PM UTC 24
97.53
GitHub Action Run
2 realtime-py3.11-highest - 41845635000.2 04 Nov 2026 02:16PM UTC 8
96.37
GitHub Action Run
3 postgrest-py3.12-highest - 41845635000.3 04 Nov 2026 02:16PM UTC 24
97.54
GitHub Action Run
4 realtime-py3.13-highest - 41845635000.4 04 Nov 2026 02:16PM UTC 8
96.24
GitHub Action Run
5 postgrest-py3.14-highest - 41845635000.5 04 Nov 2026 02:16PM UTC 24
97.53
GitHub Action Run
6 supabase-py3.12-highest - 41845635000.6 04 Nov 2026 02:15PM UTC 19
92.79
GitHub Action Run
7 auth-py3.11-lowest-direct - 41845635000.7 04 Nov 2026 02:15PM UTC 34
91.52
GitHub Action Run
8 supabase-py3.11-lowest-direct - 41845635000.8 04 Nov 2026 02:15PM UTC 19
92.79
GitHub Action Run
9 functions-py3.14-highest - 41845635000.9 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
10 functions-py3.11-lowest-direct - 41845635000.10 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
11 storage-py3.14-highest - 41845635000.11 04 Nov 2026 02:16PM UTC 22
93.21
GitHub Action Run
12 auth-py3.12-highest - 41845635000.12 04 Nov 2026 02:16PM UTC 34
91.52
GitHub Action Run
13 auth-py3.15-highest - 41845635000.13 04 Nov 2026 02:15PM UTC 34
91.49
GitHub Action Run
14 supabase-py3.13-highest - 41845635000.14 04 Nov 2026 02:15PM UTC 19
92.79
GitHub Action Run
15 storage-py3.15-highest - 41845635000.15 04 Nov 2026 02:17PM UTC 22
93.21
GitHub Action Run
16 supabase-py3.14-highest - 41845635000.16 04 Nov 2026 02:15PM UTC 19
92.76
GitHub Action Run
17 postgrest-py3.11-highest - 41845635000.17 04 Nov 2026 02:16PM UTC 24
97.54
GitHub Action Run
18 supabase-py3.11-highest - 41845635000.18 04 Nov 2026 02:15PM UTC 19
92.79
GitHub Action Run
19 storage-py3.11-lowest-direct - 41845635000.19 04 Nov 2026 02:16PM UTC 22
93.24
GitHub Action Run
20 functions-py3.13-highest - 41845635000.20 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
21 realtime-py3.14-highest - 41845635000.21 04 Nov 2026 02:16PM UTC 8
95.96
GitHub Action Run
22 supabase-py3.15-highest - 41845635000.22 04 Nov 2026 02:16PM UTC 19
92.76
GitHub Action Run
23 storage-py3.11-highest - 41845635000.23 04 Nov 2026 02:16PM UTC 22
93.24
GitHub Action Run
24 realtime-py3.12-highest - 41845635000.24 04 Nov 2026 02:16PM UTC 8
96.24
GitHub Action Run
25 storage-py3.12-highest - 41845635000.25 04 Nov 2026 02:16PM UTC 22
93.24
GitHub Action Run
26 functions-py3.11-highest - 41845635000.26 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
27 postgrest-py3.13-highest - 41845635000.27 04 Nov 2026 02:16PM UTC 24
97.54
GitHub Action Run
28 realtime-py3.15-highest - 41845635000.28 04 Nov 2026 02:16PM UTC 8
95.81
GitHub Action Run
29 functions-py3.15-highest - 41845635000.29 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
30 postgrest-py3.11-lowest-direct - 41845635000.30 04 Nov 2026 02:16PM UTC 24
97.54
GitHub Action Run
31 realtime-py3.11-lowest-direct - 41845635000.31 04 Nov 2026 02:16PM UTC 8
96.37
GitHub Action Run
32 auth-py3.11-highest - 41845635000.32 04 Nov 2026 02:15PM UTC 34
91.52
GitHub Action Run
33 auth-py3.14-highest - 41845635000.33 04 Nov 2026 02:16PM UTC 34
91.49
GitHub Action Run
34 storage-py3.13-highest - 41845635000.34 04 Nov 2026 02:16PM UTC 22
93.24
GitHub Action Run
35 functions-py3.12-highest - 41845635000.35 04 Nov 2026 02:15PM UTC 14
97.4
GitHub Action Run
36 auth-py3.13-highest - 41845635000.36 04 Nov 2026 02:15PM UTC 34
91.52
GitHub Action Run
Source Files on build 41845635000
  • Tree
  • List 99
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41845635000
  • 5523e0b1 on github
  • Prev Build on main (#41845187970)
  • Next Build on main (#41846138912)
  • 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