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

supabase / supabase-flutter / 35886756171
94%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2026 04:10PM UTC
Jobs 11
Files 168
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:09PM UTC coverage: 90.645%. Remained the same
35886756171

push

github

web-flow
feat(typegen)!: map date, time and interval columns to PostgrestDate, PostgrestTime and PostgrestInterval (#1875)

## Summary

`supabase_typegen` mapped `date` columns to `DateTime` and left `time`,
`timetz` and `interval` as `String`. None of the three has a Dart core
type that holds what Postgres stores: a `DateTime` attaches a fake
midnight to a calendar date and compares wrong against UTC values, and a
`Duration` cannot hold an interval because Postgres keeps months, days
and microseconds apart (`date '2024-01-31' + interval '1 month'` is
February 29, `+ interval '30 days'` is March 1). Following the precedent
of `PostgrestRange`, this adds value types to `postgrest` and maps the
columns to them.

Fixes https://linear.app/supabase/issue/SDK-1951

## Changes

- **postgrest**: `PostgrestDate` (year, month, day; BC dates; `infinity`
and `-infinity`; `toDateTime()`; comparable), `PostgrestTime` (hour to
microsecond with an optional UTC offset so `timetz` fits in the same
type, including the `24:00:00` end of day; ordered by UTC instant like
Postgres orders `timetz`) and `PostgrestInterval` (months, days and
microseconds; parses the `postgres`, `postgres_verbose`, `sql_standard`
and `iso_8601` output styles; renders the `postgres` style byte for
byte; `toDuration()` approximates with the 365.25 days per year and 30
days per month that `extract(epoch from …)` uses). Each has `parse`,
`literal`, `toString`, `==`, `hashCode` and a `compareTo` with the
ordering Postgres applies (`timetz` by UTC instant then offset,
intervals with 30 days to a month), and the filter renderer renders them
as their literal, so they work as operands and as range bounds.
- **postgrest**: `PostgrestRange.parse` hands an `infinity` bound to the
bound parser and keeps it when the bound type has a value for it, so
`PostgrestDate.infinity` round trips through a `daterange`; `DateTime`
and `int` bounds stay unbounded as before.
- **supabase_typegen**: `ColumnTypeKind.time` for `time`... (continued)

25 of 29 new or added lines in 3 files covered. (86.21%)

25 existing lines in 3 files now uncovered.

8352 of 9214 relevant lines covered (90.64%)

4.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
91.01
0.0% packages/supabase_typegen/lib/src/dart_generator.dart

Coverage Regressions

Lines Coverage ∆ File
20
91.01
0.0% packages/supabase_typegen/lib/src/dart_generator.dart
4
83.33
0.0% packages/postgrest/lib/src/postgrest_typed_builder.dart
1
99.45
0.0% packages/supabase_typegen/lib/src/generator_metadata_parser.dart
Jobs
ID Job ID Ran Files Coverage
10 iceberg - 35886756171.10 23 Sep 2026 04:10PM UTC 6
68.52
GitHub Action Run
11 supabase_functions - 35886756171.11 23 Sep 2026 04:10PM UTC 4
93.81
GitHub Action Run
6 postgrest - 35877565309.6 23 Sep 2026 02:59PM UTC 25
92.17
GitHub Action Run
7 supabase_auth - 35877565309.7 23 Sep 2026 03:00PM UTC 32
92.0
GitHub Action Run
2 yet_another_json_isolate - 35608843571.2 21 Sep 2026 01:58PM UTC 1
98.44
GitHub Action Run
3 supabase_common - 35624013119.3 21 Sep 2026 04:13PM UTC 22
87.36
GitHub Action Run
8 supabase - 35877565309.8 23 Sep 2026 02:59PM UTC 18
93.61
GitHub Action Run
4 supabase_storage - 35877565309.4 23 Sep 2026 02:58PM UTC 9
97.61
GitHub Action Run
11 supabase_realtime - 35877565309.11 23 Sep 2026 02:59PM UTC 13
90.66
GitHub Action Run
10 supabase_typegen - 35877565309.10 23 Sep 2026 02:58PM UTC 24
94.96
GitHub Action Run
5 supabase_flutter - 35877565309.5 23 Sep 2026 02:57PM UTC 14
78.5
GitHub Action Run
Source Files on build 35886756171
  • Tree
  • List 168
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35886756171
  • 443190b2 on github
  • Prev Build on main (#35877565309)
  • Next Build on main (#35886870210)
  • 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