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

supabase / supabase-flutter / 35617196415
94%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 03:14PM UTC
Jobs 11
Files 161
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

21 Sep 2026 03:10PM UTC coverage: 90.698%. Remained the same
35617196415

push

github

web-flow
fix(supabase_typegen): look up the configuration from an explicit directory (#1867)

Fixes the flakiness of
`packages/supabase_typegen/test/introspection/parity_test.dart`.

## Problem

`Dart supabase_typegen (stable)` failed on #1857 with:

```
❌ test/introspection/parity_test.dart: --dump-metadata writes a document with the fixture records
Expected: <0>
  Actual: <255>
Could not find file `bin/supabase_typegen.dart`
```

That branch was byte-identical to `main` under
`packages/supabase_typegen` and the same job is green on `main`, so it
was a race rather than a regression.

`defaultSchemas` resolved the nearest `supabase/config.toml` starting
from `Directory.current`, so the two tests covering that lookup had to
set `Directory.current` to a temporary directory and restore it in
`addTearDown`. `Directory.current` is process-wide while `dart test`
runs each test file in its own isolate of the same process.
`parity_test.dart` launches the binary with
`Process.run(Platform.resolvedExecutable, ['run',
'bin/supabase_typegen.dart', ...])`, a path relative to the current
directory, so whenever the two files overlapped that relative path
resolved inside the temporary directory and the run exited 255.

## Change

`defaultSchemas` takes a `startDirectory`, defaulting to
`Directory.current`, and the two tests pass their temporary directory in
instead of moving the process into it. No test in the package mutates
`Directory.current` any more, so the shared state that caused the race
is gone rather than worked around at the call site in
`parity_test.dart`.

The `SUPABASE_WORKDIR` test is renamed to say it wins over the start
directory, which is what it now asserts.

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

8064 of 8891 relevant lines covered (90.7%)

4.7 hits per line

Jobs
ID Job ID Ran Files Coverage
11 supabase_typegen - 35617196415.11 21 Sep 2026 03:14PM UTC 22
95.33
GitHub Action Run
10 supabase_auth - 35615044899.10 21 Sep 2026 02:58PM UTC 32
92.0
GitHub Action Run
4 supabase_realtime - 35615044899.4 21 Sep 2026 02:57PM UTC 13
90.66
GitHub Action Run
9 postgrest - 35615044899.9 21 Sep 2026 02:57PM UTC 22
92.93
GitHub Action Run
8 supabase_common - 35608843571.8 21 Sep 2026 01:58PM 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
3 supabase - 35608843571.3 21 Sep 2026 02:01PM UTC 16
93.66
GitHub Action Run
8 iceberg - 35615044899.8 21 Sep 2026 02:54PM UTC 6
68.52
GitHub Action Run
11 supabase_functions - 35615044899.11 21 Sep 2026 02:54PM UTC 4
93.81
GitHub Action Run
5 supabase_storage - 35615044899.5 21 Sep 2026 02:57PM UTC 9
97.61
GitHub Action Run
6 supabase_flutter - 35615044899.6 21 Sep 2026 02:54PM UTC 14
77.87
GitHub Action Run
Source Files on build 35617196415
  • Tree
  • List 161
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35617196415
  • d0cee6c0 on github
  • Prev Build on main (#35615044899)
  • Next Build on main (#35619791585)
  • 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