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

supabase / supabase-flutter / 35886870210
94%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2026 04:14PM UTC
Jobs 11
Files 171
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

23 Sep 2026 04:10PM UTC coverage: 90.88% (+0.2%) from 90.645%
35886870210

push

github

web-flow
feat(supabase): warn when trace propagation attaches no headers (#1872)

## What

Every failure mode of trace propagation was silent, so a misconfigured
setup looked exactly like a working one until someone went looking in
the Supabase logs.

Two warnings, each logged once per client through `clientLogger`:

- propagation enabled with no `traceContextProvider`
- the provider returned a `traceparent` that is not well-formed

A value shaped like a `sentry-trace` header, three parts rather than
four, names `formatAsW3CHeader` in the warning, the way supabase-js
names `propagateTraceparent` when it sees a Sentry propagator.

A malformed `traceparent` is now **dropped** rather than sent. It
correlates with nothing on the server, so forwarding it only hid the
mistake. This is a deliberate divergence from supabase-js, which
forwards: there the header comes from the OpenTelemetry API and is
well-formed by construction, whereas here it comes from application
code.

## Scope

No public API change. `isSampledTraceparent` now assumes a validated
header, since the caller checks first.

---

Part 3 of a stack of 3, based on #1871:

1. #1870, sampling
2. #1871, `TraceContext` constructors
3. **This PR**, diagnostics

https://linear.app/supabase/issue/SDK-1937

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

* **Bug Fixes**
* Malformed trace headers are omitted from outgoing requests instead of
being propagated, and a warning is logged when one is encountered. Valid
headers from future traceparent versions continue to be supported.
* A warning is logged when trace propagation is enabled without a trace
context provider.
* **Documentation**
* Clarified that malformed trace headers are dropped with a warning
rather than propagated.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

15 of 15 new or added lines in 1 file covered. (100.0%)

34 existing lines in 3 files now uncovered.

8669 of 9539 relevant lines covered (90.88%)

4.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
29
90.11
-0.9% packages/supabase_typegen/lib/src/dart_generator.dart
4
83.33
0.0% packages/postgrest/lib/src/postgrest_typed_builder.dart
1
99.46
0.01% packages/supabase_typegen/lib/src/generator_metadata_parser.dart
Jobs
ID Job ID Ran Files Coverage
3 postgrest - 35886870210.3 23 Sep 2026 04:16PM UTC 28
93.44
GitHub Action Run
4 iceberg - 35886870210.4 23 Sep 2026 04:14PM UTC 6
68.52
GitHub Action Run
5 supabase_flutter - 35886870210.5 23 Sep 2026 04:14PM UTC 14
78.5
GitHub Action Run
6 supabase_typegen - 35886870210.6 23 Sep 2026 04:16PM UTC 24
94.54
GitHub Action Run
7 supabase_auth - 35886870210.7 23 Sep 2026 04:18PM UTC 32
92.0
GitHub Action Run
8 supabase - 35886870210.8 23 Sep 2026 04:18PM UTC 18
93.74
GitHub Action Run
9 supabase_functions - 35886870210.9 23 Sep 2026 04:14PM UTC 4
93.81
GitHub Action Run
10 supabase_storage - 35886870210.10 23 Sep 2026 04:16PM UTC 9
97.61
GitHub Action Run
11 supabase_realtime - 35886870210.11 23 Sep 2026 04:16PM UTC 13
90.66
GitHub Action Run
3 supabase_common - 35624013119.3 21 Sep 2026 04:13PM UTC 22
87.36
GitHub Action Run
2 yet_another_json_isolate - 35608843571.2 21 Sep 2026 01:58PM UTC 1
98.44
GitHub Action Run
Source Files on build 35886870210
  • Tree
  • List 171
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35886870210
  • 05ea0d97 on github
  • Prev Build on main (#35886756171)
  • Next Build on main (#35887726666)
  • 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