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

supabase / supabase-py / 40708260104
98%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 02:40PM UTC
Jobs 36
Files 154
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 02:40PM UTC coverage: 94.632% (+0.02%) from 94.609%
40708260104

push

github

web-flow
fix(postgrest): preserve injected HTTPX client authentication (#1838)

## Why

PostgREST explicitly passes `auth=None` when SDK credentials are unset,
disabling authentication configured on an injected HTTPX client. Use the
injected client's auth in that case, while preserving explicit SDK
credentials.

Fixes #1835.

## What changed

- Select the effective authentication in shared request dispatch.
- Cover table and RPC requests for both clients, including SDK bearer,
header, and Basic credential precedence.

## Scope

This covers authentication configured on an injected HTTPX client. The
separate SDK Basic-to-bearer transition in #1713 is outside this change.

## Verification

- `cd src/postgrest && uv run --frozen --package postgrest pytest -q`
passed all 500 tests against the package's Docker services.
- The focused tests had four missing-header failures and 12 passing
precedence controls on upstream, then all 16 passed after the fix.
- Sync generation, `make ruff`, package mypy, Ruff lint/format, package
build, and `git diff --check` passed.

---------

Co-authored-by: Lukas Klingsbo <lukas.klingsbo@gmail.com>

11529 of 12183 relevant lines covered (94.63%)

5.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
94.08
0.05% src/postgrest/base_request_builder.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.12-functions - 40708260104.1 28 Oct 2026 02:40PM UTC 18
97.1
GitHub Action Run
2 run-ubuntu-latest-3.14-supabase - 40708260104.2 28 Oct 2026 02:40PM UTC 20
96.65
GitHub Action Run
3 run-ubuntu-latest-3.11-supabase - 40708260104.3 28 Oct 2026 02:40PM UTC 20
96.67
GitHub Action Run
4 run-ubuntu-latest-3.9-auth - 40708260104.4 28 Oct 2026 02:41PM UTC 50
93.03
GitHub Action Run
5 run-ubuntu-latest-3.10-functions - 40708260104.5 28 Oct 2026 02:41PM UTC 18
97.1
GitHub Action Run
6 run-ubuntu-latest-3.9-postgrest - 40708260104.6 28 Oct 2026 02:41PM UTC 37
97.15
GitHub Action Run
7 run-ubuntu-latest-3.11-storage - 40708260104.7 28 Oct 2026 02:41PM UTC 36
93.54
GitHub Action Run
8 run-ubuntu-latest-3.12-supabase - 40708260104.8 28 Oct 2026 02:40PM UTC 20
96.67
GitHub Action Run
9 run-ubuntu-latest-3.10-supabase - 40708260104.9 28 Oct 2026 02:41PM UTC 20
96.67
GitHub Action Run
10 run-ubuntu-latest-3.10-auth - 40708260104.10 28 Oct 2026 02:41PM UTC 50
93.1
GitHub Action Run
11 run-ubuntu-latest-3.11-realtime - 40708260104.11 28 Oct 2026 02:42PM UTC 17
87.17
GitHub Action Run
12 run-ubuntu-latest-3.12-storage - 40708260104.12 28 Oct 2026 02:42PM UTC 36
93.54
GitHub Action Run
13 run-ubuntu-latest-3.13-functions - 40708260104.13 28 Oct 2026 02:40PM UTC 18
97.1
GitHub Action Run
14 run-ubuntu-latest-3.13-supabase - 40708260104.14 28 Oct 2026 02:40PM UTC 20
96.67
GitHub Action Run
15 run-ubuntu-latest-3.13-postgrest - 40708260104.15 28 Oct 2026 02:42PM UTC 37
97.09
GitHub Action Run
16 run-ubuntu-latest-3.12-auth - 40708260104.16 28 Oct 2026 02:41PM UTC 50
93.14
GitHub Action Run
17 run-ubuntu-latest-3.9-supabase - 40708260104.17 28 Oct 2026 02:40PM UTC 20
96.6
GitHub Action Run
18 run-ubuntu-latest-3.13-auth - 40708260104.18 28 Oct 2026 02:41PM UTC 50
93.1
GitHub Action Run
19 run-ubuntu-latest-3.14-auth - 40708260104.19 28 Oct 2026 02:41PM UTC 50
93.12
GitHub Action Run
20 run-ubuntu-latest-3.11-auth - 40708260104.20 28 Oct 2026 02:41PM UTC 50
93.1
GitHub Action Run
21 run-ubuntu-latest-3.13-realtime - 40708260104.21 28 Oct 2026 02:43PM UTC 17
87.17
GitHub Action Run
22 run-ubuntu-latest-3.10-realtime - 40708260104.22 28 Oct 2026 02:42PM UTC 17
87.17
GitHub Action Run
23 run-ubuntu-latest-3.14-storage - 40708260104.23 28 Oct 2026 02:42PM UTC 36
93.52
GitHub Action Run
24 run-ubuntu-latest-3.9-realtime - 40708260104.24 28 Oct 2026 02:42PM UTC 17
87.28
GitHub Action Run
25 run-ubuntu-latest-3.13-storage - 40708260104.25 28 Oct 2026 02:42PM UTC 36
93.54
GitHub Action Run
26 run-ubuntu-latest-3.14-postgrest - 40708260104.26 28 Oct 2026 02:42PM UTC 37
97.09
GitHub Action Run
27 run-ubuntu-latest-3.9-functions - 40708260104.27 28 Oct 2026 02:40PM UTC 18
97.32
GitHub Action Run
28 run-ubuntu-latest-3.14-realtime - 40708260104.28 28 Oct 2026 02:42PM UTC 17
86.21
GitHub Action Run
29 run-ubuntu-latest-3.12-realtime - 40708260104.29 28 Oct 2026 02:42PM UTC 17
87.17
GitHub Action Run
30 run-ubuntu-latest-3.10-postgrest - 40708260104.30 28 Oct 2026 02:41PM UTC 37
97.09
GitHub Action Run
31 run-ubuntu-latest-3.12-postgrest - 40708260104.31 28 Oct 2026 02:41PM UTC 37
97.09
GitHub Action Run
32 run-ubuntu-latest-3.14-functions - 40708260104.32 28 Oct 2026 02:40PM UTC 18
97.1
GitHub Action Run
33 run-ubuntu-latest-3.10-storage - 40708260104.33 28 Oct 2026 02:42PM UTC 36
93.54
GitHub Action Run
34 run-ubuntu-latest-3.9-storage - 40708260104.34 28 Oct 2026 02:42PM UTC 36
93.61
GitHub Action Run
35 run-ubuntu-latest-3.11-postgrest - 40708260104.35 28 Oct 2026 02:41PM UTC 37
97.09
GitHub Action Run
36 run-ubuntu-latest-3.11-functions - 40708260104.36 28 Oct 2026 02:40PM UTC 18
97.1
GitHub Action Run
Source Files on build 40708260104
  • Tree
  • List 154
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40708260104
  • 79d14d9c on github
  • Prev Build on main (#40703000941)
  • Next Build on main (#40710277187)
  • 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