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

supabase / supabase-flutter / 42052222535
94%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2026 03:11PM UTC
Jobs 12
Files 194
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

05 Nov 2026 03:10PM UTC coverage: 94.192% (+0.003%) from 94.189%
42052222535

push

github

web-flow
fix(typegen): key view columns into hidden-schema tables deterministically (#2130)

## What

`typegen` 0.3.2 bundles `@supabase/postgrest-typegen` 0.7.0, which keeps
the relationships of views
over tables of schemas that are not generated (supabase/sdk#327) and
follows views through
`db-extra-search-path` (supabase/sdk#329). This PR checks
`supabase_typegen` against that document
and adds coverage for the case, which the fixture could not express
before.

The generated code needed no change. The new relationships already turn
into embed members, and
`_relationships` already drops the ones into the hidden schema.

## Changes

- **Column foreign keys.** `_foreignKeysByColumn` told tables from views
by the tables of the
document. A key into a table of a hidden schema (`public.review_replies
-> restricted.reviews`)
therefore counted as a key into a view, and the column took whichever
came first in document
order: the hidden table when its schema sorts before `public`, the
`public` view otherwise. A target
the document does not list now ranks after its tables and ahead of its
views, so the column keys
into the real table whatever the schema is called, and a listed table
still wins over anything
  unlisted. That matches the behavior #1861 pinned for keys into other
schemas. The generator does not read `ColumnDescription.foreignKey`, so
no generated code changes.
- **Fixture.** `seed.sql` adds a `restricted` schema behind
`public.reviews`, `public.review_replies`
and `public.loans`, with `public.loans` reaching its table through
`extra.loans`.
`regenerate_fixture.ts` now introspects with `includedSchemas:
["public", "inventory"]` and
`extraSearchPath: ["extra"]`, as the CLI does, and the fixture is
regenerated on a fresh
`postgres:15` with `postgrest-typegen/v0.7.0`. The additions come after
the existing objects, so
  the existing part of the fixture is byte-identical.
- **Goldens.** The new views and their relations (`Books.reviews`,
`Reviews.reviewReplies`... (continued)

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

12683 of 13465 relevant lines covered (94.19%)

6.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 supabase - 42052222535.1 05 Nov 2026 03:14PM UTC 21
94.52
GitHub Action Run
2 postgrest - 42052222535.2 05 Nov 2026 03:14PM UTC 30
92.88
GitHub Action Run
3 supabase_auth - 42052222535.3 05 Nov 2026 03:15PM UTC 34
94.3
GitHub Action Run
4 supabase_functions - 42052222535.4 05 Nov 2026 03:11PM UTC 4
94.15
GitHub Action Run
5 supabase_test - 42052222535.5 05 Nov 2026 03:12PM UTC 9
93.73
GitHub Action Run
6 supabase_flutter - 42052222535.6 05 Nov 2026 03:12PM UTC 16
89.08
GitHub Action Run
7 supabase_typegen - 42052222535.7 05 Nov 2026 03:13PM UTC 6
94.47
GitHub Action Run
8 iceberg - 42052222535.8 05 Nov 2026 03:11PM UTC 7
99.72
GitHub Action Run
9 yet_another_json_isolate - 42052222535.9 05 Nov 2026 03:11PM UTC 2
98.65
GitHub Action Run
10 supabase_storage - 42052222535.10 05 Nov 2026 03:13PM UTC 13
95.96
GitHub Action Run
11 supabase_common - 42052222535.11 05 Nov 2026 03:11PM UTC 37
94.39
GitHub Action Run
12 supabase_realtime - 42052222535.12 05 Nov 2026 03:14PM UTC 15
92.36
GitHub Action Run
Source Files on build 42052222535
  • Tree
  • List 194
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42052222535
  • c5953f73 on github
  • Prev Build on main (#42011020492)
  • Next Build on main (#42210984539)
  • 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