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

supabase / supabase-flutter / 37446858483
92%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 10:02AM UTC
Jobs 11
Files 173
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

06 Oct 2026 10:00AM UTC coverage: 91.452% (+0.005%) from 91.447%
37446858483

push

github

web-flow
refactor: define shared HTTP header names in supabase_common (#1917)

Header names were written as string literals throughout the packages,
and the same header was sometimes spelled with different casing
(`Content-Type` and `content-type`). This adds an `HttpHeader` class to
`supabase_common` with constants for the headers more than one package
uses, and replaces the literals in `lib/` with them.

The constants are:

- `apikey`
- `Accept`
- `Accept-Profile`
- `Authorization`
- `Content-Profile`
- `Content-Type`
- `Prefer`
- `X-Client-Info`

What stays as it was:

- Headers only one package uses, such as `x-upsert`,
`X-Iceberg-Access-Delegation` and `x-region`.
- Tests and `supabase_test`, which keep literal strings so a typo in a
constant still fails a test.
- The lowercase credential lists in `redaction.dart` and
`trace_http_client.dart`, which are lowercase on purpose because they
are compared case insensitively.
- Realtime's `apikey` query parameter, which is not a header.

`HttpHeader` is not marked `@internal`, because the other packages
import it. Like the rest of `supabase_common`, it is excluded from the
compliance scan through `.sdk-parse-ignore`. No package re-exports it.

This does not change behavior. Every header is sent with the same name
as before. `mediaType` now looks up `Content-Type` instead of
`content-type`, and that lookup ignores case.

Resolves SDK-2138


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Developer Improvements**
* Added reusable constants for common HTTP header names, available
through the shared utilities package.
* Updated database, authentication, functions, realtime, and storage
requests to use these shared header definitions.
* **Behavior**
* Existing header values, request conditions, and behavior remain
unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

54 of 54 new or added lines in 21 files covered. (100.0%)

9276 of 10143 relevant lines covered (91.45%)

5.13 hits per line

Jobs
ID Job ID Ran Files Coverage
3 supabase_functions - 37446858483.3 06 Oct 2026 10:02AM UTC 4
96.04
GitHub Action Run
4 supabase_storage - 37446858483.4 06 Oct 2026 10:04AM UTC 9
98.1
GitHub Action Run
5 supabase_flutter - 37446858483.5 06 Oct 2026 10:02AM UTC 15
81.0
GitHub Action Run
6 supabase_common - 37446858483.6 06 Oct 2026 10:02AM UTC 22
87.55
GitHub Action Run
7 supabase_auth - 37446858483.7 06 Oct 2026 10:06AM UTC 32
92.07
GitHub Action Run
8 postgrest - 37446858483.8 06 Oct 2026 10:05AM UTC 29
93.41
GitHub Action Run
9 supabase_typegen - 37446858483.9 06 Oct 2026 10:04AM UTC 24
96.22
GitHub Action Run
10 supabase_realtime - 37446858483.10 06 Oct 2026 10:04AM UTC 13
90.67
GitHub Action Run
11 iceberg - 37446858483.11 06 Oct 2026 10:02AM UTC 6
68.57
GitHub Action Run
5 supabase - 37325589602.5 05 Oct 2026 02:37PM UTC 18
94.26
GitHub Action Run
6 yet_another_json_isolate - 36864123641.6 01 Oct 2026 12:48PM UTC 1
98.44
GitHub Action Run
Source Files on build 37446858483
  • Tree
  • List 173
  • Changed 18
  • Source Changed 18
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37446858483
  • 625d7c7c on github
  • Prev Build on main (#37326960775)
  • Next Build on main (#37461520337)
  • 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